Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/magnetometer/ak8975.c ak8975_remove() -> ak8975_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/iio/magnetometer/ak8975.c ak8975_runtime_resume() -> ak8975_set_mode()
| 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 | 0-1 |
| PARAM_VALUE | 0 | data->vdd->rdev->ena_pin->enable_count | 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_dirty | 0-1 |
| PARAM_VALUE | 0 | data->vdd->rdev->supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 1 | mode | 0 |
| CAPPED_DATA | 0 | data->vdd->rdev | 1 |
drivers/iio/magnetometer/ak8975.c ak8975_runtime_suspend() -> ak8975_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 0 |
drivers/iio/magnetometer/ak8975.c ak8975_setup() -> ak8975_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->adapter->algo | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->adapter->algo->functionality | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->client->adapter->bus_lock.rtmutex.owner | 0-1 |
| PARAM_VALUE | 0 | data->client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | data->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | data->client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | data->client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | data->client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | data->def | 4096-ptr_max |
| PARAM_VALUE | 0 | data->eoc_gpiod | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->eoc_irq | 0 |
| PARAM_VALUE | 0 | data->reset_gpiod | 0,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.first_waiter->list.prev->prev | 5159360019465732096 |
| 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->vid | 4096-ptr_max |
| PARAM_VALUE | 0 | data->vid->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->ena_gpio_state | 1 |
| PARAM_VALUE | 0 | data->vid->rdev->ena_pin->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->notifier.head->priority | s32min-s32max |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->load | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->load_updated | 0-1 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | data->vid->rdev->regmap->async | 0-1 |
| PARAM_VALUE | 0 | data->vid->rdev->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | data->vid->rdev->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | data->vid->rdev->supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->use_count | 0-4294967295 |
| PARAM_VALUE | 0 | *data->orientation->rotation | 0-255 |
| PARAM_VALUE | 0 | *data->vdd->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *data->vid->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | mode | 3 |
| BUF_SIZE | 0 | data->eoc_gpiod | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | data->reset_gpiod | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | data->vdd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | data->vid | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | data->client->irq | 1 |
| CAPPED_DATA | 0 | data->vdd->rdev | 1 |
| CAPPED_DATA | 0 | data->vdd->rdev->coupling_desc.n_coupled | 1 |
| CAPPED_DATA | 0 | data->vid->rdev | 1 |
| CAPPED_DATA | 0 | data->vid->rdev->coupling_desc.n_coupled | 1 |
| DATA_SOURCE | 0 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | data->client->irq |
drivers/iio/magnetometer/ak8975.c ak8975_setup() -> ak8975_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->adapter->algo | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->adapter->algo->functionality | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | data->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | data->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | data->client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | data->client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | data->def | 4096-ptr_max |
| PARAM_VALUE | 0 | data->def->ctrl_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | data->eoc_gpiod | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->eoc_irq | 0 |
| PARAM_VALUE | 0 | data->reset_gpiod | 0,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.first_waiter->list.prev->prev | 5159360019465732096 |
| 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->vid | 4096-ptr_max |
| PARAM_VALUE | 0 | data->vid->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->ena_gpio_state | 1 |
| PARAM_VALUE | 0 | data->vid->rdev->ena_pin->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->notifier.head->priority | s32min-s32max |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->load | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->load_updated | 0-1 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | data->vid->rdev->regmap->async | 0-1 |
| PARAM_VALUE | 0 | data->vid->rdev->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | data->vid->rdev->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | data->vid->rdev->supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | data->vid->rdev->use_count | 0-4294967295 |
| PARAM_VALUE | 0 | *data->orientation->rotation | 0-255 |
| PARAM_VALUE | 0 | *data->vdd->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *data->vid->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | mode | 0 |
| BUF_SIZE | 0 | data->eoc_gpiod | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | data->reset_gpiod | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | data->vdd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | data->vid | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | data->client->irq | 1 |
| CAPPED_DATA | 0 | data->vdd->rdev | 1 |
| CAPPED_DATA | 0 | data->vdd->rdev->coupling_desc.n_coupled | 1 |
| CAPPED_DATA | 0 | data->vid->rdev | 1 |
| CAPPED_DATA | 0 | data->vid->rdev->coupling_desc.n_coupled | 1 |
| DATA_SOURCE | 0 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | data->client->irq |
drivers/iio/magnetometer/ak8975.c ak8975_start_read_axis() -> ak8975_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->client->dev.power.wakeirq->status | 0-4294967295 |
| 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 |
| DATA_SOURCE | 0 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &data->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct ak8975_data)->lock |