Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/base/regmap/regcache.c regcache_default_sync() -> regmap_writeable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_dirty | 1 |
| PARAM_VALUE | 0 | map->cache_only | 0 |
| PARAM_VALUE | 0 | map->cache_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->name | 622069189277458432,4212052680194297856,4964383025763651584,6852988434150051840 |
| PARAM_VALUE | 0 | map->cache_ops->sync | 0 |
| PARAM_VALUE | 0 | map->cache_type | 1-u32max |
| CAPPED_DATA | 0 | map->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | reg | unit_array_size |
| LOCK2 | 0 | map->lock_arg |
drivers/base/regmap/regcache.c regcache_reg_needs_sync() -> regmap_writeable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->name | 622069189277458432,4212052680194297856,4964383025763651584,6852988434150051840 |
| PARAM_VALUE | 0 | map->cache_ops->sync | 0,292148753705906176,1259313248112324608 |
| PARAM_VALUE | 0 | map->cache_type | 1-u32max |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | reg | unit_array_size |
| LOCK2 | 0 | map->lock_arg | |
| HALF_LOCKED2 | rcu_read |
drivers/base/regmap/regcache.c regcache_sync_block_raw() -> regmap_writeable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->async | 1 |
| PARAM_VALUE | 0 | map->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->name | 622069189277458432,4212052680194297856,4964383025763651584,6852988434150051840 |
| PARAM_VALUE | 0 | map->cache_ops->sync | 292148753705906176,1259313248112324608 |
| PARAM_VALUE | 0 | map->cache_type | 1-u32max |
| PARAM_VALUE | 0 | map->format.format_reg | 1-u64max |
| PARAM_VALUE | 0 | map->format.format_val | 1-u64max |
| PARAM_VALUE | 0 | map->use_single_write | 0 |
| PARAM_VALUE | 0 | map->write | 1-u64max |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | reg | unit_array_size |
| LOCK2 | 0 | map->lock_arg |
drivers/base/regmap/regcache.c regcache_sync_block_single() -> regmap_writeable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->async | 1 |
| PARAM_VALUE | 0 | map->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->name | 622069189277458432,4212052680194297856,4964383025763651584,6852988434150051840 |
| PARAM_VALUE | 0 | map->cache_ops->sync | 292148753705906176,1259313248112324608 |
| PARAM_VALUE | 0 | map->cache_type | 1-u32max |
| PARAM_VALUE | 0 | map->format.format_reg | 1-u64max |
| PARAM_VALUE | 0 | map->format.format_val | 1-u64max |
| PARAM_VALUE | 0 | map->write | 1-u64max |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | reg | unit_array_size |
| LOCK2 | 0 | map->lock_arg |
drivers/base/regmap/regmap.c _regmap_raw_write_impl() -> regmap_writeable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->drop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->exit | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->sync | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->type | 1-4 |
| PARAM_VALUE | 0 | map->cache_ops->write | 4096-ptr_max |
| PARAM_VALUE | 0 | map->precious_table->n_no_ranges | 0-4,6,8,10-12,15 |
| PARAM_VALUE | 0 | map->rd_noinc_table->n_no_ranges | 0-4,6,8,10-12,15 |
| PARAM_VALUE | 0 | map->rd_table->n_no_ranges | 0-s32max |
| PARAM_VALUE | 0 | map->rd_table->n_yes_ranges | 0-18,20,22-25,27,29,43,55-56,83,105,187,243 |
| PARAM_VALUE | 0 | map->volatile_table->n_no_ranges | 0-s32max |
| PARAM_VALUE | 0 | map->volatile_table->n_yes_ranges | 0-18,20,22-25,27,29,43,55-56,83,105,187,243 |
| PARAM_VALUE | 0 | map->wr_noinc_table->n_no_ranges | 0-s32max |
| PARAM_VALUE | 0 | map->wr_noinc_table->n_yes_ranges | 0-18,20,22-25,27,29,43,55-56,83,105,187,243 |
| PARAM_VALUE | 0 | map->wr_table->n_no_ranges | 0-s32max |
| PARAM_VALUE | 0 | map->wr_table->n_yes_ranges | 0-18,20,22-25,27,29,43,55-56,83,105,187,243 |
| CAPPED_DATA | 0 | map->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->wr_noinc_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->wr_noinc_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | map->wr_table->n_no_ranges | 1 |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | map->cache_word_size | |
| NO_OVERFLOW_SIMPLE | 0 | map->max_raw_read | |
| NO_OVERFLOW_SIMPLE | 0 | map->max_raw_write | |
| UNITS | 0 | map | unit_byte |
| HALF_LOCKED2 | 0 | map->lock_arg |
drivers/base/regmap/regmap.c _regmap_write() -> regmap_writeable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->drop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->exit | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->init | 223168239505326080,4128557682943881216,5045025969159417856 |
| PARAM_VALUE | 0 | map->cache_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->sync | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_ops->type | 1-4 |
| PARAM_VALUE | 0 | map->cache_ops->write | 4096-ptr_max |
| PARAM_VALUE | 0 | map->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | map->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | map->debugfs->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | map->debugfs->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | map->debugfs->d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | map->debugfs->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | map->debugfs->d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | map->debugfs->d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | map->debugfs->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | map->debugfs->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | map->debugfs->d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | map->debugfs->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | map->debugfs->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | map->debugfs->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | map->debugfs->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | map->debugfs->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | map->debugfs->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | map->debugfs->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | map->debugfs->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | map->debugfs->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | map->debugfs->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | map->debugfs->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | map->debugfs->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | map->debugfs->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | map->debugfs->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | map->precious_table->n_no_ranges | 0-4,6,8,10-12,15 |
| PARAM_VALUE | 0 | map->rd_noinc_table->n_no_ranges | 0-4,6,8,10-12,15 |
| PARAM_VALUE | 0 | map->rd_noinc_table->n_yes_ranges | 0-18,20,22-25,27,29,43,55-56,83,105,187,243 |
| PARAM_VALUE | 0 | map->rd_table->n_no_ranges | 0-s32max |
| PARAM_VALUE | 0 | map->rd_table->n_yes_ranges | 0-18,20,22-25,27,29,43,55-56,83,105,187,243 |
| PARAM_VALUE | 0 | map->volatile_table->n_no_ranges | 0-s32max |
| PARAM_VALUE | 0 | map->volatile_table->n_yes_ranges | 0-18,20,22-25,27,29,43,55-56,83,105,187,243 |
| PARAM_VALUE | 0 | map->wr_noinc_table->n_no_ranges | 0-s32max |
| PARAM_VALUE | 0 | map->wr_noinc_table->n_yes_ranges | 0-18,20,22-25,27,29,43,55-56,83,105,187,243 |
| PARAM_VALUE | 0 | map->wr_table->n_no_ranges | 0-s32max |
| PARAM_VALUE | 0 | map->wr_table->n_yes_ranges | 0-18,20,22-25,27,29,43,55-56,83,105,187,243 |
| BUF_SIZE | 0 | map->patch | (-1)-s32max |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | map->cache_word_size | |
| NO_OVERFLOW_SIMPLE | 0 | map->max_raw_read | |
| NO_OVERFLOW_SIMPLE | 0 | map->max_raw_write | |
| UNITS | 0 | map | unit_byte |
| UNITS | 1 | reg | unit_array_size |
| HALF_LOCKED2 | 0 | map->lock_arg |
drivers/base/regmap/regmap-debugfs.c regmap_access_show() -> regmap_writeable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->precious_table->n_no_ranges | 0-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | reg | 1 |
| PARAM_COMPARE | 1 | reg | <= $0->max_register |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | map | unit_array_size |
| UNITS | 1 | reg | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/base/regmap/regmap-debugfs.c regmap_access_show() -> regmap_writeable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->precious_table->n_no_ranges | 0-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | reg | 1 |
| PARAM_COMPARE | 1 | reg | <= $0->max_register |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | map | unit_array_size |
| UNITS | 1 | reg | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |