Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/bq24257_charger.c bq24257_get_chip_state() -> bq24257_field_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | field_id | 2 |
| BUF_SIZE | 0 | bq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bq->dev | (-1),1616 |
| DATA_SOURCE | 0 | bq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bq->client->irq | |
| UNITS | 0 | bq | unit_byte |
drivers/power/supply/bq24257_charger.c bq24257_get_chip_state() -> bq24257_field_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 1 | field_id | 3 |
| BUF_SIZE | 0 | bq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bq->dev | (-1),1616 |
| DATA_SOURCE | 0 | bq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bq->client->irq | |
| UNITS | 0 | bq | unit_byte |
drivers/power/supply/bq24257_charger.c bq24257_get_input_current_limit() -> bq24257_field_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bq->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bq->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bq->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bq->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | bq->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | field_id | 5 |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | bq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bq | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/bq24257_charger.c bq24257_iilimit_autoset() -> bq24257_field_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 1 | field_id | 14 |
| BUF_SIZE | 0 | bq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bq->dev | (-1),1616 |
| DATA_SOURCE | 0 | bq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bq->client->irq | |
| UNITS | 0 | bq | unit_byte |
drivers/power/supply/bq24257_charger.c bq24257_iilimit_autoset() -> bq24257_field_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 1 | field_id | 5 |
| BUF_SIZE | 0 | bq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bq->dev | (-1),1616 |
| DATA_SOURCE | 0 | bq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bq->client->irq | |
| UNITS | 0 | bq | unit_byte |
drivers/power/supply/bq24257_charger.c bq24257_iilimit_autoset() -> bq24257_field_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 1 | field_id | 11 |
| BUF_SIZE | 0 | bq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bq->dev | (-1),1616 |
| DATA_SOURCE | 0 | bq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bq->client->irq | |
| UNITS | 0 | bq | unit_byte |
drivers/power/supply/bq24257_charger.c bq24257_sysfs_show_enable() -> bq24257_field_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | field_id | 9 |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bq | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/power/supply/bq24257_charger.c bq24257_sysfs_show_enable() -> bq24257_field_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | field_id | 21 |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bq | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |