Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_pcode_read_power_limit() -> prepare_power_limit_param2()

Type Parameter Key Value
PARAM_VALUE 0 hwmon 4096-ptr_max
PARAM_VALUE 0 hwmon->xe 4096-ptr_max
BUF_SIZE 0 hwmon s32min-(-1),1-s32max
BUF_SIZE 0 hwmon s32min-(-1),1-s32max
DATA_SOURCE 0 hwmon $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hwmon unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &hwmon->hwmon_lock

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_pcode_rmw_power_limit() -> prepare_power_limit_param2()

Type Parameter Key Value
PARAM_VALUE 0 hwmon 4096-ptr_max
PARAM_VALUE 0 hwmon->xe 4096-ptr_max
BUF_SIZE 0 hwmon s32min-(-2),1-s32max
BUF_SIZE 0 hwmon s32min-(-2),1-s32max
DATA_SOURCE 0 hwmon $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hwmon unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &hwmon->hwmon_lock