Home
last modified time | relevance | path

Searched refs:ss_target_freq (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c727 uint32_t pcc_target_percent, pcc_target_freq, ss_target_percent, ss_target_freq; in vegam_calculate_sclk_params() local
778 ss_target_freq = clock - (clock * ss_target_percent / 100); in vegam_calculate_sclk_params()
780 ((ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / in vegam_calculate_sclk_params()
782 temp = ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; in vegam_calculate_sclk_params()
Dpolaris10_smumgr.c897 uint32_t pcc_target_percent, pcc_target_freq, ss_target_percent, ss_target_freq; in polaris10_calculate_sclk_params() local
944 ss_target_freq = clock - (clock * ss_target_percent / 100); in polaris10_calculate_sclk_params()
945 …sclk_setting->Fcw1_int = (uint16_t)((ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllR… in polaris10_calculate_sclk_params()
946 temp = ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; in polaris10_calculate_sclk_params()