Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/qcom_battmgr.c qcom_battmgr_bat_sm8350_update() -> qcom_battmgr_request_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | battmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | battmgr->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | battmgr->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | battmgr->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | battmgr->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | battmgr->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | battmgr->service_up | 1 |
| PARAM_VALUE | 0 | battmgr->variant | 1-2,4-u32max |
| PARAM_VALUE | 1 | opcode | 48 |
| PARAM_VALUE | 2 | property | 0-9,12-22,25-26 |
| PARAM_VALUE | 3 | value | 0 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &battmgr->lock | 1 |
| DATA_SOURCE | 0 | battmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | battmgr | unit_byte |
| LOCK2 | 0 | &battmgr->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct qcom_battmgr)->lock |
drivers/power/supply/qcom_battmgr.c qcom_battmgr_usb_sm8350_update() -> qcom_battmgr_request_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | battmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | battmgr->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | battmgr->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | battmgr->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | battmgr->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | battmgr->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | battmgr->service_up | 1 |
| PARAM_VALUE | 0 | battmgr->variant | 1-2,4-u32max |
| PARAM_VALUE | 1 | opcode | 50 |
| PARAM_VALUE | 2 | property | 0-6 |
| PARAM_VALUE | 3 | value | 0 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &battmgr->lock | 1 |
| DATA_SOURCE | 0 | battmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | battmgr | unit_byte |
| LOCK2 | 0 | &battmgr->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct qcom_battmgr)->lock |
drivers/power/supply/qcom_battmgr.c qcom_battmgr_wls_sm8350_update() -> qcom_battmgr_request_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | battmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | battmgr->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | battmgr->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | battmgr->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | battmgr->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | battmgr->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | battmgr->service_up | 1 |
| PARAM_VALUE | 0 | battmgr->variant | 1-2,4-u32max |
| PARAM_VALUE | 1 | opcode | 52 |
| PARAM_VALUE | 2 | property | 0-4 |
| PARAM_VALUE | 3 | value | 0 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &battmgr->lock | 1 |
| DATA_SOURCE | 0 | battmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | battmgr | unit_byte |
| LOCK2 | 0 | &battmgr->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct qcom_battmgr)->lock |