Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/mcp9982.c mcp9982_init() -> mcp9982_write_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->interval_idx | 0-10 |
| PARAM_VALUE | 0 | priv->recd12_enable | 0 |
| PARAM_VALUE | 0 | priv->recd34_enable | 0 |
| PARAM_VALUE | 0 | priv->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | priv->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | priv->regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->run_state | 0 |
| PARAM_VALUE | 0 | *priv->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | address | 11 |
| PARAM_VALUE | 2 | val | 149000 |
| BUF_SIZE | 0 | priv | 80 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | priv | $1 |
| FUZZY_MAX | 0 | priv->interval_idx | 4 |
| HARD_MAX | 0 | priv->interval_idx | 10 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/mcp9982.c mcp9982_init() -> mcp9982_write_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->interval_idx | 0-10 |
| PARAM_VALUE | 0 | priv->recd12_enable | 0 |
| PARAM_VALUE | 0 | priv->recd34_enable | 0 |
| PARAM_VALUE | 0 | priv->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | priv->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | priv->regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->run_state | 0 |
| PARAM_VALUE | 0 | *priv->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | address | 12 |
| PARAM_VALUE | 2 | val | 64000 |
| BUF_SIZE | 0 | priv | 80 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | priv | $1 |
| FUZZY_MAX | 0 | priv->interval_idx | 4 |
| HARD_MAX | 0 | priv->interval_idx | 10 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/mcp9982.c mcp9982_init() -> mcp9982_write_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->interval_idx | 0-10 |
| PARAM_VALUE | 0 | priv->recd12_enable | 0 |
| PARAM_VALUE | 0 | priv->recd34_enable | 0 |
| PARAM_VALUE | 0 | priv->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | priv->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | priv->regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->run_state | 0 |
| PARAM_VALUE | 0 | *priv->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | address | 29 |
| PARAM_VALUE | 2 | val | 149000 |
| BUF_SIZE | 0 | priv | 80 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | priv | $1 |
| FUZZY_MAX | 0 | priv->interval_idx | 4 |
| HARD_MAX | 0 | priv->interval_idx | 10 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/mcp9982.c mcp9982_init() -> mcp9982_write_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->interval_idx | 0-10 |
| PARAM_VALUE | 0 | priv->recd12_enable | 0 |
| PARAM_VALUE | 0 | priv->recd34_enable | 0 |
| PARAM_VALUE | 0 | priv->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | priv->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | priv->regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->run_state | 0 |
| PARAM_VALUE | 0 | *priv->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | address | 13-25 |
| PARAM_VALUE | 2 | val | 149000 |
| BUF_SIZE | 0 | priv | 80 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | priv | $1 |
| FUZZY_MAX | 0 | priv->interval_idx | 4 |
| HARD_MAX | 0 | priv->interval_idx | 10 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/mcp9982.c mcp9982_init() -> mcp9982_write_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->interval_idx | 0-10 |
| PARAM_VALUE | 0 | priv->recd12_enable | 0 |
| PARAM_VALUE | 0 | priv->recd34_enable | 0 |
| PARAM_VALUE | 0 | priv->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | priv->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | priv->regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->run_state | 0 |
| PARAM_VALUE | 0 | *priv->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | address | 15-27 |
| PARAM_VALUE | 2 | val | 64000 |
| BUF_SIZE | 0 | priv | 80 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | priv | $1 |
| FUZZY_MAX | 0 | priv->interval_idx | 4 |
| HARD_MAX | 0 | priv->interval_idx | 10 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/mcp9982.c mcp9982_init() -> mcp9982_write_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->interval_idx | 0-10 |
| PARAM_VALUE | 0 | priv->recd12_enable | 0 |
| PARAM_VALUE | 0 | priv->recd34_enable | 0 |
| PARAM_VALUE | 0 | priv->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | priv->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | priv->regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->run_state | 0 |
| PARAM_VALUE | 0 | *priv->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | address | 30-33 |
| PARAM_VALUE | 2 | val | 149000 |
| BUF_SIZE | 0 | priv | 80 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->regmap->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | priv | $1 |
| FUZZY_MAX | 0 | priv->interval_idx | 4 |
| HARD_MAX | 0 | priv->interval_idx | 10 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/mcp9982.c mcp9982_write() -> mcp9982_write_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 0-255875 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | val | 1 |
| CAPPED_DATA | 2 | val | 1 |
| PARAM_COMPARE | 2 | val | > $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 1-255874[c] |
| UNITS | 0 | priv | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/mcp9982.c mcp9982_write() -> mcp9982_write_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 0-255875 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | val | 1 |
| CAPPED_DATA | 2 | val | 1 |
| PARAM_COMPARE | 2 | val | > $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 1-255874[c] |
| UNITS | 0 | priv | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/mcp9982.c mcp9982_write() -> mcp9982_write_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 0-255875 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | val | 1 |
| CAPPED_DATA | 2 | val | 1 |
| PARAM_COMPARE | 2 | val | > $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 1-255874[c] |
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |