Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/accel/adxl372.c adxl372_setup() -> adxl372_set_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->act_proc_mode 2
PARAM_VALUE 0 st->chip_info 4096-ptr_max
PARAM_VALUE 0 st->dev 4096-ptr_max
PARAM_VALUE 0 st->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 st->dev->driver_data 4096-ptr_max
PARAM_VALUE 0 st->op_mode 0
PARAM_VALUE 0 st->regmap 4096-ptr_max
PARAM_VALUE 0 st->regmap->async 0
PARAM_VALUE 0 st->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 st->regmap->cache_dirty 0-1
PARAM_VALUE 0 st->regmap->lock 4096-ptr_max
PARAM_VALUE 0 st->regmap->unlock 4096-ptr_max
PARAM_VALUE 0 st->threshold_m.dep_map->name 0-255
PARAM_VALUE 0 st->threshold_m.first_waiter 0
PARAM_VALUE 0 st->threshold_m.magic 4096-ptr_max
PARAM_VALUE 0 st->threshold_m.osq.tail.counter 0
PARAM_VALUE 0 st->threshold_m.owner.counter 0
PARAM_VALUE 1 bw 4
CAPPED_DATA 0 st->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 st->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 st->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 st $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 st->irq

drivers/iio/accel/adxl372.c adxl372_write_raw() -> adxl372_set_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->bw 1-u32max
PARAM_VALUE 0 st->chip_info 4096-ptr_max
PARAM_VALUE 0 st->odr 0-4294967294
PARAM_VALUE 0 st->regmap 4096-ptr_max
PARAM_VALUE 0 st->regmap->async 0
PARAM_VALUE 1 bw 0-4294967294
CAPPED_DATA 0 st->chip_info->num_freqs 1
CAPPED_DATA 0 st->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 st->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 st->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 st->regmap->wr_table->n_yes_ranges 1
CAPPED_DATA 1 bw 1
DATA_SOURCE 1 bw r adxl372_find_closest_match
PARAM_COMPARE 1 bw < $0->bw
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/iio/accel/adxl372.c adxl372_write_raw() -> adxl372_set_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->chip_info 4096-ptr_max
CAPPED_DATA 0 st->chip_info->num_freqs 1
CAPPED_DATA 1 bw 1
DATA_SOURCE 1 bw r adxl372_find_closest_match
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex