Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/dac/ad5686.c ad5310_control_sync() -> ad5686_write()
| 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->regmap_type | 0 |
| PARAM_VALUE | 1 | cmd | 4 |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | val | 0,128,256,384,512-1920 |
| BUF_SIZE | 0 | st->bus_data | (-1),392-s32max |
| BUF_SIZE | 0 | st->dev | (-1),1616 |
| BUF_SIZE | 0 | st->gain_gpio | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | st->ldac_gpio | s32min,(-1),1-s32max |
| DATA_SOURCE | 0 | st | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/iio/dac/ad5686.c ad5683_control_sync() -> ad5686_write()
| 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->regmap_type | 1 |
| PARAM_VALUE | 1 | cmd | 4 |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | val | 0,2048,4096,6144,8192-30720 |
| BUF_SIZE | 0 | st->bus_data | (-1),392-s32max |
| BUF_SIZE | 0 | st->dev | (-1),1616 |
| BUF_SIZE | 0 | st->gain_gpio | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | st->ldac_gpio | s32min,(-1),1-s32max |
| DATA_SOURCE | 0 | st | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/iio/dac/ad5686.c ad5686_probe() -> ad5686_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->bus_data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | st->chip_info | 4096-ptr_max |
| PARAM_VALUE | 0 | st->chip_info->channels | 4096-ptr_max |
| PARAM_VALUE | 0 | st->chip_info->num_channels | 0-s32max |
| PARAM_VALUE | 0 | st->chip_info->regmap_type | 2 |
| PARAM_VALUE | 0 | st->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->gain_gpio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | st->ldac_gpio | 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->ops | 7696045368172527616,7735318081076150272 |
| PARAM_VALUE | 0 | st->vref_mv | 1-u16max |
| PARAM_VALUE | 1 | cmd | 7 |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | val | 0-1 |
| BUF_SIZE | 0 | st->bus_data | (-1),392-s32max |
| BUF_SIZE | 0 | st->dev | (-1),1616 |
| BUF_SIZE | 0 | st->gain_gpio | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | st->ldac_gpio | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | st->chip_info->num_channels | 1 |
| CAPPED_DATA | 0 | st->gain_gpio | 1 |
| CAPPED_DATA | 0 | st->ldac_gpio | 1 |
| FUZZY_MAX | 3 | val | 1 |
| HARD_MAX | 3 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/dac/ad5686.c ad5686_write_dac_powerdown() -> ad5686_write()
| 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->regmap_type | 2 |
| PARAM_VALUE | 1 | cmd | 4 |
| PARAM_VALUE | 2 | addr | 0,8 |
| FUZZY_MAX | 2 | addr | 8 |
| BIT_INFO | 2 | addr | 0x0,0x8 |
| HARD_MAX | 2 | addr | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/iio/dac/ad5686.c ad5686_write_raw() -> ad5686_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | addr | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |