Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/rt9467-charger.c rt9467_do_charger_init() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->adc_lock.dep_map->name 0-255
PARAM_VALUE 0 data->adc_lock.first_waiter 0
PARAM_VALUE 0 data->adc_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->adc_lock.osq.tail.counter 0
PARAM_VALUE 0 data->adc_lock.owner.counter 0
PARAM_VALUE 0 data->aicl_done.done 0
PARAM_VALUE 0 data->aicl_done.wait.lock.magic 3735899821
PARAM_VALUE 0 data->aicl_done.wait.lock.owner (-1)
PARAM_VALUE 0 data->aicl_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 data->aicl_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 data->aicl_done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 data->aicl_done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 data->aicl_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 data->aicl_done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->attach_lock.dep_map->name 0-255
PARAM_VALUE 0 data->attach_lock.first_waiter 0
PARAM_VALUE 0 data->attach_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->attach_lock.osq.tail.counter 0
PARAM_VALUE 0 data->attach_lock.owner.counter 0
PARAM_VALUE 0 data->dev 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 data->ichg_ieoc_lock.dep_map->name 0-255
PARAM_VALUE 0 data->ichg_ieoc_lock.first_waiter 0
PARAM_VALUE 0 data->ichg_ieoc_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->ichg_ieoc_lock.osq.tail.counter 0
PARAM_VALUE 0 data->ichg_ieoc_lock.owner.counter 0
PARAM_VALUE 0 data->regmap 4096-ptr_max
PARAM_VALUE 0 data->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 data->regmap->cache_dirty 1
PARAM_VALUE 0 data->rm_field 0
PARAM_VALUE 0 data->vid 8-9
PARAM_VALUE 0 *data->regmap->cache->data 0-4294967295
PARAM_VALUE 1 field 13
PARAM_VALUE 2 rsel 3
PARAM_VALUE 3 value 4096-ptr_max
BUF_SIZE 0 data 824
BUF_SIZE 0 data->dev 1616
CAPPED_DATA 0 data->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 data->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 data $0
MEM_ZERO 0 data
MEM_ZERO 3 value
RX_PATH
TASK_NOT_RUNNING

drivers/power/supply/rt9467-charger.c rt9467_do_charger_init() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->adc_lock.dep_map->name 0-255
PARAM_VALUE 0 data->adc_lock.first_waiter 0
PARAM_VALUE 0 data->adc_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->adc_lock.osq.tail.counter 0
PARAM_VALUE 0 data->adc_lock.owner.counter 0
PARAM_VALUE 0 data->aicl_done.done 0
PARAM_VALUE 0 data->aicl_done.wait.lock.magic 3735899821
PARAM_VALUE 0 data->aicl_done.wait.lock.owner (-1)
PARAM_VALUE 0 data->aicl_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 data->aicl_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 data->aicl_done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 data->aicl_done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 data->aicl_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 data->aicl_done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->attach_lock.dep_map->name 0-255
PARAM_VALUE 0 data->attach_lock.first_waiter 0
PARAM_VALUE 0 data->attach_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->attach_lock.osq.tail.counter 0
PARAM_VALUE 0 data->attach_lock.owner.counter 0
PARAM_VALUE 0 data->dev 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 data->ichg_ieoc_lock.dep_map->name 0-255
PARAM_VALUE 0 data->ichg_ieoc_lock.first_waiter 0
PARAM_VALUE 0 data->ichg_ieoc_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->ichg_ieoc_lock.osq.tail.counter 0
PARAM_VALUE 0 data->ichg_ieoc_lock.owner.counter 0
PARAM_VALUE 0 data->regmap 4096-ptr_max
PARAM_VALUE 0 data->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 data->regmap->cache_dirty 1
PARAM_VALUE 0 data->rm_field 0
PARAM_VALUE 0 data->vid 8-9
PARAM_VALUE 0 *data->regmap->cache->data 0-4294967295
PARAM_VALUE 1 field 15
PARAM_VALUE 2 rsel 5
PARAM_VALUE 3 value 4096-ptr_max
BUF_SIZE 0 data 824
BUF_SIZE 0 data->dev 1616
CAPPED_DATA 0 data->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 data->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 data $0
MEM_ZERO 0 data
MEM_ZERO 3 value
RX_PATH
TASK_NOT_RUNNING

drivers/power/supply/rt9467-charger.c rt9467_get_adc() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->adc_lock.dep_map->name 0-255
PARAM_VALUE 0 data->adc_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 data->adc_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 data->adc_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 data->adc_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 data->adc_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 data->adc_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 data->adc_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 data->adc_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 data->regmap->cache_dirty 0-1
PARAM_VALUE 1 field 9
PARAM_VALUE 2 rsel 0
PARAM_VALUE 3 value 2342355729287667712
BUF_SIZE 0 data s32min-(-1),1-s32max
BUF_SIZE 0 data s32min-(-1),1-s32max
DATA_SOURCE 0 data $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
HALF_LOCKED2 _T->lock

drivers/power/supply/rt9467-charger.c rt9467_get_adc() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->adc_lock.dep_map->name 0-255
PARAM_VALUE 0 data->adc_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 data->adc_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 data->adc_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 data->adc_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 data->adc_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 data->adc_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 data->adc_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 data->adc_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 data->regmap->cache_dirty 0-1
PARAM_VALUE 1 field 13
PARAM_VALUE 2 rsel 3
PARAM_VALUE 3 value 2141791765883957248
BUF_SIZE 0 data s32min-(-1),1-s32max
BUF_SIZE 0 data s32min-(-1),1-s32max
DATA_SOURCE 0 data $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
HALF_LOCKED2 _T->lock

drivers/power/supply/rt9467-charger.c rt9467_psy_get_property() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 1 field 11
PARAM_VALUE 2 rsel 1
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/power/supply/rt9467-charger.c rt9467_psy_get_property() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 1 field 9
PARAM_VALUE 2 rsel 0
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/power/supply/rt9467-charger.c rt9467_psy_get_property() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 1 field 12
PARAM_VALUE 2 rsel 2
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/power/supply/rt9467-charger.c rt9467_psy_get_property() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 1 field 14
PARAM_VALUE 2 rsel 4
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/power/supply/rt9467-charger.c rt9467_psy_set_ichg() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->ichg_ieoc_lock.dep_map->name 0-255
PARAM_VALUE 0 data->ichg_ieoc_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 data->ichg_ieoc_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 data->ichg_ieoc_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 data->ichg_ieoc_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 data->ichg_ieoc_lock.wait_lock.owner (-1)
PARAM_VALUE 0 data->ichg_ieoc_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 field 13
PARAM_VALUE 2 rsel 3
PARAM_VALUE 3 value 4096-ptr_max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
CAPPED_DATA 0 &data->ichg_ieoc_lock 1
DATA_SOURCE 0 data $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 0 &data->ichg_ieoc_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct rt9467_chg_data)->ichg_ieoc_lock

drivers/power/supply/rt9467-charger.c rt9467_psy_set_ieoc() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->ichg_ieoc_lock.dep_map->name 0-255
PARAM_VALUE 0 data->ichg_ieoc_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 data->ichg_ieoc_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 data->ichg_ieoc_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 data->ichg_ieoc_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 data->ichg_ieoc_lock.wait_lock.owner (-1)
PARAM_VALUE 0 data->ichg_ieoc_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 field 15
PARAM_VALUE 2 rsel 5
PARAM_VALUE 3 value 4096-ptr_max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
CAPPED_DATA 0 &data->ichg_ieoc_lock 1
DATA_SOURCE 0 data $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 0 &data->ichg_ieoc_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct rt9467_chg_data)->ichg_ieoc_lock

drivers/power/supply/rt9467-charger.c rt9467_run_aicl() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->regmap 4096-ptr_max
PARAM_VALUE 0 data->regmap->lock 4096-ptr_max
PARAM_VALUE 0 data->regmap->unlock 4096-ptr_max
PARAM_VALUE 0 *data->regmap->cache->data 0-4294967295
PARAM_VALUE 1 field 12
PARAM_VALUE 2 rsel 2
PARAM_VALUE 3 value 6091038171912597504
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
DATA_SOURCE 0 data $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
HALF_LOCKED2 _T->lock

drivers/power/supply/rt9467-charger.c rt9467_run_aicl() -> rt9467_get_value_from_ranges()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->aicl_done.done 0-4294967293,u32max
PARAM_VALUE 0 data->aicl_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 data->aicl_done.wait.lock.owner (-1)
PARAM_VALUE 0 data->aicl_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 data->aicl_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 data->aicl_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 data->regmap 4096-ptr_max
PARAM_VALUE 0 data->regmap->lock 4096-ptr_max
PARAM_VALUE 0 data->regmap->unlock 4096-ptr_max
PARAM_VALUE 0 data->rm_field 4096-ptr_max
PARAM_VALUE 0 *data->regmap->cache->data 0-4294967295
PARAM_VALUE 1 field 9
PARAM_VALUE 2 rsel 0
PARAM_VALUE 3 value 3301856073086566400
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
DATA_SOURCE 0 data $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
HALF_LOCKED2 _T->lock