Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_read_sensor() -> (struct pptable_funcs)->read_sensor()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 0 smu->adev 4096-ptr_max
PARAM_VALUE 0 smu->adev->pm.dpm_enabled 1
PARAM_VALUE 0 smu->pm_enabled 1
PARAM_VALUE 0 smu->ppt_funcs 4096-ptr_max
PARAM_VALUE 0 smu->ppt_funcs->read_sensor 4096-ptr_max
PARAM_VALUE 1 sensor 0-250000000
PARAM_VALUE 2 data 16,4096-ptr_max
PARAM_VALUE 3 size 2396883347932749824
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 2 data 2,4,8,64
BUF_SIZE 2 data 2,4,8,64
BUF_SIZE 3 size 4
DATA_SOURCE 0 smu $0
DATA_SOURCE 1 sensor $1
DATA_SOURCE 2 data $2
CONTAINER 0 -120-32+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 sensor 1-250000000[c]
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_swctf_delayed_work_handler() -> (struct pptable_funcs)->read_sensor()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 0 smu->ppt_funcs 4096-ptr_max
PARAM_VALUE 0 smu->ppt_funcs->read_sensor 4096-ptr_max
PARAM_VALUE 0 smu->thermal_range.software_shutdown_temp s32min-(-1),1-s32max
PARAM_VALUE 1 sensor 11
PARAM_VALUE 2 data 854528362684485632
PARAM_VALUE 3 size 1592041049737166848
BUF_SIZE 2 data 4
CONTAINER 0 -120-32+0 $(-1)
HALF_LOCKED2 &pool->lock