Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/adc/ad4851.c ad4851_get_scale() -> __ad4851_get_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->info | 1-u64max |
| PARAM_VALUE | 0 | indio_dev->info->read_raw | 1-u64max |
| PARAM_VALUE | 0 | indio_dev->info->read_raw_multi | 0 |
| PARAM_VALUE | 3 | val2 | 1-u64max |
| BUF_SIZE | 2 | val | (-1),16 |
| BUF_SIZE | 3 | val2 | (-1),4,12 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| DATA_SOURCE | 2 | val | $2 |
| DATA_SOURCE | 3 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/adc/ad4851.c ad4851_scale_fill() -> __ad4851_get_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->info->write_raw | 1-u64max |
| PARAM_VALUE | 1 | scale_tbl | 2500,5000,6250,10000,12500,20000,25000,40000 |
| PARAM_VALUE | 2 | val | 3267016490524766208 |
| PARAM_VALUE | 3 | val2 | 2090807138292658176 |
| BUF_SIZE | 0 | indio_dev | (-1),1752 |
| BUF_SIZE | 0 | indio_dev | (-1),1752 |
| BUF_SIZE | 0 | indio_dev->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | indio_dev->info | (-1),160 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | indio_dev->num_channels | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/adc/ad4851.c ad4851_scale_fill() -> __ad4851_get_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->info->write_raw | 1-u64max |
| PARAM_VALUE | 1 | scale_tbl | 5000,10000,12500,20000,25000,40000,50000,80000 |
| PARAM_VALUE | 2 | val | 3267016490524766208 |
| PARAM_VALUE | 2 | *val | 0-4294 |
| PARAM_VALUE | 3 | val2 | 2090807138292658176 |
| PARAM_VALUE | 3 | *val2 | 0-999999 |
| BUF_SIZE | 0 | indio_dev | (-1),1752 |
| BUF_SIZE | 0 | indio_dev | (-1),1752 |
| BUF_SIZE | 0 | indio_dev->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | indio_dev->info | (-1),160 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | indio_dev->num_channels | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/adc/ad4851.c ad4851_set_scale() -> __ad4851_get_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->info->write_raw | 1-u64max |
| PARAM_VALUE | 2 | val | 7812067764471746560 |
| PARAM_VALUE | 2 | *val | 0-4294 |
| PARAM_VALUE | 3 | val2 | 7812067764471746564 |
| PARAM_VALUE | 3 | *val2 | 0-999999 |
| BUF_SIZE | 2 | val | 8 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |