Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/addac/ad74115.c _ad74115_get_adc_code() -> ad74115_set_adc_ch_en()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->adc_data_completion.done 0
PARAM_VALUE 0 st->lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 st->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 st->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 st->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.wait_lock.owner (-1)
PARAM_VALUE 0 st->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 status 1
DATA_SOURCE 0 st $0
DATA_SOURCE 1 channel $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 channel unit_array_size
LOCK2 0 &st->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct ad74115_state)->lock

drivers/iio/addac/ad74115.c _ad74115_get_adc_code() -> ad74115_set_adc_ch_en()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->adc_data_completion.done 0-4294967293,u32max
PARAM_VALUE 0 st->lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 st->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 st->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 st->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.wait_lock.owner (-1)
PARAM_VALUE 0 st->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 st->regmap 4096-ptr_max
PARAM_VALUE 0 st->regmap->async 0
PARAM_VALUE 0 st->regmap->cache_dirty 1
PARAM_VALUE 0 st->regmap->lock 4096-ptr_max
PARAM_VALUE 0 st->regmap->unlock 4096-ptr_max
PARAM_VALUE 2 status 0
CAPPED_DATA 0 st->regmap->precious_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 st->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 st->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 st $0
DATA_SOURCE 1 channel $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 channel unit_array_size
LOCK2 0 &st->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct ad74115_state)->lock

drivers/iio/addac/ad74115.c ad74115_buffer_predisable() -> ad74115_set_adc_ch_en()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 st->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 st->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 st->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.wait_lock.owner (-1)
PARAM_VALUE 0 st->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 st->regmap 4096-ptr_max
PARAM_VALUE 0 st->regmap->async 0
PARAM_VALUE 0 st->regmap->cache_dirty 1
PARAM_VALUE 1 channel 0-1
PARAM_VALUE 2 status 0
CAPPED_DATA 0 st->regmap->precious_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 st->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 st->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->wr_table->n_yes_ranges 1
CAPPED_DATA 0 &st->lock 1
FUZZY_MAX 1 channel 1
HARD_MAX 1 channel 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
LOCK2 0 &st->lock
TYPE_LOCK (struct ad74115_state)->lock

drivers/iio/addac/ad74115.c ad74115_update_scan_mode() -> ad74115_set_adc_ch_en()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.actual_length 0
PARAM_VALUE 0 st->adc_samples_msg.complete 0
PARAM_VALUE 0 st->adc_samples_msg.context 0
PARAM_VALUE 0 st->adc_samples_msg.frame_length 0
PARAM_VALUE 0 st->adc_samples_msg.offload 0
PARAM_VALUE 0 st->adc_samples_msg.opt_state 0
PARAM_VALUE 0 st->adc_samples_msg.optimized 0
PARAM_VALUE 0 st->adc_samples_msg.pre_optimized 0
PARAM_VALUE 0 st->adc_samples_msg.prepared 0
PARAM_VALUE 0 st->adc_samples_msg.queue.next 0
PARAM_VALUE 0 st->adc_samples_msg.queue.prev 0
PARAM_VALUE 0 st->adc_samples_msg.resources.next 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.resources.next->next 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.resources.prev 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.resources.prev->next 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.resources.prev->prev 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.spi 0
PARAM_VALUE 0 st->adc_samples_msg.state 0
PARAM_VALUE 0 st->adc_samples_msg.status 0
PARAM_VALUE 0 st->lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 st->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 st->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 st->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.wait_lock.owner (-1)
PARAM_VALUE 0 st->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 channel 0-1
PARAM_VALUE 2 status 0
CAPPED_DATA 0 &st->lock 1
CAPPED_DATA 1 channel 1
DATA_SOURCE 1 channel r find_next_zero_bit
FUZZY_MAX 1 channel 1
MEM_ZERO 0 &st->adc_samples_msg
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
LOCK2 0 &st->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct ad74115_state)->lock

drivers/iio/addac/ad74115.c ad74115_update_scan_mode() -> ad74115_set_adc_ch_en()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.actual_length 0
PARAM_VALUE 0 st->adc_samples_msg.complete 0
PARAM_VALUE 0 st->adc_samples_msg.context 0
PARAM_VALUE 0 st->adc_samples_msg.frame_length 0
PARAM_VALUE 0 st->adc_samples_msg.offload 0
PARAM_VALUE 0 st->adc_samples_msg.opt_state 0
PARAM_VALUE 0 st->adc_samples_msg.optimized 0
PARAM_VALUE 0 st->adc_samples_msg.pre_optimized 0
PARAM_VALUE 0 st->adc_samples_msg.prepared 0
PARAM_VALUE 0 st->adc_samples_msg.queue.next 0
PARAM_VALUE 0 st->adc_samples_msg.queue.prev 0
PARAM_VALUE 0 st->adc_samples_msg.resources.next 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.resources.next->next 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.resources.prev 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.resources.prev->next 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.resources.prev->prev 4096-ptr_max
PARAM_VALUE 0 st->adc_samples_msg.spi 0
PARAM_VALUE 0 st->adc_samples_msg.state 0
PARAM_VALUE 0 st->adc_samples_msg.status 0
PARAM_VALUE 0 st->adc_samples_msg.transfers.prev 0,4096-ptr_max
PARAM_VALUE 0 st->lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 st->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 st->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 st->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.wait_lock.owner (-1)
PARAM_VALUE 0 st->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 channel 0-1
PARAM_VALUE 2 status 1
CAPPED_DATA 0 &st->lock 1
CAPPED_DATA 1 channel 1
DATA_SOURCE 1 channel r find_next_bit
FUZZY_MAX 1 channel 1
MEM_ZERO 0 &st->adc_samples_msg
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
LOCK2 0 &st->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct ad74115_state)->lock