Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/da9150-fg.c da9150_fg_current_avg() -> da9150_fg_read_sync_end()

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->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->task->blocked_on 0
PARAM_VALUE 0 fg->io_lock.osq.tail.counter 0-s32max
BUF_SIZE 0 fg s32min-(-2),1-s32max
BUF_SIZE 0 fg s32min-(-2),1-s32max
DATA_SOURCE 0 fg $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 fg unit_byte
LOCK2 _T->lock
LOCK2 0 &fg->io_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct da9150_fg)->io_lock

drivers/power/supply/da9150-fg.c da9150_fg_read_attr_sync() -> da9150_fg_read_sync_end()

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->task->blocked_on 0
PARAM_VALUE 0 fg->io_lock.osq.tail.counter 0-s32max
BUF_SIZE 0 fg s32min-(-1),1-s32max
BUF_SIZE 0 fg s32min-(-1),1-s32max
BUF_SIZE 0 fg->battery (-1),2248
BUF_SIZE 0 fg->da9150 s32min-(-1),1-s32max
BUF_SIZE 0 fg->dev (-1),1616
DATA_SOURCE 0 fg $0
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
UNITS 0 fg unit_byte
LOCK2 0 &fg->io_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct da9150_fg)->io_lock