Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/power/supply/da9052-battery.c da9052_bat_read_volt() -> da9052_adc_manual_read()

Type Parameter Key Value
PARAM_VALUE 0 da9052 4096-ptr_max
PARAM_VALUE 0 da9052->regmap 4096-ptr_max
PARAM_VALUE 0 da9052->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 *da9052->regmap->cache->data 0-4294967295
PARAM_VALUE 1 channel 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 da9052 unit_byte
LOCK2 _T->lock

drivers/hwmon/da9052-hwmon.c da9052_misc_channel_show() -> da9052_adc_manual_read()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 da9052 unit_byte
UNITS 1 channel unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/da9052-hwmon.c da9052_vbat_show() -> da9052_adc_manual_read()

Type Parameter Key Value
PARAM_VALUE 1 channel 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 da9052 unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/da9052-hwmon.c da9052_vbbat_show() -> da9052_adc_manual_read()

Type Parameter Key Value
PARAM_VALUE 1 channel 9
RX_PATH
TASK_NOT_RUNNING
UNITS 0 da9052 unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex