Home
last modified time | relevance | path

Searched refs:ss_info (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/amd/powerplay/smumgr/
Diceland_smc.c683 pp_atomctrl_internal_ss_info ss_info; in iceland_calculate_sclk_params() local
686 if (0 == atomctrl_get_engine_clock_spread_spectrum(hwmgr, vcoFreq, &ss_info)) { in iceland_calculate_sclk_params()
692 uint32_t clkS = reference_clock * 5 / (reference_divider * ss_info.speed_spectrum_rate); in iceland_calculate_sclk_params()
695 uint32_t clkV = 4 * ss_info.speed_spectrum_percentage * fbdiv / (clkS * 10000); in iceland_calculate_sclk_params()
977 pp_atomctrl_internal_ss_info ss_info; in iceland_calculate_mclk_params() local
992 if (0 == atomctrl_get_memory_clock_spread_spectrum(hwmgr, freq_nom, &ss_info)) { in iceland_calculate_mclk_params()
997 uint32_t clks = reference_clock * 5 / ss_info.speed_spectrum_rate; in iceland_calculate_mclk_params()
1002 (uint32_t)((((131 * ss_info.speed_spectrum_percentage * in iceland_calculate_mclk_params()
1003 ss_info.speed_spectrum_rate) / 100) * tmp) / freq_nom); in iceland_calculate_mclk_params()
Dtonga_smc.c488 pp_atomctrl_internal_ss_info ss_info; in tonga_calculate_sclk_params() local
491 if (0 == atomctrl_get_engine_clock_spread_spectrum(hwmgr, vcoFreq, &ss_info)) { in tonga_calculate_sclk_params()
497 uint32_t clkS = reference_clock * 5 / (reference_divider * ss_info.speed_spectrum_rate); in tonga_calculate_sclk_params()
500 uint32_t clkV = 4 * ss_info.speed_spectrum_percentage * fbdiv / (clkS * 10000); in tonga_calculate_sclk_params()
784 pp_atomctrl_internal_ss_info ss_info; in tonga_calculate_mclk_params() local
799 if (0 == atomctrl_get_memory_clock_spread_spectrum(hwmgr, freq_nom, &ss_info)) { in tonga_calculate_mclk_params()
804 uint32_t clks = reference_clock * 5 / ss_info.speed_spectrum_rate; in tonga_calculate_mclk_params()
809 (uint32_t)((((131 * ss_info.speed_spectrum_percentage * in tonga_calculate_mclk_params()
810 ss_info.speed_spectrum_rate) / 100) * tmp) / freq_nom); in tonga_calculate_mclk_params()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c872 union asic_ss_info *ss_info; in amdgpu_atombios_get_asic_ss_info() local
890 ss_info = in amdgpu_atombios_get_asic_ss_info()
898 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info.asSpreadSpectrum[0]); in amdgpu_atombios_get_asic_ss_info()
916 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_2.asSpreadSpectrum[0]); in amdgpu_atombios_get_asic_ss_info()
938 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_3.asSpreadSpectrum[0]); in amdgpu_atombios_get_asic_ss_info()
/drivers/gpu/drm/radeon/
Dradeon_atombios.c1393 struct _ATOM_SPREAD_SPECTRUM_INFO *ss_info; in radeon_atombios_get_ppll_ss_info() local
1401 ss_info = in radeon_atombios_get_ppll_ss_info()
1407 ((u8 *)&ss_info->asSS_Info[0]); in radeon_atombios_get_ppll_ss_info()
1521 union asic_ss_info *ss_info; in radeon_atombios_get_asic_ss_info() local
1539 ss_info = in radeon_atombios_get_asic_ss_info()
1547 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1565 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_2.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1587 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_3.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()