Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/nct6775-core.c show_speed_tolerance() -> fan_from_reg16()

Type Parameter Key Value
PARAM_VALUE 0 reg 1-u16max
PARAM_VALUE 1 divreg 0-255
CAPPED_DATA 0 reg 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/nct6775-core.c show_speed_tolerance() -> fan_from_reg16()

Type Parameter Key Value
PARAM_VALUE 0 reg 1-u16max
PARAM_VALUE 1 divreg 0-255
CAPPED_DATA 0 reg 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/nct6775-core.c show_target_speed() -> fan_from_reg16()

Type Parameter Key Value
PARAM_VALUE 1 divreg 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/nct6775-core.c store_speed_tolerance() -> fan_from_reg16()

Type Parameter Key Value
PARAM_VALUE 1 divreg 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/nct6775-core.c store_speed_tolerance() -> fan_from_reg16()

Type Parameter Key Value
PARAM_VALUE 1 divreg 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex