Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/adc/ad7606.c ad7606_reg_access() -> (struct ad7606_bus_ops)->reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->bops | 4096-ptr_max |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | val | $2 |
| CONTAINER | 0 | -40-16+0 | $(-1) |
| LOCK2 | _T->lock |
drivers/iio/adc/ad7606.c ad7606_set_calib_offset() -> (struct ad7606_bus_ops)->reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->bops | 4096-ptr_max |
| PARAM_VALUE | 0 | st->chip_info | 4096-ptr_max |
| PARAM_VALUE | 0 | st->chip_info->calib_offset_avail | 4096-ptr_max |
| DATA_SOURCE | 0 | st | $0 |
| CONTAINER | 0 | -40-16+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/adc/ad7606.c ad7606_set_calib_phase() -> (struct ad7606_bus_ops)->reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->bops | 4096-ptr_max |
| PARAM_VALUE | 0 | st->chip_info | 4096-ptr_max |
| PARAM_VALUE | 0 | st->chip_info->calib_phase_avail | 4096-ptr_max |
| DATA_SOURCE | 0 | st | $0 |
| CONTAINER | 0 | -40-16+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-s32max[c] |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/adc/ad7606.c ad7606_set_gain_calib() -> (struct ad7606_bus_ops)->reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->base_address | 0,4096-ptr_max |
| PARAM_VALUE | 0 | st->bops | 4096-ptr_max |
| PARAM_VALUE | 0 | st->bops->iio_backend_config | 0,8973184069148168192 |
| PARAM_VALUE | 0 | st->bops->offload_config | 0,7568390564758171648 |
| PARAM_VALUE | 0 | st->bops->sw_mode_config | 0,399970845199409152 |
| PARAM_VALUE | 0 | st->chan_info | 4096-ptr_max |
| PARAM_VALUE | 0 | st->chip_info | 4096-ptr_max |
| PARAM_VALUE | 0 | st->chip_info->calib_gain_avail | 1 |
| PARAM_VALUE | 0 | st->chip_info->num_adc_channels | 1-s32max |
| PARAM_VALUE | 0 | st->chip_info->sw_setup_cb | 1-u64max |
| PARAM_VALUE | 0 | st->cnvst_pwm->chip->ops->sizeof_wfhw | 0-2,5,12,16 |
| PARAM_VALUE | 0 | st->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | st->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | st->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | st->gpio_convst | 0,4096-ptr_max |
| PARAM_VALUE | 0 | st->gpio_frstdata | 0,4096-ptr_max |
| PARAM_VALUE | 0 | st->gpio_range | 0,4096-ptr_max |
| PARAM_VALUE | 0 | st->gpio_reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | st->gpio_standby | 0,4096-ptr_max |
| PARAM_VALUE | 0 | st->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | st->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | st->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | st->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | st->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | st->oversampling | 1 |
| PARAM_VALUE | 0 | st->sw_mode_en | 1 |
| PARAM_VALUE | 0 | st->trig->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | st->trig->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | st->write_os | 2033442706288652288,7098160153857089536 |
| PARAM_VALUE | 0 | st->write_scale | 4071285176690876416,6990265939764531200 |
| BUF_SIZE | 0 | st->cnvst_pwm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | st->trig | (-1),2224 |
| BUF_SIZE | 0 | st->trig->ops | (-1),24 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 0 | st | $0 |
| CONTAINER | 0 | -40-16+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | st->gpio_os->info->size | |
| NO_OVERFLOW_SIMPLE | 0 | st->gpio_os->ndescs |
drivers/iio/adc/ad7606.c ad7606_write_mask() -> (struct ad7606_bus_ops)->reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->bops | 4096-ptr_max |
| PARAM_VALUE | 0 | st->bops->sw_mode_config | 0,399970845199409152 |
| PARAM_VALUE | 1 | addr | 2-1073741826 |
| BUF_SIZE | 0 | st->write_os | (-1),8 |
| DATA_SOURCE | 0 | st | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| CONTAINER | 0 | -40-16+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/adc/ad7606.c ad7606_write_os_sw() -> (struct ad7606_bus_ops)->reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->bops | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 8 |
| DATA_SOURCE | 2 | val | $1 |
| CONTAINER | 0 | -40-16+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/adc/ad7606_spi.c ad7606b_sw_mode_config() -> (struct ad7606_bus_ops)->reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->bops | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 2 |
| PARAM_VALUE | 2 | val | 0 |
| CONTAINER | 0 | -40-16+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |