Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/chemical/scd4x.c scd4x_probe() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->client 4096-ptr_max
PARAM_VALUE 0 state->client->adapter 4096-ptr_max
PARAM_VALUE 0 state->client->debugfs 4096-u64max
PARAM_VALUE 0 state->client->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 state->client->devres_group_id 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->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 1 cmd 16262
BUF_SIZE 0 state->vdd s32min,(-1)-s32max
CAPPED_DATA 0 state->client->irq 1
CAPPED_DATA 0 state->vdd->rdev 1
CAPPED_DATA 0 state->vdd->rdev->coupling_desc.n_coupled 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->client->irq

drivers/iio/chemical/scd4x.c scd4x_probe() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->client 4096-ptr_max
PARAM_VALUE 0 state->client->adapter 4096-ptr_max
PARAM_VALUE 0 state->client->adapter->algo->master_xfer 1-u64max
PARAM_VALUE 0 state->client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 state->client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 state->client->debugfs 4096-u64max
PARAM_VALUE 0 state->client->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 state->client->devres_group_id 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->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 1 cmd 8625
BUF_SIZE 0 state->vdd s32min,(-1)-s32max
CAPPED_DATA 0 state->client->adapter->retries 1
CAPPED_DATA 0 state->client->irq 1
CAPPED_DATA 0 state->vdd->rdev 1
CAPPED_DATA 0 state->vdd->rdev->coupling_desc.n_coupled 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->client->irq

drivers/iio/chemical/scd4x.c scd4x_read() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 16262
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &state->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct scd4x_state)->lock

drivers/iio/chemical/scd4x.c scd4x_read() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->client 4096-ptr_max
PARAM_VALUE 0 state->client->adapter 4096-ptr_max
PARAM_VALUE 0 state->client->adapter->algo->master_xfer 1-u64max
PARAM_VALUE 0 state->client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 state->client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 state->client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 8625
CAPPED_DATA 0 state->client->adapter->retries 1
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &state->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct scd4x_state)->lock

drivers/iio/chemical/scd4x.c scd4x_resume() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
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 1 cmd 8625
CAPPED_DATA 0 state->vdd->rdev 1
CAPPED_DATA 0 state->vdd->rdev->coupling_desc.n_coupled 1
RX_PATH
TASK_NOT_RUNNING

drivers/iio/chemical/scd4x.c scd4x_send_command() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 1 cmd 16262
BUF_SIZE 0 state->vdd s32min,(-1)-s32max
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->client->irq
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &state->lock

drivers/iio/chemical/scd4x.c scd4x_send_command() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->client 4096-ptr_max
PARAM_VALUE 0 state->client->adapter 4096-ptr_max
PARAM_VALUE 0 state->client->adapter->algo->master_xfer 1-u64max
PARAM_VALUE 0 state->client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 state->client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 1 cmd 8625
BUF_SIZE 0 state->vdd s32min,(-1)-s32max
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->client->irq
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &state->lock

drivers/iio/chemical/scd4x.c scd4x_stop_meas() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 1 cmd 16262
DATA_SOURCE 0 state $0
NOCHECK_CALL

drivers/iio/chemical/scd4x.c scd4x_suspend() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 1 cmd 16262
RX_PATH
TASK_NOT_RUNNING

drivers/iio/chemical/scd4x.c scd4x_wait_meas_poll() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->client 4096-ptr_max
PARAM_VALUE 0 state->client->adapter 4096-ptr_max
PARAM_VALUE 0 state->client->adapter->algo->master_xfer 1-u64max
PARAM_VALUE 0 state->client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 state->client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 8625
CAPPED_DATA 0 state->client->adapter->retries 1
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &state->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct scd4x_state)->lock

drivers/iio/chemical/scd4x.c scd4x_write() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 16262
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &state->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct scd4x_state)->lock

drivers/iio/chemical/scd4x.c scd4x_write() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->client 4096-ptr_max
PARAM_VALUE 0 state->client->adapter 4096-ptr_max
PARAM_VALUE 0 state->client->adapter->algo->master_xfer 1-u64max
PARAM_VALUE 0 state->client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 state->client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 8625
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &state->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct scd4x_state)->lock

drivers/iio/chemical/scd4x.c scd4x_write_and_fetch() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->client 4096-ptr_max
PARAM_VALUE 0 state->client->adapter 4096-ptr_max
PARAM_VALUE 0 state->client->adapter->algo->master_xfer 1-u64max
PARAM_VALUE 0 state->client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 state->client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 8625
CAPPED_DATA 0 state->client->adapter->retries 1
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &state->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct scd4x_state)->lock

drivers/iio/chemical/scd4x.c scd4x_write_and_fetch() -> scd4x_send_command()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->client 4096-ptr_max
PARAM_VALUE 0 state->client->adapter 4096-ptr_max
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 8625
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 0 &state->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct scd4x_state)->lock