Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/accel/adxl367.c adxl367_set_act_threshold() -> _adxl367_set_act_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | st->regmap->async | 0 |
| PARAM_VALUE | 0 | st->regmap->cache_dirty | 1 |
| PARAM_VALUE | 1 | act | 0-1 |
| PARAM_VALUE | 2 | threshold | 0-99 |
| CAPPED_DATA | 0 | st->regmap->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | st->regmap->rd_table->n_no_ranges | 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 |
| DATA_SOURCE | 0 | st | $0 |
| DATA_SOURCE | 1 | act | $1 |
| DATA_SOURCE | 2 | threshold | $2 |
| HARD_MAX | 1 | act | 1 |
| 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/accel/adxl367.c adxl367_set_range() -> _adxl367_set_act_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | st->regmap->async | 0 |
| PARAM_VALUE | 0 | st->regmap->cache_dirty | 1 |
| PARAM_VALUE | 1 | act | 0 |
| CAPPED_DATA | 0 | st->regmap->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | st->regmap->rd_table->n_no_ranges | 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/accel/adxl367.c adxl367_set_range() -> _adxl367_set_act_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->act_threshold | 0-8191 |
| PARAM_VALUE | 0 | st->inact_threshold | 0-8191 |
| PARAM_VALUE | 0 | st->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | st->regmap->async | 0 |
| PARAM_VALUE | 0 | st->regmap->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | st->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | act | 1 |
| PARAM_VALUE | 2 | threshold | 0-8191 |
| CAPPED_DATA | 0 | st->regmap->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | st->regmap->rd_table->n_no_ranges | 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/accel/adxl367.c adxl367_setup() -> _adxl367_set_act_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->context | 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->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | st->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | st->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | st->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | st->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | st->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | st->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | st->ops | 5856800888859004928,8555471914393067520 |
| PARAM_VALUE | 0 | st->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | st->regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | st->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | *st->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | act | 0 |
| PARAM_VALUE | 2 | threshold | 4095 |
| BUF_SIZE | 0 | st->context | 8,1168 |
| 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 |
drivers/iio/accel/adxl367.c adxl367_setup() -> _adxl367_set_act_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->act_threshold | 4095 |
| PARAM_VALUE | 0 | st->context | 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->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | st->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | st->inact_threshold | 0-8191 |
| PARAM_VALUE | 0 | st->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | st->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | st->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | st->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | st->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | st->ops | 5856800888859004928,8555471914393067520 |
| PARAM_VALUE | 0 | st->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | st->regmap->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | st->regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | st->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | act | 1 |
| PARAM_VALUE | 2 | threshold | 409 |
| BUF_SIZE | 0 | st->context | 8,1168 |
| 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 |