Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/chipcap2.c cc2_get_reg_val() -> cc2_read_reg()

Type Parameter Key Value
PARAM_VALUE 1 reg 24-27
PARAM_VALUE 2 val 6195491138177331200
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
DATA_SOURCE 0 data $0
DATA_SOURCE 1 reg $1
HARD_MAX 1 reg 27
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data 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/chipcap2.c cc2_read_hyst_and_measure() -> cc2_read_reg()

Type Parameter Key Value
PARAM_VALUE 1 reg 25,27
PARAM_VALUE 2 val 4487324368775757824
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
DATA_SOURCE 0 data $0
DATA_SOURCE 1 reg $1
HARD_MAX 1 reg 27
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex