Home
last modified time | relevance | path

Searched refs:sclk_setting (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvegam_smumgr.c731 sclk_setting->SclkFrequency = clock; in vegam_calculate_sclk_params()
739 sclk_setting->Sclk_slew_rate = 0x400; in vegam_calculate_sclk_params()
741 sclk_setting->Pcc_down_slew_rate = 0xffff; in vegam_calculate_sclk_params()
754 sclk_setting->PllRange = i; in vegam_calculate_sclk_params()
759 sclk_setting->Fcw_int = (uint16_t) in vegam_calculate_sclk_params()
765 sclk_setting->Fcw_frac = temp & 0xffff; in vegam_calculate_sclk_params()
769 sclk_setting->Pcc_fcw_int = (uint16_t) in vegam_calculate_sclk_params()
774 sclk_setting->SSc_En = 0; in vegam_calculate_sclk_params()
776 sclk_setting->SSc_En = 1; in vegam_calculate_sclk_params()
778 sclk_setting->Fcw1_int = (uint16_t) in vegam_calculate_sclk_params()
[all …]
H A Dpolaris10_smumgr.c891 uint32_t clock, SMU_SclkSetting *sclk_setting) in polaris10_calculate_sclk_params() argument
902 sclk_setting->SclkFrequency = clock; in polaris10_calculate_sclk_params()
910 sclk_setting->Sclk_slew_rate = 0x400; in polaris10_calculate_sclk_params()
912 sclk_setting->Pcc_down_slew_rate = 0xffff; in polaris10_calculate_sclk_params()
913 sclk_setting->SSc_En = dividers.ucSscEnable; in polaris10_calculate_sclk_params()
925 sclk_setting->PllRange = i; in polaris10_calculate_sclk_params()
930sclk_setting->Fcw_int = (uint16_t)((clock << table->SclkFcwRangeTable[sclk_setting->PllRange].post… in polaris10_calculate_sclk_params()
934 sclk_setting->Fcw_frac = temp & 0xffff; in polaris10_calculate_sclk_params()
941 sclk_setting->SSc_En = 0; in polaris10_calculate_sclk_params()
943 sclk_setting->SSc_En = 1; in polaris10_calculate_sclk_params()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/include/
H A Datomfirmware.h3962 struct dynamic_sclk_settings_parameters_v2_1 sclk_setting; member