Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/qcom_battmgr.c qcom_battmgr_enable_worker() -> qcom_battmgr_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | battmgr | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 9065564959594631168 |
| PARAM_VALUE | 2 | len | 28 |
| BUF_SIZE | 1 | data | 28 |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/qcom_battmgr.c qcom_battmgr_request_property() -> qcom_battmgr_request()
| 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 | data | 1285552010107375616 |
| PARAM_VALUE | 2 | len | 24 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | data | 24 |
| DATA_SOURCE | 0 | battmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | battmgr | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &battmgr->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct qcom_battmgr)->lock |
drivers/power/supply/qcom_battmgr.c qcom_battmgr_set_charge_control() -> qcom_battmgr_request()
| 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 | 1 | data | 5499219177647906816 |
| PARAM_VALUE | 2 | len | 24 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | data | 24 |
| DATA_SOURCE | 0 | battmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | battmgr | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &battmgr->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct qcom_battmgr)->lock |
drivers/power/supply/qcom_battmgr.c qcom_battmgr_update_charge_time() -> qcom_battmgr_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | battmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->ack.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | battmgr->ack.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | battmgr->ack.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | battmgr->ack.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | battmgr->ack.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->ack.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->client | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->client->pg->ept->ops->send | 0,8,2532391187004870656,8101734627506692096,8243632285336358912 |
| PARAM_VALUE | 0 | battmgr->error | 0 |
| PARAM_VALUE | 0 | battmgr->info.valid | 1 |
| 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 | 1 | data | 1714159821236133888 |
| PARAM_VALUE | 2 | len | 24 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | data | 24 |
| DATA_SOURCE | 0 | battmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | battmgr | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &battmgr->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct qcom_battmgr)->lock |
drivers/power/supply/qcom_battmgr.c qcom_battmgr_update_discharge_time() -> qcom_battmgr_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | battmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->ack.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | battmgr->ack.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | battmgr->ack.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | battmgr->ack.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | battmgr->ack.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->ack.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->client | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->client->pg->ept->ops->send | 0,8,2532391187004870656,8101734627506692096,8243632285336358912 |
| PARAM_VALUE | 0 | battmgr->error | 0 |
| PARAM_VALUE | 0 | battmgr->info.valid | 1 |
| 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 | 1 | data | 5940656404522061824 |
| PARAM_VALUE | 2 | len | 24 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | data | 24 |
| DATA_SOURCE | 0 | battmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | battmgr | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &battmgr->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct qcom_battmgr)->lock |
drivers/power/supply/qcom_battmgr.c qcom_battmgr_update_info() -> qcom_battmgr_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | battmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->info.valid | 0 |
| 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 | 1 | data | 1055022884374917120 |
| PARAM_VALUE | 2 | len | 16 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | data | 16 |
| DATA_SOURCE | 0 | battmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | battmgr | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &battmgr->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct qcom_battmgr)->lock |
drivers/power/supply/qcom_battmgr.c qcom_battmgr_update_status() -> qcom_battmgr_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | battmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | battmgr->info.valid | 1 |
| 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 | 1 | data | 273099875393294336 |
| PARAM_VALUE | 2 | len | 16 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | data | 16 |
| DATA_SOURCE | 0 | battmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | battmgr | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &battmgr->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct qcom_battmgr)->lock |