Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/hardwaremanager.c phm_get_clock_info() -> phm_get_performance_level()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->hwmgr_func 1-u64max
PARAM_VALUE 0 hwmgr->platform_descriptor.platformCaps 4096-ptr_max
PARAM_VALUE 0 hwmgr->pm_en 1
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 2 designation 0
PARAM_VALUE 3 index 0
PARAM_VALUE 4 level 1634775536898084864
PARAM_VALUE 4 level->coreClock 0
PARAM_VALUE 4 level->memory_clock 0
PARAM_VALUE 4 level->nonLocalMemoryFreq 0
PARAM_VALUE 4 level->nonLocalMemoryWidth 0
PARAM_VALUE 4 level->vddc 0
PARAM_VALUE 4 level->vddci 0
BUF_SIZE 0 hwmgr 1256,3984
BUF_SIZE 0 hwmgr 1256,3984
DATA_SOURCE 0 hwmgr $0
DATA_SOURCE 1 state $1
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/hardwaremanager.c phm_get_clock_info() -> phm_get_performance_level()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->hwmgr_func 4096-ptr_max
PARAM_VALUE 0 hwmgr->platform_descriptor.platformCaps 4096-ptr_max
PARAM_VALUE 0 hwmgr->pm_en 1
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 2 designation 0-1
PARAM_VALUE 4 level 1634775536898084864
PARAM_VALUE 4 level->nonLocalMemoryFreq 0
PARAM_VALUE 4 level->nonLocalMemoryWidth 0
PARAM_VALUE 4 level->vddc 0-1550
PARAM_VALUE 4 level->vddci 0
BUF_SIZE 0 hwmgr 1256,3984
BUF_SIZE 0 hwmgr 1256,3984
DATA_SOURCE 0 hwmgr $0
DATA_SOURCE 1 state $1
DATA_SOURCE 2 designation $3
HARD_MAX 2 designation 1
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex