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/cros_ec_accel_legacy.c, line 56
- drivers/iio/common/cros_ec_sensors/cros_ec_activity.c
- drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c, line 57
- drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c
- drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
- drivers/iio/light/cros_ec_light_prox.c
- drivers/iio/pressure/cros_ec_baro.c
Smatch caller information:
drivers/iio/pressure/cros_ec_baro.c cros_ec_baro_read() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 4 |
| PARAM_VALUE | 0 | state->param.sensor_range.data | (-1) |
| PARAM_VALUE | 1 | opt_length | 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/pressure/cros_ec_baro.c cros_ec_baro_write() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 4 |
| PARAM_VALUE | 0 | state->param.sensor_range.roundup | 1 |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->param.sensor_range.data | s32min-s32max |
| 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/common/cros_ec_sensors/cros_ec_lid_angle.c cros_ec_sensors_read_lid_angle() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->param.cmd | 14 |
| PARAM_VALUE | 1 | opt_length | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | opt_length | unit_byte |
| HALF_LOCKED2 | &st->cmd_lock | ||
| HALF_LOCKED2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock |
drivers/iio/common/cros_ec_sensors/cros_ec_activity.c cros_ec_activity_read_event_config() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->param.cmd | 12 |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/common/cros_ec_sensors/cros_ec_activity.c cros_ec_activity_sensors_read_raw() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->param.cmd | 20 |
| PARAM_VALUE | 0 | state->param.get_activity.activity | 4 |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/common/cros_ec_sensors/cros_ec_activity.c cros_ec_activity_write_event_config() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->param.cmd | 13 |
| PARAM_VALUE | 0 | state->param.set_activity.activity | 1,4 |
| PARAM_VALUE | 0 | state->param.set_activity.enable | 0-1 |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/common/cros_ec_sensors/cros_ec_activity.c cros_ec_sensors_probe() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->param.cmd | 12 |
| PARAM_VALUE | 0 | state->read_ec_sensors_data | 5621789868878979072 |
| PARAM_VALUE | 0 | state->resp | 4096-ptr_max |
| PARAM_VALUE | 0 | state->type | 0-255 |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensor_get_report_latency() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 2 |
| PARAM_VALUE | 0 | state->param.ec_rate.data | (-1) |
| PARAM_VALUE | 1 | opt_length | 0 |
| CAPPED_DATA | 0 | &state->cmd_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &state->cmd_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensor_set_report_latency() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 2 |
| PARAM_VALUE | 0 | state->param.ec_rate.data | (-2246483)-u16max |
| PARAM_VALUE | 1 | opt_length | 0 |
| CAPPED_DATA | 0 | state->param.ec_rate.data | 1 |
| CAPPED_DATA | 0 | &state->cmd_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &state->cmd_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensor_set_report_latency() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->ec | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->din | 1-u64max |
| PARAM_VALUE | 0 | state->ec->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | state->ec->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->ec->priv->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->lock.owner | (-1) |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->task->delays->lock.owner | (-1) |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->task->delays->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->task->delays->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | state->ec->priv->xfer_ack.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | state->ec->priv->xfer_ack.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->msg | 4096-ptr_max |
| PARAM_VALUE | 0 | state->msg->insize | 0-u16max |
| PARAM_VALUE | 0 | state->msg->outsize | 0-u16max |
| PARAM_VALUE | 0 | state->msg->result | 0 |
| PARAM_VALUE | 0 | state->param.cmd | 8 |
| PARAM_VALUE | 0 | state->param.ec_rate.data | (-2246483)-u16max |
| PARAM_VALUE | 0 | *state->msg->data | 0-255 |
| PARAM_VALUE | 1 | opt_length | 0 |
| CAPPED_DATA | 0 | state->msg->outsize | 1 |
| CAPPED_DATA | 0 | state->param.ec_rate.data | 1 |
| CAPPED_DATA | 0 | &state->cmd_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &state->cmd_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensors_calibrate() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 10 |
| PARAM_VALUE | 0 | state->param.perform_calib.enable | 0-1 |
| PARAM_VALUE | 1 | opt_length | 0 |
| CAPPED_DATA | 0 | &state->cmd_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &state->cmd_lock | |
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensors_core_init() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | state->cmd_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | state->cmd_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | state->ec | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->host_event_wake_mask | 48879,4288675598 |
| PARAM_VALUE | 0 | state->ec->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | state->ec->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->ec->priv->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->ec->priv->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->task->se.avg.util_avg | 0-4294967295 |
| PARAM_VALUE | 0 | state->ec->priv->xfer_ack.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->ec->priv->xfer_ack.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | state->ec->priv->xfer_ack.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->msg | 4096-ptr_max |
| PARAM_VALUE | 0 | state->msg->data | 0 |
| PARAM_VALUE | 0 | state->msg->outsize | 13 |
| PARAM_VALUE | 0 | state->msg->version | 0-31,u32max |
| PARAM_VALUE | 0 | state->param.cmd | 1 |
| PARAM_VALUE | 0 | state->resp | 0 |
| PARAM_VALUE | 0 | *state->ec->priv->high_pri_worker->task->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | opt_length | 0 |
| BUF_SIZE | 0 | state->msg | 33-65555 |
| BUF_SIZE | 0 | state->msg->data | 13-u16max |
| BIT_INFO | 0 | state->msg->version | 0x0,0x1f |
| MEM_ZERO | 0 | state->msg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensors_core_read() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 3 |
| PARAM_VALUE | 0 | state->param.sensor_odr.data | (-1) |
| PARAM_VALUE | 1 | opt_length | 0 |
| DATA_SOURCE | 0 | state | $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/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensors_core_write() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 3 |
| PARAM_VALUE | 0 | state->param.sensor_odr.roundup | 1 |
| PARAM_VALUE | 1 | opt_length | 0 |
| DATA_SOURCE | 0 | state | $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/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensors_core_write() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->ec | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->din | 1-u64max |
| PARAM_VALUE | 0 | state->ec->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | state->ec->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | state->ec->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->ec->priv->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->lock.owner | (-1) |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->task->delays->lock.owner | (-1) |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->task->delays->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->ec->priv->high_pri_worker->task->delays->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | state->ec->priv->xfer_ack.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | state->ec->priv->xfer_ack.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->msg | 4096-ptr_max |
| PARAM_VALUE | 0 | state->msg->insize | 0-u16max |
| PARAM_VALUE | 0 | state->msg->outsize | 0-u16max |
| PARAM_VALUE | 0 | state->msg->result | 0 |
| PARAM_VALUE | 0 | state->param.cmd | 8 |
| PARAM_VALUE | 0 | state->param.sensor_odr.data | 0 |
| PARAM_VALUE | 0 | state->param.sensor_odr.roundup | 1 |
| PARAM_VALUE | 0 | *state->msg->data | 0-255 |
| PARAM_VALUE | 1 | opt_length | 0 |
| CAPPED_DATA | 0 | state->msg->outsize | 1 |
| DATA_SOURCE | 0 | state | $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/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensors_read_cmd() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->param.cmd | 6 |
| PARAM_VALUE | 1 | opt_length | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | opt_length | unit_byte |
| HALF_LOCKED2 | &st->cmd_lock | ||
| HALF_LOCKED2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensors_resume() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 4 |
| PARAM_VALUE | 0 | state->param.sensor_range.roundup | 1 |
| PARAM_VALUE | 0 | state->range_updated | 1 |
| PARAM_VALUE | 1 | opt_length | 0 |
| CAPPED_DATA | 0 | &state->cmd_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &state->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() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 11 |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c cros_ec_sensors_read() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 18 |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c cros_ec_sensors_read() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 4 |
| PARAM_VALUE | 0 | state->param.sensor_range.data | (-1) |
| PARAM_VALUE | 1 | opt_length | 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/common/cros_ec_sensors/cros_ec_sensors.c cros_ec_sensors_write() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 11 |
| PARAM_VALUE | 0 | state->param.sensor_offset.flags | 1 |
| PARAM_VALUE | 0 | state->param.sensor_offset.temp | s16min |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c cros_ec_sensors_write() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 18 |
| PARAM_VALUE | 0 | state->param.sensor_offset.flags | 1 |
| PARAM_VALUE | 0 | state->param.sensor_scale.temp | s16min |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c cros_ec_sensors_write() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 4 |
| PARAM_VALUE | 0 | state->param.sensor_range.roundup | 1 |
| PARAM_VALUE | 0 | state->type | 0-1,3-u32max |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->param.sensor_range.data | s32min-s32max |
| 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/light/cros_ec_light_prox.c cros_ec_light_prox_read() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 11 |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/light/cros_ec_light_prox.c cros_ec_light_prox_read() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 4 |
| PARAM_VALUE | 0 | state->param.sensor_range.data | (-1) |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/light/cros_ec_light_prox.c cros_ec_light_prox_write() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 11 |
| PARAM_VALUE | 0 | state->param.sensor_offset.flags | 1 |
| PARAM_VALUE | 0 | state->param.sensor_offset.temp | s16min |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/light/cros_ec_light_prox.c cros_ec_light_prox_write() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->cmd_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->param.cmd | 4 |
| PARAM_VALUE | 1 | opt_length | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->curr_range | s32min-s32max |
| USER_DATA | 0 | state->param.sensor_range.data | s32min-s32max |
| LOCK2 | &of->mutex | ||
| LOCK2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/accel/cros_ec_accel_legacy.c cros_ec_accel_legacy_read_cmd() -> cros_ec_motion_send_host_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->param.cmd | 0 |
| PARAM_VALUE | 0 | state->param.dump.max_sensor_count | 2 |
| PARAM_VALUE | 1 | opt_length | 18 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | opt_length | unit_byte |
| HALF_LOCKED2 | &st->cmd_lock | ||
| HALF_LOCKED2 | &st->core.cmd_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cros_ec_sensors_core_state)->cmd_lock |