Home
last modified time | relevance | path

Searched refs:reference_freq (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_clocks.c48 fb_div *= spll->reference_freq; in radeon_legacy_get_engine_clock()
78 fb_div *= mpll->reference_freq; in radeon_legacy_get_memory_clock()
121 p1pll->reference_freq = p2pll->reference_freq = (*val) / 10; in radeon_read_clocks_OF()
150 spll->reference_freq = mpll->reference_freq = p1pll->reference_freq; in radeon_read_clocks_OF()
231 p1pll->reference_freq = 1432; in radeon_get_clock_info()
232 p2pll->reference_freq = 1432; in radeon_get_clock_info()
233 spll->reference_freq = 1432; in radeon_get_clock_info()
234 mpll->reference_freq = 1432; in radeon_get_clock_info()
236 p1pll->reference_freq = 2700; in radeon_get_clock_info()
237 p2pll->reference_freq = 2700; in radeon_get_clock_info()
[all …]
Dradeon_display.c1039 den = pll->reference_freq; in radeon_compute_pll_avivo()
1055 diff = abs(target_clock - (pll->reference_freq * fb_div) / in radeon_compute_pll_avivo()
1094 *dot_clock_p = ((pll->reference_freq * *fb_div_p * 10) + in radeon_compute_pll_avivo()
1095 (pll->reference_freq * *frac_fb_div_p)) / in radeon_compute_pll_avivo()
1160 uint32_t pll_in = pll->reference_freq / mid; in radeon_compute_pll_legacy()
1199 uint32_t pll_in = pll->reference_freq / ref_div; in radeon_compute_pll_legacy()
1215 tmp = (uint64_t)pll->reference_freq * feedback_div; in radeon_compute_pll_legacy()
1228 tmp = (uint64_t)pll->reference_freq * 10000 * feedback_div; in radeon_compute_pll_legacy()
1229 tmp += (uint64_t)pll->reference_freq * 1000 * frac_feedback_div; in radeon_compute_pll_legacy()
Drv740_dpm.c131 u32 reference_clock = rdev->clock.spll.reference_freq; in rv740_populate_sclk_value()
251 u32 reference_clock = rdev->clock.mpll.reference_freq; in rv740_populate_mclk_value()
Dradeon_legacy_tv.c254 *pll_ref_freq = pll->reference_freq; in radeon_legacy_tv_get_std_mode()
259 if (pll->reference_freq == 2700) in radeon_legacy_tv_get_std_mode()
264 if (pll->reference_freq == 2700) in radeon_legacy_tv_get_std_mode()
Drv730_dpm.c51 u32 reference_clock = rdev->clock.spll.reference_freq; in rv730_populate_sclk_value()
171 u32 reference_clock = rdev->clock.mpll.reference_freq; in rv730_populate_mclk_value()
Drv6xx_dpm.c163 u32 ref_clk = rdev->clock.spll.reference_freq; in rv6xx_output_stepping()
428 u32 ref_clk = rdev->clock.spll.reference_freq; in rv6xx_compute_count_for_delay()
551 u32 ref_clk = rdev->clock.spll.reference_freq; in rv6xx_program_engine_spread_spectrum()
655 u32 ref_clk = rdev->clock.mpll.reference_freq; in rv6xx_program_mclk_spread_spectrum_parameters()
840 u32 ref_clk = rdev->clock.spll.reference_freq; in rv6xx_program_bsp()
Drs780_dpm.c992 u32 sclk = (rdev->clock.spll.reference_freq * current_fb_div) / in rs780_dpm_debugfs_print_current_performance_level()
1014 u32 sclk = (rdev->clock.spll.reference_freq * current_fb_div) / in rs780_dpm_get_current_sclk()
Dradeon_mode.h167 uint32_t reference_freq; member
Dradeon_uvd.c969 unsigned vco_freq, ref_freq = rdev->clock.spll.reference_freq; in radeon_uvd_calc_upll_dividers()
Dradeon_legacy_crtc.c849 pll_gain = radeon_compute_pll_gain(pll->reference_freq, in radeon_set_pll()
Dradeon_kms.c340 *value = rdev->clock.spll.reference_freq * 10; in radeon_info_ioctl()
Dradeon_atombios.c1148 p1pll->reference_freq = in radeon_atom_get_clock_info()
1191 spll->reference_freq = in radeon_atom_get_clock_info()
1194 spll->reference_freq = in radeon_atom_get_clock_info()
1218 mpll->reference_freq = in radeon_atom_get_clock_info()
1221 mpll->reference_freq = in radeon_atom_get_clock_info()
Dradeon_combios.c749 p1pll->reference_freq = RBIOS16(pll_info + 0xe); in radeon_combios_get_clock_info()
766 spll->reference_freq = RBIOS16(pll_info + 0x1a); in radeon_combios_get_clock_info()
781 mpll->reference_freq = RBIOS16(pll_info + 0x26); in radeon_combios_get_clock_info()
Dcypress_dpm.c444 u32 ref_clk = rdev->clock.mpll.reference_freq; in cypress_map_clkf_to_ibias()
560 u32 reference_clock = rdev->clock.mpll.reference_freq; in cypress_populate_mclk_value()
Datombios_crtc.c1131 (125 * 25 * pll->reference_freq / 100); in atombios_crtc_set_pll()
1134 (125 * 25 * pll->reference_freq / 100); in atombios_crtc_set_pll()
Drv770_dpm.c403 u32 reference_clock = rdev->clock.mpll.reference_freq; in rv770_populate_mclk_value()
500 u32 reference_clock = rdev->clock.spll.reference_freq; in rv770_populate_sclk_value()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pll.c187 den = pll->reference_freq; in amdgpu_pll_compute()
203 diff = abs(target_clock - (pll->reference_freq * fb_div) / in amdgpu_pll_compute()
242 *dot_clock_p = ((pll->reference_freq * *fb_div_p * 10) + in amdgpu_pll_compute()
243 (pll->reference_freq * *frac_fb_div_p)) / in amdgpu_pll_compute()
Damdgpu_atomfirmware.c418 spll->reference_freq = le32_to_cpu(smu_info->v31.core_refclk_10khz); in amdgpu_atomfirmware_get_clock_info()
441 mpll->reference_freq = le32_to_cpu(umc_info->v31.mem_refclk_10khz); in amdgpu_atomfirmware_get_clock_info()
Damdgpu_mode.h193 uint32_t reference_freq; member
Datombios_crtc.c876 (125 * 25 * pll->reference_freq / 100); in amdgpu_atombios_crtc_set_pll()
879 (125 * 25 * pll->reference_freq / 100); in amdgpu_atombios_crtc_set_pll()
Damdgpu_atombios.c576 ppll->reference_freq = in amdgpu_atombios_get_clock_info()
616 spll->reference_freq = in amdgpu_atombios_get_clock_info()
643 mpll->reference_freq = in amdgpu_atombios_get_clock_info()
Dsi.c1353 u32 reference_clock = adev->clock.spll.reference_freq; in si_get_xclk()
1607 unsigned vco_freq, ref_freq = adev->clock.spll.reference_freq; in si_calc_upll_dividers()
Dnv.c143 return adev->clock.spll.reference_freq; in nv_get_xclk()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Dclock_source.h111 uint32_t reference_freq; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clock_source.c236 pll_settings->reference_freq = calc_pll_cs->ref_freq_khz; in calc_fb_divider_checking_tolerance()
697 pll_settings->reference_freq * 1000, in calculate_ss()

12