Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/hwmon/w83627ehf.c store_fan_min() -> fan_from_reg8()

Type Parameter Key Value
PARAM_VALUE 0 reg 254
PARAM_VALUE 1 divreg 7
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct w83627ehf_data)->update_lock

drivers/hwmon/w83627ehf.c store_fan_min() -> fan_from_reg8()

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

drivers/hwmon/w83627ehf.c w83627ehf_do_read_fan() -> fan_from_reg8()

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

drivers/hwmon/w83627ehf.c w83627ehf_update_device() -> fan_from_reg8()

Type Parameter Key Value
PARAM_VALUE 1 divreg 0-255
DATA_SOURCE 0 reg r w83627ehf_read_value
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 reg 0-u16max
LOCK2 &data->update_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct w83627ehf_data)->update_lock