Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/da9150-fg.c da9150_fg_irq() -> da9150_fg_write_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fg | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->da9150 | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->da9150->core_qif | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | code | 126 |
| PARAM_VALUE | 2 | size | 2 |
| DATA_SOURCE | 0 | fg | $1 |
| DATA_SOURCE | 3 | val | r da9150_fg_read_attr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/supply/da9150-fg.c da9150_fg_read_sync_start() -> da9150_fg_write_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fg | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->battery->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | fg->da9150 | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->da9150->core_qif | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->io_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->io_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fg->io_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fg->io_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fg->io_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->io_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fg->io_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | code | 127 |
| PARAM_VALUE | 2 | size | 2 |
| PARAM_VALUE | 3 | val | 0 |
| BUF_SIZE | 0 | fg | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fg | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fg->da9150 | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fg->dev | (-1),1616 |
| CAPPED_DATA | 0 | &fg->io_lock | 1 |
| DATA_SOURCE | 0 | fg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fg->battery->desc->num_properties | |
| UNITS | 0 | fg | unit_byte |
| LOCK2 | 0 | &fg->io_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct da9150_fg)->io_lock |
drivers/power/supply/da9150-fg.c da9150_fg_write_attr_sync() -> da9150_fg_write_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fg | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->battery->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | fg->da9150 | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->da9150->core_qif | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | fg->da9150->core_qif->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fg->io_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->io_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fg->io_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fg->io_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fg->io_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->io_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | fg->io_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | fg->io_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | fg->io_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | fg->io_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fg->io_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fg->io_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fg->io_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | code | 44-45 |
| PARAM_VALUE | 2 | size | 2 |
| BUF_SIZE | 0 | fg | (-1),376 |
| BUF_SIZE | 0 | fg | (-1),376 |
| BUF_SIZE | 0 | fg->battery | (-1),2248 |
| BUF_SIZE | 0 | fg->da9150 | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fg->dev | (-1),1616 |
| CAPPED_DATA | 0 | &fg->io_lock | 1 |
| DATA_SOURCE | 0 | fg | $0 |
| DATA_SOURCE | 1 | code | $1 |
| DATA_SOURCE | 2 | size | $2 |
| DATA_SOURCE | 3 | val | $3 |
| HARD_MAX | 1 | code | 45 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fg->battery->battery_info->resist_table_size | |
| NO_OVERFLOW_SIMPLE | 0 | fg->battery->desc->num_properties | |
| LOCK2 | 0 | &fg->io_lock | |
| TYPE_LOCK | (struct da9150_fg)->io_lock |