Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/bq24257_charger.c bq24257_handle_state_change() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->iilimit_autoset_enable | 1 |
| PARAM_VALUE | 0 | bq->iilimit_setup_work.work.lockdep_map->name | 0-255 |
| 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 | 0 | bq->pg | 0,4096-u64max |
| PARAM_VALUE | 1 | field_id | 16 |
| PARAM_VALUE | 2 | val | 1 |
| CAPPED_DATA | 0 | &bq->lock | 1 |
| DATA_SOURCE | 0 | bq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/power/supply/bq24257_charger.c bq24257_handle_state_change() -> bq24257_field_write()
| 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 | 0 | bq->pg | 0,4096-u64max |
| PARAM_VALUE | 1 | field_id | 5 |
| CAPPED_DATA | 0 | &bq->lock | 1 |
| DATA_SOURCE | 0 | bq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/power/supply/bq24257_charger.c bq24257_hw_init() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->rmap | 0-ptr_max |
| PARAM_VALUE | 1 | field_id | 1 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-2),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_hw_init() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->rmap | 0-ptr_max |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-2),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_hw_init() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->iilimit_autoset_enable | 0 |
| 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 | 0 | bq->pg | 0,4096-u64max |
| PARAM_VALUE | 0 | bq->rmap | 0-ptr_max |
| PARAM_VALUE | 1 | field_id | 5 |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq->dev | (-1),1616 |
| CAPPED_DATA | 0 | &bq->lock | 1 |
| 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_hw_init() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->iilimit_autoset_enable | 1 |
| 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 | 0 | bq->pg | 0,4096-u64max |
| PARAM_VALUE | 0 | bq->rmap | 0-ptr_max |
| PARAM_VALUE | 1 | field_id | 16 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq->dev | (-1),1616 |
| CAPPED_DATA | 0 | &bq->lock | 1 |
| 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_write()
| 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_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 1 | field_id | 20 |
| PARAM_VALUE | 2 | val | 1 |
| 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_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 1 | field_id | 25 |
| PARAM_VALUE | 2 | val | 1 |
| 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_probe() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->client | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | bq->client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->info | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->init_data.ichg | 0-30 |
| PARAM_VALUE | 0 | bq->init_data.iilimit | 0-5 |
| PARAM_VALUE | 0 | bq->init_data.iterm | 0-7 |
| PARAM_VALUE | 0 | bq->init_data.vbat | 0-47 |
| PARAM_VALUE | 0 | bq->init_data.vindpm | 0-7 |
| PARAM_VALUE | 0 | bq->init_data.vovp | 0-7 |
| PARAM_VALUE | 0 | bq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bq->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | bq->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | bq->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | bq->pg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bq->rmap | 0-ptr_max |
| PARAM_VALUE | 1 | field_id | 4 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | bq | 632 |
| BUF_SIZE | 0 | bq->dev | 1616 |
| CAPPED_DATA | 0 | bq->client->irq | 1 |
| DATA_SOURCE | 0 | bq | r devm_kzalloc |
| MEM_ZERO | 0 | bq | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bq->client->irq |
drivers/power/supply/bq24257_charger.c bq24257_probe() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->client | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | bq->client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->info | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->init_data.ichg | 0-30 |
| PARAM_VALUE | 0 | bq->init_data.iilimit | 0-5 |
| PARAM_VALUE | 0 | bq->init_data.iterm | 0-7 |
| PARAM_VALUE | 0 | bq->init_data.vbat | 0-47 |
| PARAM_VALUE | 0 | bq->init_data.vindpm | 0-7 |
| PARAM_VALUE | 0 | bq->init_data.vovp | 0-7 |
| PARAM_VALUE | 0 | bq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bq->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | bq->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | bq->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | bq->pg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bq->rmap | 0-ptr_max |
| PARAM_VALUE | 1 | field_id | 4 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | bq | 632 |
| BUF_SIZE | 0 | bq->dev | 1616 |
| CAPPED_DATA | 0 | bq->client->irq | 1 |
| DATA_SOURCE | 0 | bq | r devm_kzalloc |
| MEM_ZERO | 0 | bq | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bq->client->irq |
drivers/power/supply/bq24257_charger.c bq24257_remove() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | field_id | 4 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bq | unit_byte |
| HALF_LOCKED2 | &dev->mutex |
drivers/power/supply/bq24257_charger.c bq24257_resume() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 0 | bq->rmap | 4096-ptr_max |
| PARAM_VALUE | 1 | field_id | 4 |
| PARAM_VALUE | 2 | val | 0 |
| 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 |
drivers/power/supply/bq24257_charger.c bq24257_set_input_current_limit() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 1 | field_id | 5 |
| PARAM_VALUE | 2 | val | 0-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 |
| HALF_LOCKED2 | _T->lock |
drivers/power/supply/bq24257_charger.c bq24257_suspend() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bq | 4096-ptr_max |
| PARAM_VALUE | 1 | field_id | 4 |
| PARAM_VALUE | 2 | val | 1 |
| 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 |
drivers/power/supply/bq24257_charger.c bq24257_sysfs_set_enable() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | field_id | 9 |
| PARAM_VALUE | 2 | val | 0-1 |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-1 |
| 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_set_enable() -> bq24257_field_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | field_id | 21 |
| PARAM_VALUE | 2 | val | 0-1 |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bq | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-1 |
| UNITS | 0 | bq | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |