Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/power/supply/power_supply_core.c, line 1639 (as a function)
- include/linux/power_supply.h, line 830 (as a function)
Referenced in 8 files:
- drivers/cpufreq/amd-pstate.c, line 1268
- drivers/phy/allwinner/phy-sun4i-usb.c, line 704
- drivers/phy/ti/phy-tusb1210.c, line 471
- drivers/platform/x86/amd/pmf/core.c, line 423
- drivers/power/supply/bq2415x_charger.c, line 1724
- drivers/power/supply/max77759_charger.c, line 681
- drivers/power/supply/power_supply_core.c, line 1643
- drivers/usb/dwc3/core.c
Smatch caller information:
drivers/usb/dwc3/core.c dwc3_core_remove() -> power_supply_unreg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/usb/dwc3/core.c dwc3_get_usb_power_supply() -> power_supply_unreg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 4868800780929040384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/phy/ti/phy-tusb1210.c tusb1210_remove_charger_detect() -> power_supply_unreg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/phy/allwinner/phy-sun4i-usb.c sun4i_usb_phy_remove() -> power_supply_unreg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/cpufreq/amd-pstate.c amd_pstate_clear_dynamic_epp() -> power_supply_unreg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &policy->rwsem |
drivers/power/supply/max77759_charger.c max_tcpci_unregister_psy_notifier() -> power_supply_unreg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | nb | $0 |
| NOCHECK_CALL |
drivers/platform/x86/amd/pmf/core.c amd_pmf_deinit_features() -> power_supply_unreg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/power/supply/bq2415x_charger.c bq2415x_remove() -> power_supply_unreg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |