Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/iio/adc/ad7173.c ad7173_debug_reg_access() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 2 size 1-3
PARAM_VALUE 3 val 1850314734293954560
PARAM_VALUE 3 *val 0
DATA_SOURCE 1 reg $1
DATA_SOURCE 3 val $3
FUZZY_MAX 2 size 3
HARD_MAX 2 size 3

drivers/iio/adc/ad7173.c ad7173_setup() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 1 reg 7
PARAM_VALUE 2 size 2
PARAM_VALUE 3 val 4302166482298134528
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad_sigma_delta.c ad_sigma_delta_clear_pending_event() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->bus_locked 1
PARAM_VALUE 0 sigma_delta->info 4096-ptr_max
PARAM_VALUE 0 sigma_delta->info->data_reg 0,2,4
PARAM_VALUE 0 sigma_delta->info->has_registers 1
PARAM_VALUE 0 sigma_delta->info->set_channel 0,826081728665260032,4135568652905144320,5364971413047312384,5827499562172100608,6437957023462252544,8580704955586400256
PARAM_VALUE 0 sigma_delta->info->set_mode 0,4096-ptr_max
PARAM_VALUE 0 sigma_delta->keep_cs_asserted 1
PARAM_VALUE 0 sigma_delta->rdy_gpiod 0
PARAM_VALUE 0 sigma_delta->spi 4096-ptr_max
PARAM_VALUE 0 sigma_delta->spi->controller 4096-ptr_max
PARAM_VALUE 0 sigma_delta->spi->controller->bus_lock_flag 1
PARAM_VALUE 0 sigma_delta->spi->controller->bus_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 sigma_delta->spi->controller->bus_lock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sigma_delta->spi->controller->bus_lock_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sigma_delta->spi->controller->bus_lock_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sigma_delta->spi->controller->bus_lock_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 reg 0
PARAM_VALUE 2 size 1
PARAM_VALUE 3 val 2665729077410693120
BUF_SIZE 0 sigma_delta s32min-(-1),1-s32max
BUF_SIZE 0 sigma_delta s32min-(-1),1-s32max
BUF_SIZE 0 sigma_delta->samples_buf (-1)-s32max
DATA_SOURCE 0 sigma_delta $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sigma_delta->irq_line
UNITS 0 sigma_delta unit_byte
LOCK2 0 &sigma_delta->spi->controller->bus_lock_mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct spi_controller)->bus_lock_mutex

drivers/iio/adc/ad_sigma_delta.c ad_sigma_delta_single_conversion() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->bus_locked 1
PARAM_VALUE 0 sigma_delta->completion.done 0-4294967293,u32max
PARAM_VALUE 0 sigma_delta->completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 sigma_delta->completion.wait.lock.owner (-1)
PARAM_VALUE 0 sigma_delta->completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 sigma_delta->completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 sigma_delta->completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sigma_delta->info 4096-ptr_max
PARAM_VALUE 0 sigma_delta->info->data_reg 0,2,4
PARAM_VALUE 0 sigma_delta->info->set_channel 0,826081728665260032,4135568652905144320,5364971413047312384,5827499562172100608,6437957023462252544,8580704955586400256
PARAM_VALUE 0 sigma_delta->info->set_mode 0,4096-ptr_max
PARAM_VALUE 0 sigma_delta->irq_dis 0
PARAM_VALUE 0 sigma_delta->keep_cs_asserted 1
PARAM_VALUE 0 sigma_delta->rdy_gpiod 0,4096-u64max
PARAM_VALUE 0 sigma_delta->spi 4096-ptr_max
PARAM_VALUE 0 sigma_delta->spi->controller 4096-ptr_max
PARAM_VALUE 0 sigma_delta->spi->controller->bus_lock_flag 1
PARAM_VALUE 0 sigma_delta->spi->controller->bus_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 sigma_delta->spi->controller->bus_lock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sigma_delta->spi->controller->bus_lock_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 reg 2-4
PARAM_VALUE 3 val 4657341074388262912
BUF_SIZE 0 sigma_delta s32min-(-2),1-s32max
BUF_SIZE 0 sigma_delta s32min-(-2),1-s32max
FUZZY_MAX 1 reg 3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 sigma_delta->spi->controller->dev.driver_data->ctx.modulctrl 0-4294967291[c]
HOST_DATA 0 sigma_delta->spi->controller->dev.driver_data->para 0-255
UNITS 0 sigma_delta unit_byte
LOCK2 0 &sigma_delta->spi->controller->bus_lock_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct spi_controller)->bus_lock_mutex

drivers/iio/adc/ad7793.c ad7793_setup() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->info 4096-ptr_max
PARAM_VALUE 1 reg 4
PARAM_VALUE 2 size 1
PARAM_VALUE 3 val 4072146698690539520
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad7124.c __ad7124_calibrate_all() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->bus_locked 0
PARAM_VALUE 0 sigma_delta->completion.done 0-4294967293,u32max
PARAM_VALUE 0 sigma_delta->completion.wait.lock.owner (-1)
PARAM_VALUE 0 sigma_delta->completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 sigma_delta->info 3917600104480854016
PARAM_VALUE 0 sigma_delta->irq_dis 0
PARAM_VALUE 0 sigma_delta->irq_line 0-s32max
PARAM_VALUE 0 sigma_delta->keep_cs_asserted 0
PARAM_VALUE 0 sigma_delta->num_slots 1,4,8,16
PARAM_VALUE 0 sigma_delta->offload 4096-ptr_max,(-22),(-19),(-16),(-12)
PARAM_VALUE 0 sigma_delta->spi 4096-ptr_max
PARAM_VALUE 1 reg 49
PARAM_VALUE 2 size 3
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sigma_delta->irq_line

drivers/iio/adc/ad7124.c __ad7124_calibrate_all() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->bus_locked 0
PARAM_VALUE 0 sigma_delta->completion.done 0-4294967293,u32max
PARAM_VALUE 0 sigma_delta->completion.wait.lock.owner (-1)
PARAM_VALUE 0 sigma_delta->completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 sigma_delta->info 3917600104480854016
PARAM_VALUE 0 sigma_delta->irq_dis 0
PARAM_VALUE 0 sigma_delta->irq_line 0-s32max
PARAM_VALUE 0 sigma_delta->keep_cs_asserted 0
PARAM_VALUE 0 sigma_delta->num_slots 1,4,8,16
PARAM_VALUE 0 sigma_delta->offload 4096-ptr_max,(-22),(-19),(-16),(-12)
PARAM_VALUE 0 sigma_delta->spi 4096-ptr_max
PARAM_VALUE 1 reg 41
PARAM_VALUE 2 size 3
PARAM_VALUE 3 *val 8388608
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sigma_delta->irq_line

drivers/iio/adc/ad7124.c ad7124_check_chip_id() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->info 3917600104480854016
PARAM_VALUE 0 sigma_delta->irq_line 0-s32max
PARAM_VALUE 0 sigma_delta->num_slots 1,4,8,16
PARAM_VALUE 0 sigma_delta->offload 4096-ptr_max,(-22),(-19),(-16),(-12)
PARAM_VALUE 0 sigma_delta->spi 4096-ptr_max
PARAM_VALUE 1 reg 5
PARAM_VALUE 2 size 1
PARAM_VALUE 3 val 7634406804524900352
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sigma_delta->irq_line

drivers/iio/adc/ad7124.c ad7124_reg_access() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 1 reg 0-56
PARAM_VALUE 2 size 1-3
PARAM_VALUE 3 val 1850314734293954560
PARAM_VALUE 3 *val 0
DATA_SOURCE 1 reg $1
DATA_SOURCE 3 val $3
HARD_MAX 1 reg 56
UNITS 1 reg unit_array_size

drivers/iio/adc/ad7124.c ad7124_soft_reset() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->info 3917600104480854016
PARAM_VALUE 0 sigma_delta->irq_line 0-s32max
PARAM_VALUE 0 sigma_delta->num_slots 1,4,8,16
PARAM_VALUE 0 sigma_delta->offload 4096-ptr_max,(-22),(-19),(-16),(-12)
PARAM_VALUE 0 sigma_delta->spi 4096-ptr_max
PARAM_VALUE 1 reg 0
PARAM_VALUE 2 size 1
PARAM_VALUE 3 val 4233635177915138048
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sigma_delta->irq_line

drivers/iio/adc/ad7124.c ad7124_soft_reset() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->info 3917600104480854016
PARAM_VALUE 0 sigma_delta->irq_line 0-s32max
PARAM_VALUE 0 sigma_delta->num_slots 1,4,8,16
PARAM_VALUE 0 sigma_delta->offload 4096-ptr_max,(-22),(-19),(-16),(-12)
PARAM_VALUE 0 sigma_delta->spi 4096-ptr_max
PARAM_VALUE 1 reg 49
PARAM_VALUE 2 size 3
PARAM_VALUE 3 val 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sigma_delta->irq_line

drivers/iio/adc/ad7124.c ad7124_spi_write_mask() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 2 size 2
PARAM_VALUE 3 val 5285377384837971968
CAPPED_DATA 1 reg 1
DATA_SOURCE 1 reg $1
DATA_SOURCE 2 size $4
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex

drivers/iio/adc/ad7124.c ad7124_syscalib_locked() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->bus_locked 0
PARAM_VALUE 0 sigma_delta->comm 0-3
PARAM_VALUE 0 sigma_delta->completion.done 0-4294967293,u32max
PARAM_VALUE 0 sigma_delta->completion.wait.lock.owner (-1)
PARAM_VALUE 0 sigma_delta->completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 sigma_delta->info 4096-ptr_max
PARAM_VALUE 0 sigma_delta->irq_dis 0
PARAM_VALUE 0 sigma_delta->keep_cs_asserted 0
PARAM_VALUE 0 sigma_delta->rdy_gpiod 0,4096-u64max
PARAM_VALUE 1 reg 41
PARAM_VALUE 2 size 3
PARAM_VALUE 3 *val 8388608
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad7124.c ad7124_syscalib_locked() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->bus_locked 0
PARAM_VALUE 0 sigma_delta->comm 0-3
PARAM_VALUE 0 sigma_delta->completion.done 0-4294967293,u32max
PARAM_VALUE 0 sigma_delta->completion.wait.lock.owner (-1)
PARAM_VALUE 0 sigma_delta->completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 sigma_delta->info 4096-ptr_max
PARAM_VALUE 0 sigma_delta->irq_dis 0
PARAM_VALUE 0 sigma_delta->keep_cs_asserted 0
PARAM_VALUE 0 sigma_delta->rdy_gpiod 0,4096-u64max
PARAM_VALUE 1 reg 49
PARAM_VALUE 2 size 3
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad7192.c ad7192_setup() -> ad_sd_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 sigma_delta 4096-ptr_max
PARAM_VALUE 0 sigma_delta->info 4096-ptr_max
PARAM_VALUE 1 reg 4
PARAM_VALUE 2 size 1
PARAM_VALUE 3 val 3291589968013066240
RX_PATH
TASK_NOT_RUNNING