Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/adc/qcom-spmi-vadc.c vadc_measure_ref_points() -> vadc_do_conversion()

Type Parameter Key Value
PARAM_VALUE 0 vadc 4096-ptr_max
PARAM_VALUE 0 vadc->are_ref_measured 0
PARAM_VALUE 0 vadc->chan_props 4096-ptr_max
PARAM_VALUE 0 vadc->chan_props->avg_samples 0
PARAM_VALUE 0 vadc->chan_props->calibration 0
PARAM_VALUE 0 vadc->chan_props->channel 0
PARAM_VALUE 0 vadc->chan_props->channel_name 0
PARAM_VALUE 0 vadc->chan_props->decimation 0
PARAM_VALUE 0 vadc->chan_props->hw_settle_time 0
PARAM_VALUE 0 vadc->chan_props->prescale 0
PARAM_VALUE 0 vadc->chan_props->scale_fn_type 0
PARAM_VALUE 0 vadc->complete.done 0
PARAM_VALUE 0 vadc->complete.wait.lock.magic 3735899821
PARAM_VALUE 0 vadc->complete.wait.lock.owner (-1)
PARAM_VALUE 0 vadc->complete.wait.lock.owner_cpu u32max
PARAM_VALUE 0 vadc->complete.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 vadc->dev 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 vadc->dev->parent 4096-ptr_max
PARAM_VALUE 0 vadc->graph 4096-ptr_max
PARAM_VALUE 0 vadc->iio_chans 1-u64max
PARAM_VALUE 0 vadc->iio_chans->address 0
PARAM_VALUE 0 vadc->iio_chans->channel 0
PARAM_VALUE 0 vadc->iio_chans->channel2 0
PARAM_VALUE 0 vadc->iio_chans->datasheet_name 0
PARAM_VALUE 0 vadc->iio_chans->differential 0
PARAM_VALUE 0 vadc->iio_chans->event_spec 0
PARAM_VALUE 0 vadc->iio_chans->ext_info 0
PARAM_VALUE 0 vadc->iio_chans->ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->extend_name 0
PARAM_VALUE 0 vadc->iio_chans->has_ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->indexed 0
PARAM_VALUE 0 vadc->iio_chans->info_mask_separate 0
PARAM_VALUE 0 vadc->iio_chans->modified 0
PARAM_VALUE 0 vadc->iio_chans->num_event_specs 0
PARAM_VALUE 0 vadc->iio_chans->num_ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->output 0
PARAM_VALUE 0 vadc->iio_chans->scan_index 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.endianness 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.format 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.realbits 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.repeat 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.shift 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.sign 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.storagebits 0
PARAM_VALUE 0 vadc->iio_chans->type 0
PARAM_VALUE 0 vadc->lock.dep_map->name 0-255
PARAM_VALUE 0 vadc->lock.first_waiter 0
PARAM_VALUE 0 vadc->lock.magic 4096-ptr_max
PARAM_VALUE 0 vadc->lock.osq.tail.counter 0
PARAM_VALUE 0 vadc->lock.owner.counter 0
PARAM_VALUE 0 vadc->nchannels 1-u32max
PARAM_VALUE 0 vadc->regmap 4096-ptr_max
PARAM_VALUE 0 vadc->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 vadc->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 vadc->regmap->cache_dirty 0-1
PARAM_VALUE 0 *vadc->regmap->cache->data 0-4294967295
PARAM_VALUE 1 prop 0,4096-ptr_max
PARAM_VALUE 2 data 4329871578295873536
BUF_SIZE 0 vadc->dev 1616
CAPPED_DATA 0 vadc->nchannels 1
CAPPED_DATA 0 vadc->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 vadc->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 vadc $0
DATA_SOURCE 1 prop r vadc_get_channel
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 vadc->nchannels

drivers/iio/adc/qcom-spmi-vadc.c vadc_measure_ref_points() -> vadc_do_conversion()

Type Parameter Key Value
PARAM_VALUE 0 vadc 4096-ptr_max
PARAM_VALUE 0 vadc->are_ref_measured 0
PARAM_VALUE 0 vadc->chan_props 4096-ptr_max
PARAM_VALUE 0 vadc->chan_props->avg_samples 0
PARAM_VALUE 0 vadc->chan_props->calibration 0
PARAM_VALUE 0 vadc->chan_props->channel 0
PARAM_VALUE 0 vadc->chan_props->channel_name 0
PARAM_VALUE 0 vadc->chan_props->decimation 0
PARAM_VALUE 0 vadc->chan_props->hw_settle_time 0
PARAM_VALUE 0 vadc->chan_props->prescale 0
PARAM_VALUE 0 vadc->chan_props->scale_fn_type 0
PARAM_VALUE 0 vadc->complete.done 0-4294967293,u32max
PARAM_VALUE 0 vadc->complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 vadc->complete.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 vadc->dev 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 vadc->dev->parent 4096-ptr_max
PARAM_VALUE 0 vadc->graph 4096-ptr_max
PARAM_VALUE 0 vadc->iio_chans 1-u64max
PARAM_VALUE 0 vadc->iio_chans->address 0
PARAM_VALUE 0 vadc->iio_chans->channel 0
PARAM_VALUE 0 vadc->iio_chans->channel2 0
PARAM_VALUE 0 vadc->iio_chans->datasheet_name 0
PARAM_VALUE 0 vadc->iio_chans->differential 0
PARAM_VALUE 0 vadc->iio_chans->event_spec 0
PARAM_VALUE 0 vadc->iio_chans->ext_info 0
PARAM_VALUE 0 vadc->iio_chans->ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->extend_name 0
PARAM_VALUE 0 vadc->iio_chans->has_ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->indexed 0
PARAM_VALUE 0 vadc->iio_chans->info_mask_separate 0
PARAM_VALUE 0 vadc->iio_chans->modified 0
PARAM_VALUE 0 vadc->iio_chans->num_event_specs 0
PARAM_VALUE 0 vadc->iio_chans->num_ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->output 0
PARAM_VALUE 0 vadc->iio_chans->scan_index 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.endianness 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.format 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.realbits 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.repeat 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.shift 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.sign 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.storagebits 0
PARAM_VALUE 0 vadc->iio_chans->type 0
PARAM_VALUE 0 vadc->lock.dep_map->name 0-255
PARAM_VALUE 0 vadc->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vadc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vadc->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 vadc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vadc->nchannels 1-u32max
PARAM_VALUE 0 vadc->regmap 4096-ptr_max
PARAM_VALUE 0 vadc->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 vadc->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 vadc->regmap->cache_dirty 0-1
PARAM_VALUE 0 *vadc->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 prop 0,4096-ptr_max
PARAM_VALUE 2 data 5030039885748256768
BUF_SIZE 0 vadc->dev 1616
CAPPED_DATA 0 vadc->nchannels 1
CAPPED_DATA 0 vadc->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 vadc->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 vadc $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 vadc->nchannels

drivers/iio/adc/qcom-spmi-vadc.c vadc_measure_ref_points() -> vadc_do_conversion()

Type Parameter Key Value
PARAM_VALUE 0 vadc 4096-ptr_max
PARAM_VALUE 0 vadc->are_ref_measured 0
PARAM_VALUE 0 vadc->chan_props 4096-ptr_max
PARAM_VALUE 0 vadc->chan_props->avg_samples 0
PARAM_VALUE 0 vadc->chan_props->calibration 0
PARAM_VALUE 0 vadc->chan_props->channel 0
PARAM_VALUE 0 vadc->chan_props->channel_name 0
PARAM_VALUE 0 vadc->chan_props->decimation 0
PARAM_VALUE 0 vadc->chan_props->hw_settle_time 0
PARAM_VALUE 0 vadc->chan_props->prescale 0
PARAM_VALUE 0 vadc->chan_props->scale_fn_type 0
PARAM_VALUE 0 vadc->complete.done 0-4294967293,u32max
PARAM_VALUE 0 vadc->complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 vadc->complete.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 vadc->dev 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 vadc->dev->parent 4096-ptr_max
PARAM_VALUE 0 vadc->graph 4096-ptr_max
PARAM_VALUE 0 vadc->iio_chans 1-u64max
PARAM_VALUE 0 vadc->iio_chans->address 0
PARAM_VALUE 0 vadc->iio_chans->channel 0
PARAM_VALUE 0 vadc->iio_chans->channel2 0
PARAM_VALUE 0 vadc->iio_chans->datasheet_name 0
PARAM_VALUE 0 vadc->iio_chans->differential 0
PARAM_VALUE 0 vadc->iio_chans->event_spec 0
PARAM_VALUE 0 vadc->iio_chans->ext_info 0
PARAM_VALUE 0 vadc->iio_chans->ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->extend_name 0
PARAM_VALUE 0 vadc->iio_chans->has_ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->indexed 0
PARAM_VALUE 0 vadc->iio_chans->info_mask_separate 0
PARAM_VALUE 0 vadc->iio_chans->modified 0
PARAM_VALUE 0 vadc->iio_chans->num_event_specs 0
PARAM_VALUE 0 vadc->iio_chans->num_ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->output 0
PARAM_VALUE 0 vadc->iio_chans->scan_index 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.endianness 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.format 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.realbits 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.repeat 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.shift 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.sign 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.storagebits 0
PARAM_VALUE 0 vadc->iio_chans->type 0
PARAM_VALUE 0 vadc->lock.dep_map->name 0-255
PARAM_VALUE 0 vadc->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vadc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vadc->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 vadc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vadc->nchannels 1-u32max
PARAM_VALUE 0 vadc->regmap 4096-ptr_max
PARAM_VALUE 0 vadc->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 vadc->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 vadc->regmap->cache_dirty 0-1
PARAM_VALUE 0 *vadc->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 prop 0,4096-ptr_max
PARAM_VALUE 2 data 4329871578295873536
PARAM_VALUE 2 *data 24576-43008
BUF_SIZE 0 vadc->dev 1616
CAPPED_DATA 0 vadc->nchannels 1
CAPPED_DATA 0 vadc->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 vadc->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 vadc $0
DATA_SOURCE 1 prop r vadc_get_channel
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 vadc->nchannels

drivers/iio/adc/qcom-spmi-vadc.c vadc_measure_ref_points() -> vadc_do_conversion()

Type Parameter Key Value
PARAM_VALUE 0 vadc 4096-ptr_max
PARAM_VALUE 0 vadc->are_ref_measured 0
PARAM_VALUE 0 vadc->chan_props 4096-ptr_max
PARAM_VALUE 0 vadc->chan_props->avg_samples 0
PARAM_VALUE 0 vadc->chan_props->calibration 0
PARAM_VALUE 0 vadc->chan_props->channel 0
PARAM_VALUE 0 vadc->chan_props->channel_name 0
PARAM_VALUE 0 vadc->chan_props->decimation 0
PARAM_VALUE 0 vadc->chan_props->hw_settle_time 0
PARAM_VALUE 0 vadc->chan_props->prescale 0
PARAM_VALUE 0 vadc->chan_props->scale_fn_type 0
PARAM_VALUE 0 vadc->complete.done 0-4294967293,u32max
PARAM_VALUE 0 vadc->complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 vadc->complete.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 vadc->complete.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 vadc->dev 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 vadc->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 vadc->dev->parent 4096-ptr_max
PARAM_VALUE 0 vadc->graph 4096-ptr_max
PARAM_VALUE 0 vadc->iio_chans 1-u64max
PARAM_VALUE 0 vadc->iio_chans->address 0
PARAM_VALUE 0 vadc->iio_chans->channel 0
PARAM_VALUE 0 vadc->iio_chans->channel2 0
PARAM_VALUE 0 vadc->iio_chans->datasheet_name 0
PARAM_VALUE 0 vadc->iio_chans->differential 0
PARAM_VALUE 0 vadc->iio_chans->event_spec 0
PARAM_VALUE 0 vadc->iio_chans->ext_info 0
PARAM_VALUE 0 vadc->iio_chans->ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->extend_name 0
PARAM_VALUE 0 vadc->iio_chans->has_ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->indexed 0
PARAM_VALUE 0 vadc->iio_chans->info_mask_separate 0
PARAM_VALUE 0 vadc->iio_chans->modified 0
PARAM_VALUE 0 vadc->iio_chans->num_event_specs 0
PARAM_VALUE 0 vadc->iio_chans->num_ext_scan_type 0
PARAM_VALUE 0 vadc->iio_chans->output 0
PARAM_VALUE 0 vadc->iio_chans->scan_index 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.endianness 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.format 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.realbits 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.repeat 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.shift 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.sign 0
PARAM_VALUE 0 vadc->iio_chans->scan_type.storagebits 0
PARAM_VALUE 0 vadc->iio_chans->type 0
PARAM_VALUE 0 vadc->lock.dep_map->name 0-255
PARAM_VALUE 0 vadc->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vadc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vadc->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 vadc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vadc->nchannels 1-u32max
PARAM_VALUE 0 vadc->regmap 4096-ptr_max
PARAM_VALUE 0 vadc->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 vadc->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 vadc->regmap->cache_dirty 0-1
PARAM_VALUE 0 *vadc->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 prop 0,4096-ptr_max
PARAM_VALUE 2 data 5030039885748256768
PARAM_VALUE 2 *data 24576-43008
BUF_SIZE 0 vadc->dev 1616
CAPPED_DATA 0 vadc->nchannels 1
CAPPED_DATA 0 vadc->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 vadc->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 vadc $0
DATA_SOURCE 1 prop r vadc_get_channel
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 vadc->nchannels

drivers/iio/adc/qcom-spmi-vadc.c vadc_read_raw() -> vadc_do_conversion()

Type Parameter Key Value
PARAM_VALUE 0 vadc->chan_props 4096-ptr_max
PARAM_VALUE 2 data 3245997117111238656
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/iio/adc/qcom-spmi-vadc.c vadc_read_raw() -> vadc_do_conversion()

Type Parameter Key Value
PARAM_VALUE 0 vadc->chan_props 4096-ptr_max
PARAM_VALUE 2 data 3245997117111238656
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock