Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/generic-adc-battery.c gab_ext_power_changed() -> to_generic_bat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psy | 4096-ptr_max |
| DATA_SOURCE | 0 | psy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | global &device_links_lock | ||
| HALF_LOCKED2 | global ®ulator_list_mutex |
drivers/power/supply/generic-adc-battery.c gab_get_property() -> to_generic_bat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psy | 4096-ptr_max |
| BUF_SIZE | 0 | psy | (-1),8,16,24,32,39-40,48,96,104,112,120-30600 |
| BUF_SIZE | 0 | psy | (-1),8,16,24,32,39-40,48,96,104,112,120-30600 |
| DATA_SOURCE | 0 | psy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |