Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/surface_battery.c spwr_battery_update_bix_unlocked() -> spwr_battery_load_bst()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat | 4096-ptr_max |
| PARAM_VALUE | 0 | bat->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bat->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bat->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bat->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | bat->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | bat->sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bat->sdev->ctrl->counter.rqid.value | 0-u16max |
| PARAM_VALUE | 0 | bat->sdev->ctrl->counter.seq.value | 0-255 |
| BUF_SIZE | 0 | bat | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bat | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | bat | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &bat->lock | |
| TYPE_LOCK | (struct spwr_battery_device)->lock |
drivers/power/supply/surface_battery.c spwr_battery_update_bst_unlocked() -> spwr_battery_load_bst()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat | 4096-ptr_max |
| PARAM_VALUE | 0 | bat->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bat->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bat->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bat->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | bat->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | bat->sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bat->sdev->ctrl->counter.rqid.value | 0-u16max |
| PARAM_VALUE | 0 | bat->sdev->ctrl->counter.seq.value | 0-255 |
| BUF_SIZE | 0 | bat | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bat | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | bat | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bat | unit_byte |
| LOCK2 | 0 | &bat->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct spwr_battery_device)->lock |