Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/adc/ad7380.c ad7380_init_offload_msg() -> ad7380_set_ch()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->chip_info 4096-ptr_max
PARAM_VALUE 0 st->chip_info->has_mux 1
PARAM_VALUE 1 ch 0-1,3-s32max
DATA_SOURCE 0 st $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex

drivers/iio/adc/ad7380.c ad7380_read_direct() -> ad7380_set_ch()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->chip_info 4096-ptr_max
PARAM_VALUE 0 st->chip_info->has_mux 1
PARAM_VALUE 1 ch 0-1
CAPPED_DATA 0 st->chip_info->num_simult_channels 1
DATA_SOURCE 0 st $0
FUZZY_MAX 1 ch 1
HARD_MAX 1 ch 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/iio/adc/ad7380.c ad7380_triggered_buffer_preenable() -> ad7380_set_ch()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->chip_info 4096-ptr_max
PARAM_VALUE 0 st->chip_info->has_mux 1
PARAM_VALUE 1 ch 0-1,3-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex