Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
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() -> div_from_reg()

Type Parameter Key Value
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() -> div_from_reg()

Type Parameter Key Value
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() -> div_from_reg()

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

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

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

drivers/hwmon/nct6775-core.c nct6775_select_fan_div() -> div_from_reg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct nct6775_data)->update_lock

drivers/hwmon/nct6775-core.c nct6775_select_fan_div() -> div_from_reg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct nct6775_data)->update_lock

drivers/hwmon/nct6775-core.c show_fan_div() -> div_from_reg()

Type Parameter Key Value
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_fan_min() -> div_from_reg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct nct6775_data)->update_lock

drivers/hwmon/nct6775-core.c store_fan_min() -> div_from_reg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct nct6775_data)->update_lock