Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/adc/ad7291.c ad7291_event_handler() -> ad7291_i2c_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| DATA_SOURCE | 0 | chip | r iio_priv |
| BIT_INFO | 2 | data | 0x4,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iio/adc/ad7291.c ad7291_event_handler() -> ad7291_i2c_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| DATA_SOURCE | 0 | chip | r iio_priv |
| BIT_INFO | 2 | data | 0x0,0xfffb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iio/adc/ad7291.c ad7291_probe() -> ad7291_i2c_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | chip->client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->command | 168,184 |
| PARAM_VALUE | 0 | chip->reg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->reg->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->reg->rdev->ena_gpio_state | 1 |
| PARAM_VALUE | 0 | chip->reg->rdev->ena_pin->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->notifier.head->priority | s32min-s32max |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->load | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->load_updated | 0-1 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->reg->rdev->regmap->async | 0-1 |
| PARAM_VALUE | 0 | chip->reg->rdev->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->reg->rdev->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | chip->reg->rdev->supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->use_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->state_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->state_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->state_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->state_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | reg | 0 |
| PARAM_VALUE | 2 | data | 2 |
| BUF_SIZE | 0 | chip->reg | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | chip->client->irq | 1 |
| FUZZY_MAX | 0 | chip->command | 168 |
| BIT_INFO | 0 | chip->command | 0xa8,0xb8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->client->irq |
drivers/iio/adc/ad7291.c ad7291_probe() -> ad7291_i2c_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | chip->client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->command | 168,184 |
| PARAM_VALUE | 0 | chip->reg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->reg->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->reg->rdev->ena_gpio_state | 1 |
| PARAM_VALUE | 0 | chip->reg->rdev->ena_pin->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->notifier.head->priority | s32min-s32max |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->load | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->load_updated | 0-1 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->reg->rdev->regmap->async | 0-1 |
| PARAM_VALUE | 0 | chip->reg->rdev->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->reg->rdev->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | chip->reg->rdev->supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->reg->rdev->use_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->state_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->state_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->state_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->state_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | reg | 0 |
| PARAM_VALUE | 2 | data | 168,184 |
| BUF_SIZE | 0 | chip->reg | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | chip->client->irq | 1 |
| FUZZY_MAX | 0 | chip->command | 168 |
| FUZZY_MAX | 2 | data | 168 |
| BIT_INFO | 0 | chip->command | 0xa8,0xffffffffffffffff |
| BIT_INFO | 2 | data | 0xa8,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->client->irq |
drivers/iio/adc/ad7291.c ad7291_read_raw() -> ad7291_i2c_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->state_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->state_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->state_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->state_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->state_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->state_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | reg | 0 |
| CAPPED_DATA | 0 | &chip->state_lock | 1 |
| BIT_INFO | 0 | chip->command | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &chip->state_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct ad7291_chip_info)->state_lock |
drivers/iio/adc/ad7291.c ad7291_write_event_config() -> ad7291_i2c_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->state_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->state_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->state_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->state_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->state_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->state_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | reg | 0 |
| CAPPED_DATA | 0 | &chip->state_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &chip->state_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ad7291_chip_info)->state_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/adc/ad7291.c ad7291_write_event_value() -> ad7291_i2c_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | data | 0-99,65437-u16max |
| DATA_SOURCE | 2 | data | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |