Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/power/supply/charger-manager.c charger_get_property() -> is_charging()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm | 4096-ptr_max |
| PARAM_VALUE | 0 | cm->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | cm->desc->battery_present | 0,2-3 |
| 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_charging()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm | 4096-ptr_max |
| PARAM_VALUE | 0 | cm->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | cm->desc->battery_present | 0,2-3 |
| PARAM_VALUE | 0 | cm->desc->fullbatt_uV | 1-u32max |
| BUF_SIZE | 0 | cm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cm | s32min-(-2),1-s32max |
| FUZZY_MAX | 0 | cm->desc->fullbatt_uV | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cm | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/charger-manager.c cm_need_to_awake() -> is_charging()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cm_list_mtx | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/power/supply/charger-manager.c is_polling_required() -> is_charging()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm | 4096-ptr_max |
| PARAM_VALUE | 0 | cm->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | cm->desc->polling_mode | 3 |
| DATA_SOURCE | 0 | cm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cm_list_mtx |