Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/qcom_battmgr.c qcom_battmgr_set_charge_end_threshold() -> qcom_battmgr_set_charge_control()
| 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 | target_soc | 55-100 |
| PARAM_VALUE | 2 | delta_soc | 1-99 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | battmgr->info.charge_ctrl_start | 1 |
| CAPPED_DATA | 0 | &battmgr->lock | 1 |
| CAPPED_DATA | 1 | target_soc | 1 |
| DATA_SOURCE | 0 | battmgr | $0 |
| DATA_SOURCE | 1 | target_soc | $1 [m] |
| FUZZY_MAX | 2 | delta_soc | 5 |
| PARAM_COMPARE | 1 | target_soc | != $2 |
| PARAM_COMPARE | 2 | delta_soc | != $1 |
| NOSPEC | 1 | target_soc | |
| NOSPEC | 1 | target_soc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | target_soc | 56-99[c] |
| USER_DATA | 2 | delta_soc | 1-98 |
| NO_OVERFLOW_SIMPLE | 1 | target_soc | |
| UNITS | 0 | battmgr | 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_start_threshold() -> qcom_battmgr_set_charge_control()
| 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 | target_soc | 50-u32max |
| PARAM_VALUE | 2 | delta_soc | 1-2147483597 |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | battmgr | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | battmgr->info.charge_ctrl_end | 1 |
| CAPPED_DATA | 0 | &battmgr->lock | 1 |
| CAPPED_DATA | 1 | target_soc | 1 |
| CAPPED_DATA | 2 | delta_soc | 1 |
| DATA_SOURCE | 0 | battmgr | $0 |
| NOSPEC | 1 | target_soc | |
| NOSPEC | 1 | target_soc | |
| NOSPEC | 2 | delta_soc | |
| NOSPEC | 2 | delta_soc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | target_soc | 56-99[c] |
| USER_DATA | 2 | delta_soc | 1-2147483595[c] |
| UNITS | 0 | battmgr | unit_byte |
| LOCK2 | 0 | &battmgr->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct qcom_battmgr)->lock |