Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/corsair-psu.c corsairpsu_check_cmd_support() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cmd_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->batteries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->bpf_rdesc | 1-u64max |
| PARAM_VALUE | 0 | priv->hdev->collection | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->collection_size | 16 |
| PARAM_VALUE | 0 | priv->hdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->driver_data->qlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | priv->hdev->driver_data->thc_hw->thc_regmap->async | 0-1 |
| PARAM_VALUE | 0 | priv->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | priv->hdev->hiddev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->hidraw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->ll_open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->hdev->rdesc | 1-u64max |
| PARAM_VALUE | 0 | priv->wait_completion.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->wait_completion.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *priv->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *priv->product | 0-255 |
| PARAM_VALUE | 0 | *priv->vendor | 0-255 |
| PARAM_VALUE | 1 | cmd | 137 |
| PARAM_VALUE | 2 | rail | 0 |
| PARAM_VALUE | 3 | val | 302040958670413824 |
| BUF_SIZE | 0 | priv | 272 |
| BUF_SIZE | 0 | priv->cmd_buffer | 64 |
| DATA_SOURCE | 0 | priv | $0 |
| TERMINATED | 0 | priv->cmd_buffer->node.name | 1 |
| MEM_ZERO | 0 | priv | |
| MEM_ZERO | 0 | priv->product | |
| MEM_ZERO | 0 | priv->vendor | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/corsair-psu.c corsairpsu_get_criticals() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cmd_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->batteries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->bpf_rdesc | 1-u64max |
| PARAM_VALUE | 0 | priv->hdev->collection | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->collection_size | 16 |
| PARAM_VALUE | 0 | priv->hdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->driver_data->thc_hw->thc_regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | priv->hdev->hiddev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->hidraw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->ll_open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->hdev->rdesc | 1-u64max |
| PARAM_VALUE | 0 | priv->temp_crit | 0 |
| PARAM_VALUE | 0 | priv->wait_completion.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *priv->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *priv->product | 0-255 |
| PARAM_VALUE | 0 | *priv->vendor | 0-255 |
| PARAM_VALUE | 1 | cmd | 79 |
| PARAM_VALUE | 2 | rail | 0-1 |
| PARAM_VALUE | 3 | val | 6824349177605386240 |
| BUF_SIZE | 0 | priv | 272 |
| BUF_SIZE | 0 | priv->cmd_buffer | 64 |
| DATA_SOURCE | 0 | priv | $0 |
| TERMINATED | 0 | priv->cmd_buffer->node.name | 1 |
| MEM_ZERO | 0 | priv | |
| MEM_ZERO | 0 | priv->product | |
| MEM_ZERO | 0 | priv->vendor | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/corsair-psu.c corsairpsu_get_criticals() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cmd_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->curr_crit | 0 |
| PARAM_VALUE | 0 | priv->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->batteries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->bpf_rdesc | 1-u64max |
| PARAM_VALUE | 0 | priv->hdev->collection | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->collection_size | 16 |
| PARAM_VALUE | 0 | priv->hdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->driver_data->thc_hw->thc_regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | priv->hdev->hiddev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->hidraw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->ll_open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->hdev->rdesc | 1-u64max |
| PARAM_VALUE | 0 | priv->in_crit | 0 |
| PARAM_VALUE | 0 | priv->in_lcrit | 0 |
| PARAM_VALUE | 0 | priv->temp_crit | 0 |
| PARAM_VALUE | 0 | priv->wait_completion.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *priv->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *priv->product | 0-255 |
| PARAM_VALUE | 0 | *priv->vendor | 0-255 |
| PARAM_VALUE | 1 | cmd | 64 |
| PARAM_VALUE | 2 | rail | 0-2 |
| PARAM_VALUE | 3 | val | 6824349177605386240 |
| BUF_SIZE | 0 | priv | 272 |
| BUF_SIZE | 0 | priv->cmd_buffer | 64 |
| DATA_SOURCE | 0 | priv | $0 |
| TERMINATED | 0 | priv->cmd_buffer->node.name | 1 |
| MEM_ZERO | 0 | priv | |
| MEM_ZERO | 0 | priv->product | |
| MEM_ZERO | 0 | priv->vendor | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/corsair-psu.c corsairpsu_get_criticals() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cmd_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->curr_crit | 0 |
| PARAM_VALUE | 0 | priv->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->batteries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->bpf_rdesc | 1-u64max |
| PARAM_VALUE | 0 | priv->hdev->collection | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->collection_size | 16 |
| PARAM_VALUE | 0 | priv->hdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->driver_data->thc_hw->thc_regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | priv->hdev->hiddev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->hidraw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->ll_open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->hdev->rdesc | 1-u64max |
| PARAM_VALUE | 0 | priv->in_crit | 0 |
| PARAM_VALUE | 0 | priv->in_lcrit | 0 |
| PARAM_VALUE | 0 | priv->temp_crit | 0 |
| PARAM_VALUE | 0 | priv->wait_completion.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *priv->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *priv->product | 0-255 |
| PARAM_VALUE | 0 | *priv->vendor | 0-255 |
| PARAM_VALUE | 1 | cmd | 68 |
| PARAM_VALUE | 2 | rail | 0-2 |
| PARAM_VALUE | 3 | val | 6824349177605386240 |
| BUF_SIZE | 0 | priv | 272 |
| BUF_SIZE | 0 | priv->cmd_buffer | 64 |
| DATA_SOURCE | 0 | priv | $0 |
| TERMINATED | 0 | priv->cmd_buffer->node.name | 1 |
| MEM_ZERO | 0 | priv | |
| MEM_ZERO | 0 | priv->product | |
| MEM_ZERO | 0 | priv->vendor | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/corsair-psu.c corsairpsu_get_criticals() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cmd_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->curr_crit | 0 |
| PARAM_VALUE | 0 | priv->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->batteries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->bpf_rdesc | 1-u64max |
| PARAM_VALUE | 0 | priv->hdev->collection | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->collection_size | 16 |
| PARAM_VALUE | 0 | priv->hdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->driver_data->thc_hw->thc_regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | priv->hdev->hiddev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->hidraw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hdev->ll_open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->hdev->rdesc | 1-u64max |
| PARAM_VALUE | 0 | priv->in_crit | 0 |
| PARAM_VALUE | 0 | priv->in_lcrit | 0 |
| PARAM_VALUE | 0 | priv->temp_crit | 0 |
| PARAM_VALUE | 0 | priv->wait_completion.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wait_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *priv->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *priv->product | 0-255 |
| PARAM_VALUE | 0 | *priv->vendor | 0-255 |
| PARAM_VALUE | 1 | cmd | 70 |
| PARAM_VALUE | 2 | rail | 0-2 |
| PARAM_VALUE | 3 | val | 6824349177605386240 |
| BUF_SIZE | 0 | priv | 272 |
| BUF_SIZE | 0 | priv->cmd_buffer | 64 |
| DATA_SOURCE | 0 | priv | $0 |
| TERMINATED | 0 | priv->cmd_buffer->node.name | 1 |
| MEM_ZERO | 0 | priv | |
| MEM_ZERO | 0 | priv->product | |
| MEM_ZERO | 0 | priv->vendor | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/corsair-psu.c corsairpsu_hwmon_curr_read() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 137 |
| PARAM_VALUE | 2 | rail | 0 |
| PARAM_VALUE | 3 | val | 4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | val | $3 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/hwmon/corsair-psu.c corsairpsu_hwmon_curr_read() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 140 |
| PARAM_VALUE | 2 | rail | 0-2 |
| PARAM_VALUE | 3 | val | 4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | val | $3 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/hwmon/corsair-psu.c corsairpsu_hwmon_in_read() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 136 |
| PARAM_VALUE | 2 | rail | 0 |
| PARAM_VALUE | 3 | val | 4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | val | $3 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/hwmon/corsair-psu.c corsairpsu_hwmon_in_read() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 139 |
| PARAM_VALUE | 2 | rail | 0-2 |
| PARAM_VALUE | 3 | val | 4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | val | $3 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/hwmon/corsair-psu.c corsairpsu_hwmon_ops_read() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 144 |
| PARAM_VALUE | 2 | rail | 0 |
| PARAM_VALUE | 3 | val | 4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 3 | val | $4 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/hwmon/corsair-psu.c corsairpsu_hwmon_power_read() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 238 |
| PARAM_VALUE | 2 | rail | 0 |
| PARAM_VALUE | 3 | val | 4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | val | $3 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/hwmon/corsair-psu.c corsairpsu_hwmon_power_read() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 150 |
| PARAM_VALUE | 2 | rail | 0-2 |
| PARAM_VALUE | 3 | val | 4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | val | $3 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/hwmon/corsair-psu.c corsairpsu_hwmon_pwm_read() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 59 |
| PARAM_VALUE | 2 | rail | 0 |
| PARAM_VALUE | 3 | val | 4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | val | $3 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/hwmon/corsair-psu.c corsairpsu_hwmon_pwm_read() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 240 |
| PARAM_VALUE | 2 | rail | 0 |
| PARAM_VALUE | 3 | val | 4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | val | $3 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| BIT_INFO | 3 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/hwmon/corsair-psu.c corsairpsu_hwmon_temp_read() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 141-142 |
| PARAM_VALUE | 3 | val | 195298570250117120,4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | rail | $2 |
| DATA_SOURCE | 3 | val | $3 |
| FUZZY_MAX | 1 | cmd | 142 |
| BIT_INFO | 1 | cmd | 0x8c,0x8f |
| BIT_INFO | 3 | val | 0x201040250040000,0x7fffd7effdff7000 |
| BIT_INFO | 3 | val | 0x201040250040000,0x7fffd7effdff7000 |
| HARD_MAX | 1 | cmd | 142 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/corsair-psu.c ocpmode_show() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 216 |
| PARAM_VALUE | 2 | rail | 0 |
| PARAM_VALUE | 3 | val | 6159060734193532928 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_array_size |
| LOCK2 | &hwdev->lock | ||
| LOCK2 | &seqf->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/hwmon/corsair-psu.c print_uptime() -> corsairpsu_get_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 209-210 |
| PARAM_VALUE | 2 | rail | 0 |
| PARAM_VALUE | 3 | val | 2068704243424194560 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | cmd | $1 |
| HARD_MAX | 1 | cmd | 210 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_array_size |
| LOCK2 | &hwdev->lock | ||
| LOCK2 | &seqf->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |