Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensors_capture() -> (struct cros_ec_sensors_core_state)->read_ec_sensors_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indio_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->active_scan_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | indio_dev->scan_bytes | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 2 | data | 16 |
| CONTAINER | 2 | *(-240+224) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &st->cmd_lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c cros_ec_sensors_read() -> (struct cros_ec_sensors_core_state)->read_ec_sensors_data()
| 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 | 1 | scan_mask | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | data | 3602336605085585408 |
| PARAM_VALUE | 2 | *data | 0 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock |
drivers/iio/accel/cros_ec_accel_legacy.c cros_ec_accel_legacy_read() -> (struct cros_ec_sensors_core_state)->read_ec_sensors_data()
| 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 | 1 | scan_mask | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | data | 8844736974433382400 |
| PARAM_VALUE | 2 | *data | 0 |
| DATA_SOURCE | 0 | indio_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &st->cmd_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock |