Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/industrialio-buffer.c iio_buffer_update_demux() -> iio_storage_bytes_for_si()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->active_scan_mask | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->pollfunc->irq | s32min-s32max |
| PARAM_VALUE | 0 | indio_dev->pollfunc->type | s32min-s32max |
| PARAM_VALUE | 0 | indio_dev->scan_bytes | 0 |
| PARAM_VALUE | 0 | indio_dev->scan_timestamp | 0 |
| PARAM_VALUE | 0 | indio_dev->scan_timestamp_offset | 0 |
| PARAM_VALUE | 0 | indio_dev->trig->attached_own_device | 0-1 |
| PARAM_VALUE | 1 | scan_index | 0-64 |
| BUF_SIZE | 0 | indio_dev->active_scan_mask | 8-2048 |
| CAPPED_DATA | 1 | scan_index | 1 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| DATA_SOURCE | 1 | scan_index | r find_next_bit |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | indio_dev | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/industrialio-buffer.c iio_buffer_update_demux() -> iio_storage_bytes_for_si()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->active_scan_mask | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->pollfunc->irq | s32min-s32max |
| PARAM_VALUE | 0 | indio_dev->pollfunc->type | s32min-s32max |
| PARAM_VALUE | 0 | indio_dev->scan_bytes | 0 |
| PARAM_VALUE | 0 | indio_dev->scan_timestamp | 0 |
| PARAM_VALUE | 0 | indio_dev->scan_timestamp_offset | 0 |
| PARAM_VALUE | 0 | indio_dev->trig->attached_own_device | 0-1 |
| PARAM_VALUE | 1 | scan_index | 0-64 |
| BUF_SIZE | 0 | indio_dev->active_scan_mask | 8-2048 |
| CAPPED_DATA | 1 | scan_index | 1 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| DATA_SOURCE | 1 | scan_index | r find_next_bit |
| PARAM_COMPARE | 1 | scan_index | < $0->masklength |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | indio_dev | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/industrialio-buffer.c iio_compute_scan_bytes() -> iio_storage_bytes_for_si()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->masklength | 1-u32max |
| PARAM_VALUE | 0 | indio_dev->pollfunc->irq | s32min-s32max |
| PARAM_VALUE | 0 | indio_dev->trig->attached_own_device | 0-1 |
| PARAM_VALUE | 0 | *indio_dev->available_scan_masks | 1-u64max |
| PARAM_VALUE | 1 | scan_index | 0-64 |
| CAPPED_DATA | 1 | scan_index | 1 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| DATA_SOURCE | 1 | scan_index | r find_next_bit |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | indio_dev | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/industrialio-buffer.c iio_storage_bytes_for_timestamp() -> iio_storage_bytes_for_si()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->pollfunc->irq | s32min-s32max |
| PARAM_VALUE | 0 | indio_dev->pollfunc->type | s32min-s32max |
| PARAM_VALUE | 0 | indio_dev->trig->attached_own_device | 0-1 |
| 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 |
| UNITS | 1 | scan_index | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |