Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppatomctrl.c1263 ATOM_ASIC_SS_ASSIGNMENT *ssInfo; in asic_internal_ss_get_ss_asignment() local
1273 ssInfo = &table->asSpreadSpectrum[0]; in asic_internal_ss_get_ss_asignment()
1275 while (((uint8_t *)ssInfo - (uint8_t *)table) < in asic_internal_ss_get_ss_asignment()
1277 if ((clockSource == ssInfo->ucClockIndication) && in asic_internal_ss_get_ss_asignment()
1278 ((uint32_t)clockSpeed <= le32_to_cpu(ssInfo->ulTargetClockRange))) { in asic_internal_ss_get_ss_asignment()
1283 ssInfo = (ATOM_ASIC_SS_ASSIGNMENT *)((uint8_t *)ssInfo + in asic_internal_ss_get_ss_asignment()
1289 le16_to_cpu(ssInfo->usSpreadSpectrumPercentage); in asic_internal_ss_get_ss_asignment()
1290 ssEntry->speed_spectrum_rate = le16_to_cpu(ssInfo->usSpreadRateInKhz); in asic_internal_ss_get_ss_asignment()
1298 switch (ssInfo->ucSpreadSpectrumMode) { in asic_internal_ss_get_ss_asignment()
1323 pp_atomctrl_internal_ss_info *ssInfo) in atomctrl_get_memory_clock_spread_spectrum() argument
[all …]
Dppatomctrl.h301 …pectrum(struct pp_hwmgr *hwmgr, const uint32_t memory_clock, pp_atomctrl_internal_ss_info *ssInfo);
302 …pectrum(struct pp_hwmgr *hwmgr, const uint32_t engine_clock, pp_atomctrl_internal_ss_info *ssInfo);
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dfiji_smumgr.c900 struct pp_atomctrl_internal_ss_info ssInfo; in fiji_calculate_sclk_params() local
904 vco_freq, &ssInfo)) { in fiji_calculate_sclk_params()
912 (ref_divider * ssInfo.speed_spectrum_rate); in fiji_calculate_sclk_params()
914 uint32_t clk_v = 4 * ssInfo.speed_spectrum_percentage * in fiji_calculate_sclk_params()