Home
last modified time | relevance | path

Searched refs:num_ps (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dpp_psm.c43 hwmgr->num_ps = table_entries = hwmgr->hwmgr_func->get_num_of_pp_table_entries(hwmgr); in psm_init_power_state_table()
119 table_entries = hwmgr->num_ps; in psm_get_ui_state()
140 table_entries = hwmgr->num_ps; in psm_get_state_by_classification()
159 table_entries = hwmgr->num_ps; in psm_set_states()
213 table_entries = hwmgr->num_ps; in psm_set_user_performance_state()
Dvega10_hwmgr.c5259 ps = (struct pp_power_state *)((unsigned long)(hwmgr->ps) + hwmgr->ps_size * (hwmgr->num_ps - 1)); in vega10_odn_update_power_state()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Drs780_dpm.c844 rdev->pm.dpm.num_ps = power_info->pplib.ucNumStates; in rs780_parse_power_table()
958 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in rs780_dpm_fini()
Dtrinity_dpm.c1802 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in trinity_parse_power_table()
2082 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in trinity_dpm_fini()
Dsumo_dpm.c1524 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in sumo_parse_power_table()
1874 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in sumo_dpm_fini()
Dradeon_pm.c921 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in radeon_dpm_pick_power_state()
1388 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in radeon_dpm_print_power_states()
Drv6xx_dpm.c1928 rdev->pm.dpm.num_ps = power_info->pplib.ucNumStates; in rv6xx_parse_power_table()
2103 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in rv6xx_dpm_fini()
Drv770_dpm.c2323 rdev->pm.dpm.num_ps = power_info->pplib.ucNumStates; in rv7xx_parse_power_table()
2543 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in rv770_dpm_fini()
Dkv_dpm.c2705 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
2870 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in kv_dpm_fini()
Dbtc_dpm.c2726 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in btc_dpm_fini()
Dci_dpm.c5566 rdev->pm.dpm.num_ps = 0; in ci_parse_power_table()
5599 rdev->pm.dpm.num_ps = i + 1; in ci_parse_power_table()
5650 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in ci_dpm_fini()
Dni_dpm.c4040 rdev->pm.dpm.num_ps = power_info->pplib.ucNumStates; in ni_parse_power_table()
4271 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in ni_dpm_fini()
Dcypress_dpm.c2147 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in cypress_dpm_fini()
Dradeon.h1542 int num_ps; member
Dsi_dpm.c6863 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in si_parse_power_table()
7065 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in si_dpm_fini()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h374 int num_ps; member
Dhwmgr.h784 uint32_t num_ps; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c621 data->nums = hwmgr->num_ps; in pp_dpm_get_pp_num_states()
623 for (i = 0; i < hwmgr->num_ps; i++) { in pp_dpm_get_pp_num_states()
Dkv_dpm.c2762 adev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
2903 for (i = 0; i < adev->pm.dpm.num_ps; i++) { in kv_dpm_fini()
Dsi_dpm.c7253 for (adev->pm.dpm.num_ps = 0, i = 0; i < state_array->ucNumEntries; i++) { in si_parse_power_table()
7283 adev->pm.dpm.num_ps++; in si_parse_power_table()
7472 for (i = 0; i < adev->pm.dpm.num_ps; i++) in si_dpm_fini()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c1367 for (i = 0; i < adev->pm.dpm.num_ps; i++) { in amdgpu_dpm_pick_power_state()
1659 for (i = 0; i < adev->pm.dpm.num_ps; i++) in amdgpu_pm_print_power_states()