Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/aquacomputer_d5next.c aqc_write() -> aqc_set_ctrl_val()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 2 val (-1500)-1500
PARAM_VALUE 3 type 1
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
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 val (-1500)-1500[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

drivers/hwmon/aquacomputer_d5next.c aqc_write() -> aqc_set_ctrl_val()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 2 val 10-1000
PARAM_VALUE 3 type 1
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
DATA_SOURCE 2 val $4 [m]
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 val 11-999[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

drivers/hwmon/aquacomputer_d5next.c aqc_write() -> aqc_set_ctrl_val()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->fan_ctrl_offsets 4096-ptr_max
PARAM_VALUE 0 priv->kind 0-5,7-u32max
PARAM_VALUE 1 offset 0-u16max
PARAM_VALUE 2 val 0-10000
PARAM_VALUE 3 type 1
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
DATA_SOURCE 2 val r aqc_pwm_to_percent
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 val 0-10000[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