Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/base/regmap/regcache.c, line 584 (as a function)
- include/linux/regmap.h, line 2117 (as a function)
Referenced in 16 files:
- drivers/base/regmap/regcache.c, line 602
- drivers/base/regmap/regmap-kunit.c
- drivers/base/regmap/trace.h, line 253
- drivers/firmware/cirrus/test/cs_dsp_mock_mem_maps.c
- drivers/firmware/cirrus/test/cs_dsp_mock_regmap.c
- drivers/gpio/gpio-arizona.c, line 70
- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
- drivers/hwmon/sch5627.c, line 633
- drivers/iio/imu/bno055/bno055.c, line 370
- drivers/mfd/max7360.c, line 100
- drivers/power/supply/bq24257_charger.c, line 1095
- sound/soc/codecs/cs42l42.c, line 2200
- sound/soc/codecs/cs42l43.c, line 1236
- sound/soc/codecs/tas2783-sdw.c, line 1247
- sound/soc/sdca/sdca_jack.c, line 71
- sound/soc/sdca/sdca_regmap.c, line 315
Smatch caller information:
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c __vop2_regs_dump() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | min | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | max | unit_array_size |
| LOCK2 | &drm_dev->mode_config.mutex | ||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct drm_mode_config)->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c vop2_disable() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | min | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | max | unit_array_size |
| LOCK2 | &vop2->vop2_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex | ||
| TYPE_LOCK | (struct vop2)->vop2_lock |
drivers/base/regmap/regmap-kunit.c cache_drop() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| DATA_SOURCE | 0 | map | r gen_regmap |
drivers/base/regmap/regmap-kunit.c cache_drop_all_and_sync_has_defaults() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 0 |
| DATA_SOURCE | 0 | map | r gen_regmap |
| UNITS | 2 | max | unit_array_size |
drivers/base/regmap/regmap-kunit.c cache_drop_all_and_sync_marked_dirty() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 0 |
| DATA_SOURCE | 0 | map | r gen_regmap |
| UNITS | 2 | max | unit_array_size |
drivers/base/regmap/regmap-kunit.c cache_drop_all_and_sync_no_defaults() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 0 |
| DATA_SOURCE | 0 | map | r gen_regmap |
| UNITS | 2 | max | unit_array_size |
drivers/base/regmap/regmap-kunit.c cache_drop_with_non_contiguous_ranges() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| DATA_SOURCE | 0 | map | r gen_regmap |
drivers/base/regmap/regmap-kunit.c cache_drop_with_non_contiguous_ranges() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->drop | 0,4096-ptr_max |
| DATA_SOURCE | 0 | map | r gen_regmap |
drivers/base/regmap/regmap-kunit.c cache_write_zero() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | map->unlock | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | max | 1 |
| DATA_SOURCE | 0 | map | r gen_regmap |
drivers/hwmon/sch5627.c sch5627_resume() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_only | 0 |
| PARAM_VALUE | 0 | map->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | map->unlock | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 0 |
| PARAM_VALUE | 2 | max | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpio/gpio-arizona.c arizona_gpio_get() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | map->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | *map->cache->data | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/cs42l43.c cs42l43_shutter_get() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | min | 1052684 |
| PARAM_VALUE | 2 | max | 1052684 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/firmware/cirrus/test/cs_dsp_mock_regmap.c cs_dsp_mock_regmap_drop_range() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->async | 0-1 |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| DATA_SOURCE | 1 | min | $1 |
| DATA_SOURCE | 2 | max | $2 |
| NOCHECK_CALL |
drivers/firmware/cirrus/test/cs_dsp_mock_regmap.c cs_dsp_mock_regmap_drop_system_regs() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map->async | 0-1 |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | min | 1-u32max |
| NOCHECK_CALL |
drivers/firmware/cirrus/test/cs_dsp_mock_regmap.c cs_dsp_mock_regmap_drop_system_regs() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map->async | 0-1 |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | min | 1-u32max |
| NOCHECK_CALL |
sound/soc/sdca/sdca_jack.c sdca_jack_process() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | map->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | *map->cache->data | 0-4294967295 |
| BIT_INFO | 1 | min | 0x40000008,0x41e01f88 |
| BIT_INFO | 2 | max | 0x40000008,0x41e01f88 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/firmware/cirrus/test/cs_dsp_mock_mem_maps.c cs_dsp_mock_xm_header_drop_from_regmap_cache() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->async | 0-1 |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| DATA_SOURCE | 1 | min | r cs_dsp_mock_base_addr_for_mem |
| NOCHECK_CALL |
drivers/firmware/cirrus/test/cs_dsp_mock_mem_maps.c cs_dsp_mock_xm_header_drop_from_regmap_cache() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->async | 0-1 |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | map->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | map->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | *map->cache->data | 0-4294967295 |
| DATA_SOURCE | 1 | min | r cs_dsp_mock_base_addr_for_mem |
| NOCHECK_CALL | |||
| UNITS | 1 | min | unit_byte |
| UNITS | 2 | max | unit_byte |
drivers/mfd/max7360.c max7360_reset() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | map->cache_dirty | 1 |
| PARAM_VALUE | 0 | *map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | min | 64 |
| PARAM_VALUE | 2 | max | 95 |
| CAPPED_DATA | 0 | map->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/bq24257_charger.c bq24257_resume() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | min | 0 |
| PARAM_VALUE | 2 | max | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/tas2783-sdw.c tas_update_status() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_only | 0 |
| PARAM_VALUE | 0 | map->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | map->unlock | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 0 |
| PARAM_VALUE | 2 | max | u32max |
| NOCHECK_CALL |
sound/soc/sdca/sdca_regmap.c populate_control_defaults() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | map->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | map->cache->cached_rbnode->node.__rb_parent_color | 0-1,4096-s64max |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| DATA_SOURCE | 0 | map | $1 |
| BIT_INFO | 1 | min | 0x40000000,0x41fb9fff |
| BIT_INFO | 2 | max | 0x40000000,0x41fb9fff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
sound/soc/codecs/cs42l42.c cs42l42_suspend() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->async | 0 |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | map->cache_only | 1 |
| PARAM_VALUE | 0 | map->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | map->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | *map->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | min | 0 |
| PARAM_VALUE | 2 | max | 0 |
| CAPPED_DATA | 0 | map->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->volatile_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/iio/imu/bno055/bno055.c bno055_system_reset() -> regcache_drop_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 1 | min | 0 |
| PARAM_VALUE | 2 | max | 255 |
| CAPPED_DATA | 0 | map->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &priv->lock |