Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/iio/accel/bmc150-accel-core.c
- drivers/iio/accel/kionix-kx022a.c
- drivers/iio/adc/at91-sama5d2_adc.c
- drivers/iio/adc/nxp-sar-adc.c
- drivers/iio/imu/bmi323/bmi323_core.c
- drivers/iio/industrialio-core.c, line 2250
- drivers/iio/pressure/rohm-bm1390.c
Smatch caller information:
drivers/iio/accel/bmc150-accel-core.c bmc150_accel_buffer_postenable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev->active_scan_mask | 8-2048 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/accel/bmc150-accel-core.c bmc150_accel_buffer_predisable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev->available_scan_masks | (-1),16 |
| BUF_SIZE | 0 | indio_dev->channels | (-1),160,480,1600 |
| BUF_SIZE | 0 | indio_dev->info | (-1),160 |
| BUF_SIZE | 0 | indio_dev->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | indio_dev | $0 |
| STR_LEN | 0 | indio_dev->name | (-1),5,10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | indio_dev->num_channels | |
| LOCK2 | _T->lock |
drivers/iio/accel/kionix-kx022a.c kx022a_buffer_postenable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev->active_scan_mask | 8-2048 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/accel/kionix-kx022a.c kx022a_buffer_predisable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev->available_scan_masks | (-1),16 |
| BUF_SIZE | 0 | indio_dev->channels | (-1),160,480,1600 |
| BUF_SIZE | 0 | indio_dev->info | (-1),160 |
| BUF_SIZE | 0 | indio_dev->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | indio_dev | $0 |
| STR_LEN | 0 | indio_dev->name | (-1),5,10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | indio_dev->num_channels | |
| LOCK2 | _T->lock |
drivers/iio/pressure/rohm-bm1390.c bm1390_buffer_postenable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev->active_scan_mask | 8-2048 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/pressure/rohm-bm1390.c bm1390_buffer_predisable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev->available_scan_masks | (-1),16 |
| BUF_SIZE | 0 | indio_dev->channels | (-1),160,480,1600 |
| BUF_SIZE | 0 | indio_dev->info | (-1),160 |
| BUF_SIZE | 0 | indio_dev->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | indio_dev | $0 |
| STR_LEN | 0 | indio_dev->name | (-1),5,10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | indio_dev->num_channels | |
| LOCK2 | _T->lock |
drivers/iio/adc/at91-sama5d2_adc.c at91_adc_buffer_postdisable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev->active_scan_mask | (-1),8-2048 |
| BUF_SIZE | 0 | indio_dev->available_scan_masks | (-1),16 |
| BUF_SIZE | 0 | indio_dev->channels | (-1),160,480,1600 |
| BUF_SIZE | 0 | indio_dev->info | (-1),160 |
| BUF_SIZE | 0 | indio_dev->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | indio_dev | $0 |
| STR_LEN | 0 | indio_dev->name | (-1),5,10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | indio_dev->num_channels | |
| UNITS | 0 | indio_dev | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/iio/adc/at91-sama5d2_adc.c at91_adc_buffer_prepare() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev->active_scan_mask | (-1),8-2048 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | indio_dev | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/iio/imu/bmi323/bmi323_core.c bmi323_buffer_postenable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev->active_scan_mask | 8-2048 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/imu/bmi323/bmi323_core.c bmi323_buffer_predisable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev->available_scan_masks | (-1),16 |
| BUF_SIZE | 0 | indio_dev->channels | (-1),160,480,1600 |
| BUF_SIZE | 0 | indio_dev->info | (-1),160 |
| BUF_SIZE | 0 | indio_dev->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | indio_dev | $0 |
| STR_LEN | 0 | indio_dev->name | (-1),5,10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | indio_dev->num_channels | |
| LOCK2 | _T->lock |
drivers/iio/adc/nxp-sar-adc.c nxp_sar_adc_buffer_postenable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev->active_scan_mask | 8-2048 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/adc/nxp-sar-adc.c nxp_sar_adc_buffer_predisable() -> iio_device_get_current_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | indio_dev->available_scan_masks | (-1),16 |
| BUF_SIZE | 0 | indio_dev->channels | (-1),160,480,1600 |
| BUF_SIZE | 0 | indio_dev->info | (-1),160 |
| BUF_SIZE | 0 | indio_dev->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | indio_dev | $0 |
| STR_LEN | 0 | indio_dev->name | (-1),5,10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | indio_dev->num_channels | |
| LOCK2 | _T->lock |