Defined in 6 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/hwmon/nct6694-hwmon.c nct6694_in_write() -> in_to_reg()

Type Parameter Key Value
PARAM_VALUE 0 index 0-2032
DATA_SOURCE 0 index $3 [m]
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 index 1-2031
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/nct6694-hwmon.c nct6694_in_write() -> in_to_reg()

Type Parameter Key Value
PARAM_VALUE 0 index 0-2032
DATA_SOURCE 0 index $3 [m]
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 index 1-2031
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/it87.c set_in() -> in_to_reg()

Type Parameter Key Value
PARAM_VALUE 0 index 4096-ptr_max
PARAM_VALUE 1 val 0-255
BUF_SIZE 0 index s32min-(-2),1-s32max
BUF_SIZE 0 index s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 scale_in s64min-s64max
NO_OVERFLOW_SIMPLE 2 scale_in
UNITS 0 index unit_byte
UNITS 1 val unit_array_size
LOCK2 &of->mutex
LOCK2 0 &index->update_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct it87_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/w83627ehf.c store_in_max() -> in_to_reg()

Type Parameter Key Value
BUF_SIZE 2 scale_in 18,20
DATA_SOURCE 0 index $3
DATA_SOURCE 1 val $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 index 0-u32max
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_in_min() -> in_to_reg()

Type Parameter Key Value
BUF_SIZE 2 scale_in 18,20
DATA_SOURCE 0 index $3
DATA_SOURCE 1 val $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 index 0-u32max
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/f71805f.c set_in_max() -> in_to_reg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 index s64min-s64max
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct f71805f_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/f71805f.c set_in_min() -> in_to_reg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 index s64min-s64max
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct f71805f_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/nct6775-core.c store_in_reg() -> in_to_reg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 index 0-u32max
NO_OVERFLOW_SIMPLE 0 index
UNITS 1 val unit_array_size
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/w83795.c store_in() -> in_to_reg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 val 0-u16max
NO_OVERFLOW_SIMPLE 1 val
UNITS 0 index unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex