Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/imu/bmi270/bmi270_core.c bmi270_anymotion_event_en() -> bmi270_update_feature_reg()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->irq_pin 1-2
PARAM_VALUE 0 data->regmap 4096-ptr_max
PARAM_VALUE 0 data->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 data->regmap->cache_dirty 0-1
PARAM_VALUE 0 *data->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 id 0
PARAM_VALUE 2 mask 8192,16384,32768
PARAM_VALUE 3 val 0,8192,16384,32768
CAPPED_DATA 0 data->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 data->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 data $0
FUZZY_MAX 2 mask 32768
BIT_INFO 2 mask 0x0,0xe000
BIT_INFO 3 val 0x0,0xe000
HARD_MAX 2 mask 32768
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/imu/bmi270/bmi270_core.c bmi270_anymotion_event_en() -> bmi270_update_feature_reg()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->irq_pin 1-2
PARAM_VALUE 0 data->regmap 4096-ptr_max
PARAM_VALUE 0 data->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 data->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 data->regmap->cache_dirty 0-1
PARAM_VALUE 0 *data->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 id 1
PARAM_VALUE 2 mask 32768
PARAM_VALUE 3 val 0,32768
CAPPED_DATA 0 data->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 data->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 data $0
BIT_INFO 3 val 0x0,0x8000
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/imu/bmi270/bmi270_core.c bmi270_enable_steps() -> bmi270_update_feature_reg()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->steps_enabled 0
PARAM_VALUE 1 id 4
PARAM_VALUE 2 mask 4096
PARAM_VALUE 3 val 0,4096
DATA_SOURCE 0 data $0
BIT_INFO 3 val 0x0,0x1000
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 val 0,4096[c]
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/iio/imu/bmi270/bmi270_core.c bmi270_nomotion_event_en() -> bmi270_update_feature_reg()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->irq_pin 1-2
PARAM_VALUE 1 id 2
PARAM_VALUE 2 mask 57344
PARAM_VALUE 3 val 0,8192-57344
DATA_SOURCE 0 data $0
BIT_INFO 3 val 0x0,0xe000
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/imu/bmi270/bmi270_core.c bmi270_nomotion_event_en() -> bmi270_update_feature_reg()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->irq_pin 1-2
PARAM_VALUE 0 data->regmap 4096-ptr_max
PARAM_VALUE 0 data->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 data->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 data->regmap->cache_dirty 0-1
PARAM_VALUE 0 *data->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 id 3
PARAM_VALUE 2 mask 32768
PARAM_VALUE 3 val 0,32768
CAPPED_DATA 0 data->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 data->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 data $0
BIT_INFO 3 val 0x0,0x8000
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/imu/bmi270/bmi270_core.c bmi270_trigger_probe() -> bmi270_update_feature_reg()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->chip_info 4096-ptr_max
PARAM_VALUE 0 data->chip_info->chip_id 36,39
PARAM_VALUE 0 data->chip_info->fw_name 5245406051299598336,9040654166593765376
PARAM_VALUE 0 data->dev 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 data->dev->driver_data 4096-ptr_max
PARAM_VALUE 0 data->irq_pin 0
PARAM_VALUE 0 data->mutex.dep_map->name 0-255
PARAM_VALUE 0 data->mutex.first_waiter 0
PARAM_VALUE 0 data->mutex.magic 4096-ptr_max
PARAM_VALUE 0 data->mutex.osq.tail.counter 0
PARAM_VALUE 0 data->mutex.owner.counter 0
PARAM_VALUE 0 data->regmap 4096-ptr_max
PARAM_VALUE 0 data->regmap->async 0
PARAM_VALUE 0 data->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 data->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 data->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 data->regmap->cache_dirty 1
PARAM_VALUE 0 data->trig 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 data->trig->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 data->trig->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 data->trig->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 data->trig->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.flags 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.fwnode->dev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.fwnode->dev->p 1-u64max
PARAM_VALUE 0 data->trig->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 data->trig->dev.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.kobj->name 0-255
PARAM_VALUE 0 data->trig->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 data->trig->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 data->trig->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 data->trig->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 data->trig->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 data->trig->dev.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 data->trig->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 data->trig->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 data->trig->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 data->trig->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 data->trig->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 data->trig->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->trig->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 data->trig->id 0-s32max
PARAM_VALUE 0 data->trig->list.next->next 4096-ptr_max
PARAM_VALUE 0 data->trig->list.prev->next 4096-ptr_max
PARAM_VALUE 0 data->trig->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 data->trig->name 1-u64max
PARAM_VALUE 0 data->trig->ops 3693500333959561216
PARAM_VALUE 0 data->trig->owner 0
PARAM_VALUE 0 data->trig->pool_lock.dep_map->name 0-255
PARAM_VALUE 0 data->trig->pool_lock.first_waiter 0
PARAM_VALUE 0 data->trig->pool_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->trig->pool_lock.osq.tail.counter 0
PARAM_VALUE 0 data->trig->pool_lock.owner.counter 0
PARAM_VALUE 0 data->trig->subirq_base 0-s32max
PARAM_VALUE 0 data->trig->subirq_chip.irq_mask 6200630674748592128
PARAM_VALUE 0 data->trig->subirq_chip.irq_unmask 3807929484982157312
PARAM_VALUE 0 data->trig->subirq_chip.name 1-u64max
PARAM_VALUE 0 *data->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 id 0
PARAM_VALUE 2 mask 57344
PARAM_VALUE 3 val 0,8192-57344
BUF_SIZE 0 data->dev 1616
BUF_SIZE 0 data->trig 2224
BUF_SIZE 0 data->trig->ops 24
CAPPED_DATA 0 data->regmap->precious_table->n_no_ranges 1
CAPPED_DATA 0 data->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 data->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 data->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 data->regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 data->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 data->regmap->wr_table->n_yes_ranges 1
CAPPED_DATA 0 data->trig->name 1
DATA_SOURCE 0 data $0
BIT_INFO 3 val 0x0,0xe000
RX_PATH
TASK_NOT_RUNNING

drivers/iio/imu/bmi270/bmi270_core.c bmi270_write_event_value() -> bmi270_update_feature_reg()

Type Parameter Key Value
PARAM_VALUE 1 id 4
PARAM_VALUE 2 mask 1023
PARAM_VALUE 3 val 0-1023
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/imu/bmi270/bmi270_core.c bmi270_write_event_value() -> bmi270_update_feature_reg()

Type Parameter Key Value
PARAM_VALUE 0 *data->regmap->cache->data 0-4294967295
PARAM_VALUE 1 id 1,3
PARAM_VALUE 2 mask 2047
PARAM_VALUE 3 val 0-2047
DATA_SOURCE 1 id r bmi270_motion_reg
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/imu/bmi270/bmi270_core.c bmi270_write_event_value() -> bmi270_update_feature_reg()

Type Parameter Key Value
PARAM_VALUE 1 id 0,2
PARAM_VALUE 2 mask 8191
PARAM_VALUE 3 val 0-8191
DATA_SOURCE 1 id r bmi270_motion_reg
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/imu/bmi270/bmi270_core.c bmi270_write_raw() -> bmi270_update_feature_reg()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->steps_enabled 1
PARAM_VALUE 1 id 4
PARAM_VALUE 2 mask 1024
PARAM_VALUE 3 val 0,1024
BIT_INFO 3 val 0x0,0x400
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