Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/charger-manager.c charger_get_property() -> is_batt_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm | 4096-ptr_max |
| BUF_SIZE | 0 | cm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cm | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cm | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/charger-manager.c charger_get_property() -> is_batt_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm | 4096-ptr_max |
| BUF_SIZE | 0 | cm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cm | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cm | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/charger-manager.c is_charging() -> is_batt_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cm | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cm | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &cm_list_mtx |
drivers/power/supply/charger-manager.c is_full_charged() -> is_batt_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm | 4096-ptr_max |
| PARAM_VALUE | 0 | cm->battery_status | 1,4 |
| PARAM_VALUE | 0 | cm->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | cm->desc->psy_charger_stat | 4096-ptr_max |
| PARAM_VALUE | 0 | cm->tzd_batt->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cm->tzd_batt->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cm->tzd_batt->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cm->tzd_batt->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cm->tzd_batt->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cm->tzd_batt->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cm->tzd_batt->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | cm->tzd_batt->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cm->tzd_batt->lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | cm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cm | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cm | unit_byte |
| HALF_LOCKED2 | global &cm_list_mtx |