Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/chemical/scd30_core.c calibration_auto_enable_show() -> scd30_command_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 5 |
| PARAM_VALUE | 2 | val | 4247983655276716032 |
| 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/chemical/scd30_core.c calibration_forced_value_show() -> scd30_command_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 6 |
| PARAM_VALUE | 2 | val | 649830662273896448 |
| 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/chemical/scd30_core.c scd30_probe() -> scd30_command_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->command | 803469960363798528,6177613145517948928 |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | state->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | state->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | state->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | state->meas_interval | 2 |
| PARAM_VALUE | 0 | state->meas_ready.done | 0 |
| PARAM_VALUE | 0 | state->meas_ready.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | state->meas_ready.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | state->meas_ready.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->meas_ready.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->meas_ready.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->meas_ready.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->meas_ready.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->meas_ready.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->pressure_comp | 1013 |
| PARAM_VALUE | 0 | state->priv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->priv->buf | 2352760508269764608 |
| PARAM_VALUE | 0 | state->priv->meas_ready.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->priv->meas_ready.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | state->priv->meas_ready.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->priv->meas_ready.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | state->priv->num | 0 |
| PARAM_VALUE | 0 | state->priv->num_expected | 7-8,17 |
| PARAM_VALUE | 0 | state->vdd | 4096-ptr_max |
| PARAM_VALUE | 0 | state->vdd->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->vdd->rdev->ena_gpio_state | 1 |
| PARAM_VALUE | 0 | state->vdd->rdev->ena_pin->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->notifier.head->priority | s32min-s32max |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->load | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->load_updated | 0-1 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | state->vdd->rdev->regmap->async | 0-1 |
| PARAM_VALUE | 0 | state->vdd->rdev->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | state->vdd->rdev->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | state->vdd->rdev->supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->use_count | 0-4294967295 |
| PARAM_VALUE | 0 | *state->priv->buf | 0-255 |
| PARAM_VALUE | 1 | cmd | 8 |
| PARAM_VALUE | 2 | val | 2479883883805114368 |
| BUF_SIZE | 0 | state->dev | (-1),1616 |
| BUF_SIZE | 0 | state->priv | (-1),112 |
| BUF_SIZE | 0 | state->vdd | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | state->irq | 1 |
| CAPPED_DATA | 0 | state->vdd->rdev | 1 |
| CAPPED_DATA | 0 | state->vdd->rdev->coupling_desc.n_coupled | 1 |
| STR_LEN | 0 | state->dev | (-1),12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | state->irq |
drivers/iio/chemical/scd30_core.c scd30_read_raw() -> scd30_command_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 2 |
| PARAM_VALUE | 2 | val | 2115512844449001472 |
| 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/chemical/scd30_core.c scd30_read_raw() -> scd30_command_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 7 |
| PARAM_VALUE | 2 | val | 2115512844449001472 |
| 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/chemical/scd30_core.c scd30_reset() -> scd30_command_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->command | 803469960363798528,6177613145517948928 |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | state->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | state->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | state->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | state->meas_interval | 2 |
| PARAM_VALUE | 0 | state->meas_ready.done | 0 |
| PARAM_VALUE | 0 | state->meas_ready.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | state->meas_ready.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | state->meas_ready.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->meas_ready.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->meas_ready.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->meas_ready.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->meas_ready.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->meas_ready.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->pressure_comp | 1013 |
| PARAM_VALUE | 0 | state->priv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->priv->buf | 2352760508269764608 |
| PARAM_VALUE | 0 | state->priv->meas_ready.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | state->priv->meas_ready.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->priv->meas_ready.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | state->priv->meas_ready.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->priv->num | 0 |
| PARAM_VALUE | 0 | state->priv->num_expected | 7-8,17 |
| PARAM_VALUE | 0 | state->vdd | 4096-ptr_max |
| PARAM_VALUE | 0 | state->vdd->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->ena_gpio_state | 1 |
| PARAM_VALUE | 0 | state->vdd->rdev->ena_pin->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->notifier.head->priority | s32min-s32max |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->load | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->load_updated | 0-1 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | state->vdd->rdev->regmap->async | 0-1 |
| PARAM_VALUE | 0 | state->vdd->rdev->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | state->vdd->rdev->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | state->vdd->rdev->supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | state->vdd->rdev->use_count | 0-4294967295 |
| PARAM_VALUE | 0 | *state->priv->buf | 0-255 |
| PARAM_VALUE | 1 | cmd | 3 |
| PARAM_VALUE | 2 | val | 6962670373338054656 |
| BUF_SIZE | 0 | state->dev | (-1),1616 |
| BUF_SIZE | 0 | state->priv | (-1),112 |
| BUF_SIZE | 0 | state->vdd | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | state->vdd->rdev | 1 |
| CAPPED_DATA | 0 | state->vdd->rdev->coupling_desc.n_coupled | 1 |
| DATA_SOURCE | 0 | state | $0 |
| STR_LEN | 0 | state->dev | (-1),12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | state->irq |
drivers/iio/chemical/scd30_core.c scd30_wait_meas_poll() -> scd30_command_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 3 |
| PARAM_VALUE | 2 | val | 5511726977227472896 |
| DATA_SOURCE | 0 | state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |