Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/ltc4283.c ltc4283_set_max_limits() -> ltc4283_write_power_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->client | 4096-ptr_max |
| PARAM_VALUE | 0 | st->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | st->client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | st->client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | st->ext_fault | 1 |
| PARAM_VALUE | 0 | st->map | 4096-ptr_max |
| PARAM_VALUE | 0 | st->map->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | st->map->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | st->map->cache_dirty | 1 |
| PARAM_VALUE | 0 | st->power_max | 0-u32max |
| PARAM_VALUE | 0 | st->rsense | 0-42949672 |
| PARAM_VALUE | 0 | st->vsense_max | 0 |
| PARAM_VALUE | 0 | *st->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 32 |
| PARAM_VALUE | 2 | val | 0-4294967295 |
| BUF_SIZE | 0 | st | 56 |
| CAPPED_DATA | 0 | st->map->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | st->map->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | st | $0 |
| MEM_ZERO | 0 | st | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | st->client->irq |
drivers/hwmon/ltc4283.c ltc4283_write_power() -> ltc4283_write_power_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 32 |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | st | $0 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | s64min-s64max |
| UNITS | 0 | st | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/ltc4283.c ltc4283_write_power() -> ltc4283_write_power_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 31 |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | st | $0 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | s64min-s64max |
| UNITS | 0 | st | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |