Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/legacy_dpm.c amdgpu_dpm_thermal_work_handler() -> (struct amd_pm_funcs)->read_sensor()

Type Parameter Key Value
PARAM_VALUE 1 sensor 10
PARAM_VALUE 2 data 5792095672348340224
PARAM_VALUE 3 size_arg 7042463085174226944
PARAM_VALUE 3 *size_arg 4
BUF_SIZE 0 handle 1256,3984,524640
BUF_SIZE 2 data 4
LOCK2 &adev->pm.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c amdgpu_dpm_read_sensor() -> (struct amd_pm_funcs)->read_sensor()

Type Parameter Key Value
PARAM_VALUE 1 sensor 0-250000000
PARAM_VALUE 2 data 16,4096-ptr_max
PARAM_VALUE 3 size_arg 1521567588636778496,2717779336952512512,7690784292304384000,8174485017707085824,8571960009668849664
BUF_SIZE 0 handle 1256,3984,524640
BUF_SIZE 2 data 2,4,8,64
BUF_SIZE 2 data 2,4,8,64
DATA_SOURCE 1 sensor $1
DATA_SOURCE 2 data $2
DATA_SOURCE 3 size_arg $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 sensor 1-250000000[c]
LOCK2 &adev->pm.mutex
HALF_LOCKED2 &m->lock
TYPE_LOCK (struct amdgpu_pm)->mutex