Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/power/supply/power_supply_core.c, line 1633 (as a function)
- include/linux/power_supply.h, line 828 (as a function)
Referenced in 8 files:
- drivers/cpufreq/amd-pstate.c, line 1310
- drivers/phy/allwinner/phy-sun4i-usb.c, line 887
- drivers/phy/ti/phy-tusb1210.c, line 464
- drivers/platform/x86/amd/pmf/core.c, line 393
- drivers/power/supply/bq2415x_charger.c, line 1661
- drivers/power/supply/max77759_charger.c, line 739
- drivers/power/supply/power_supply_core.c, line 1637
- drivers/usb/dwc3/core.c, line 2245
Smatch caller information:
drivers/usb/dwc3/core.c dwc3_get_usb_power_supply() -> power_supply_reg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 4868800780929040384 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/ti/phy-tusb1210.c tusb1210_probe_charger_detect() -> power_supply_reg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 8708702740361256960 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/phy/allwinner/phy-sun4i-usb.c sun4i_usb_phy_probe() -> power_supply_reg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 2328055306653388800 |
| PARAM_VALUE | 0 | nb->priority | 0 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/amd-pstate.c amd_pstate_set_dynamic_epp() -> power_supply_reg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 5251028076106928128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/power/supply/max77759_charger.c max77759_charger_probe() -> power_supply_reg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 2288531976968900608 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/amd/pmf/core.c amd_pmf_init_features() -> power_supply_reg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 3777945482235314176 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/supply/bq2415x_charger.c bq2415x_probe() -> power_supply_reg_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 1106271901046423552 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |