Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvegam_smumgr.c726 uint32_t pcc_target_percent, pcc_target_freq, ss_target_percent, ss_target_freq; in vegam_calculate_sclk_params() local
777 ss_target_freq = clock - (clock * ss_target_percent / 100); in vegam_calculate_sclk_params()
779 ((ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / in vegam_calculate_sclk_params()
781 temp = ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; in vegam_calculate_sclk_params()
H A 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()