Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/gyro/fxas21002c_core.c fxas21002c_chip_init() -> fxas21002c_mode_set()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->chip_id 214-215
PARAM_VALUE 0 data->lock.dep_map->name 0-255
PARAM_VALUE 0 data->lock.first_waiter 0
PARAM_VALUE 0 data->lock.magic 4096-ptr_max
PARAM_VALUE 0 data->lock.osq.tail.counter 0
PARAM_VALUE 0 data->lock.owner.counter 0
PARAM_VALUE 0 data->regmap 4096-ptr_max
PARAM_VALUE 0 data->regmap_fields 4096-ptr_max
PARAM_VALUE 0 data->vdd 4096-ptr_max
PARAM_VALUE 0 data->vdd->enable_count 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->ena_gpio_state 1
PARAM_VALUE 0 data->vdd->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 data->vdd->rdev->reg_data->load 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->reg_data->load_updated 0-1
PARAM_VALUE 0 data->vdd->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 data->vdd->rdev->regmap->async 0-1
PARAM_VALUE 0 data->vdd->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 data->vdd->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 data->vdd->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->use_count 0-4294967295
PARAM_VALUE 0 data->vddio 4096-ptr_max
PARAM_VALUE 0 data->vddio->enable_count 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->ena_gpio_state 1
PARAM_VALUE 0 data->vddio->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 data->vddio->rdev->reg_data->load 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->reg_data->load_updated 0-1
PARAM_VALUE 0 data->vddio->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 data->vddio->rdev->regmap->async 0-1
PARAM_VALUE 0 data->vddio->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 data->vddio->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 data->vddio->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->use_count 0-4294967295
PARAM_VALUE 1 mode 0
CAPPED_DATA 0 data->vdd->rdev 1
CAPPED_DATA 0 data->vdd->rdev->coupling_desc.n_coupled 1
CAPPED_DATA 0 data->vddio->rdev 1
CAPPED_DATA 0 data->vddio->rdev->coupling_desc.n_coupled 1
DATA_SOURCE 0 data $0
BIT_INFO 0 data->chip_id 0xd6,0xd7
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 data->irq

drivers/iio/gyro/fxas21002c_core.c fxas21002c_resume() -> fxas21002c_mode_set()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->vdd 4096-ptr_max
PARAM_VALUE 0 data->vdd->enable_count 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->ena_gpio_state 1
PARAM_VALUE 0 data->vdd->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 data->vdd->rdev->reg_data->load 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->reg_data->load_updated 0-1
PARAM_VALUE 0 data->vdd->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 data->vdd->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 data->vdd->rdev->reg_data->lock.dep_map->name 0-255
PARAM_VALUE 0 data->vdd->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 data->vdd->rdev->regmap->async 0-1
PARAM_VALUE 0 data->vdd->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 data->vdd->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 data->vdd->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 data->vdd->rdev->use_count 0-4294967295
PARAM_VALUE 0 data->vddio->enable_count 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->ena_gpio_state 1
PARAM_VALUE 0 data->vddio->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 data->vddio->rdev->reg_data->load 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->reg_data->load_updated 0-1
PARAM_VALUE 0 data->vddio->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 data->vddio->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 data->vddio->rdev->reg_data->lock.dep_map->name 0-255
PARAM_VALUE 0 data->vddio->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 data->vddio->rdev->regmap->async 0-1
PARAM_VALUE 0 data->vddio->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 data->vddio->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 data->vddio->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 data->vddio->rdev->use_count 0-4294967295
CAPPED_DATA 0 data->vdd->rdev 1
CAPPED_DATA 0 data->vdd->rdev->coupling_desc.n_coupled 1
CAPPED_DATA 0 data->vddio->rdev 1
CAPPED_DATA 0 data->vddio->rdev->coupling_desc.n_coupled 1
DATA_SOURCE 0 data r iio_priv
RX_PATH
TASK_NOT_RUNNING

drivers/iio/gyro/fxas21002c_core.c fxas21002c_runtime_resume() -> fxas21002c_mode_set()

Type Parameter Key Value
PARAM_VALUE 1 mode 2
DATA_SOURCE 0 data r iio_priv

drivers/iio/gyro/fxas21002c_core.c fxas21002c_runtime_suspend() -> fxas21002c_mode_set()

Type Parameter Key Value
PARAM_VALUE 1 mode 1
DATA_SOURCE 0 data r iio_priv

drivers/iio/gyro/fxas21002c_core.c fxas21002c_suspend() -> fxas21002c_mode_set()

Type Parameter Key Value
PARAM_VALUE 1 mode 0
DATA_SOURCE 0 data r iio_priv
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/iio/gyro/fxas21002c_core.c fxas21002c_write() -> fxas21002c_mode_set()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->lock.dep_map->name 0-255
PARAM_VALUE 0 data->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 data->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 data->lock.wait_lock.owner (-1)
PARAM_VALUE 0 data->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 mode 1
CAPPED_DATA 0 &data->lock 1
DATA_SOURCE 0 data $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 data->irq
LOCK2 0 &data->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fxas21002c_data)->lock

drivers/iio/gyro/fxas21002c_core.c fxas21002c_write() -> fxas21002c_mode_set()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->lock.dep_map->name 0-255
PARAM_VALUE 0 data->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 data->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 data->lock.wait_lock.owner (-1)
PARAM_VALUE 0 data->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 data->regmap_fields 4096-ptr_max
CAPPED_DATA 0 data->mode 1
CAPPED_DATA 0 &data->lock 1
DATA_SOURCE 0 data $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 data->irq
LOCK2 0 &data->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fxas21002c_data)->lock