Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c1033 den = pll->reference_freq; in radeon_compute_pll_avivo()
1049 diff = abs(target_clock - (pll->reference_freq * fb_div) / in radeon_compute_pll_avivo()
1088 *dot_clock_p = ((pll->reference_freq * *fb_div_p * 10) + in radeon_compute_pll_avivo()
1089 (pll->reference_freq * *frac_fb_div_p)) / in radeon_compute_pll_avivo()
1152 uint32_t pll_in = pll->reference_freq / mid; in radeon_compute_pll_legacy()
1191 uint32_t pll_in = pll->reference_freq / ref_div; in radeon_compute_pll_legacy()
1207 tmp = (uint64_t)pll->reference_freq * feedback_div; in radeon_compute_pll_legacy()
1220 tmp = (uint64_t)pll->reference_freq * 10000 * feedback_div; in radeon_compute_pll_legacy()
1221 tmp += (uint64_t)pll->reference_freq * 1000 * frac_feedback_div; in radeon_compute_pll_legacy()
Drv740_dpm.c130 u32 reference_clock = rdev->clock.spll.reference_freq; in rv740_populate_sclk_value()
250 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.c49 u32 reference_clock = rdev->clock.spll.reference_freq; in rv730_populate_sclk_value()
169 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.c991 u32 sclk = (rdev->clock.spll.reference_freq * current_fb_div) / in rs780_dpm_debugfs_print_current_performance_level()
1013 u32 sclk = (rdev->clock.spll.reference_freq * current_fb_div) / in rs780_dpm_get_current_sclk()
Dradeon_kms.c355 *value = rdev->clock.spll.reference_freq * 10; in radeon_info_ioctl()
Dradeon_mode.h166 uint32_t reference_freq; member
Dradeon_legacy_crtc.c850 pll_gain = radeon_compute_pll_gain(pll->reference_freq, in radeon_set_pll()
Dradeon_uvd.c959 unsigned vco_freq, ref_freq = rdev->clock.spll.reference_freq; in radeon_uvd_calc_upll_dividers()
Dradeon_atombios.c1140 p1pll->reference_freq = in radeon_atom_get_clock_info()
1183 spll->reference_freq = in radeon_atom_get_clock_info()
1186 spll->reference_freq = in radeon_atom_get_clock_info()
1210 mpll->reference_freq = in radeon_atom_get_clock_info()
1213 mpll->reference_freq = in radeon_atom_get_clock_info()
Dradeon_combios.c745 p1pll->reference_freq = RBIOS16(pll_info + 0xe); in radeon_combios_get_clock_info()
762 spll->reference_freq = RBIOS16(pll_info + 0x1a); in radeon_combios_get_clock_info()
777 mpll->reference_freq = RBIOS16(pll_info + 0x26); in radeon_combios_get_clock_info()
Datombios_crtc.c1123 (125 * 25 * pll->reference_freq / 100); in atombios_crtc_set_pll()
1126 (125 * 25 * pll->reference_freq / 100); in atombios_crtc_set_pll()
Dcypress_dpm.c442 u32 ref_clk = rdev->clock.mpll.reference_freq; in cypress_map_clkf_to_ibias()
558 u32 reference_clock = rdev->clock.mpll.reference_freq; in cypress_populate_mclk_value()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pll.c196 den = pll->reference_freq; in amdgpu_pll_compute()
212 diff = abs(target_clock - (pll->reference_freq * fb_div) / in amdgpu_pll_compute()
251 *dot_clock_p = ((pll->reference_freq * *fb_div_p * 10) + in amdgpu_pll_compute()
252 (pll->reference_freq * *frac_fb_div_p)) / in amdgpu_pll_compute()
Damdgpu_atomfirmware.c611 spll->reference_freq = le32_to_cpu(smu_info->v31.core_refclk_10khz); in amdgpu_atomfirmware_get_clock_info()
613 spll->reference_freq = le32_to_cpu(smu_info->v40.core_refclk_10khz); in amdgpu_atomfirmware_get_clock_info()
636 mpll->reference_freq = le32_to_cpu(umc_info->v31.mem_refclk_10khz); in amdgpu_atomfirmware_get_clock_info()
661 spll->reference_freq = le32_to_cpu(gfx_info->v30.golden_tsc_count_lower_refclk); in amdgpu_atomfirmware_get_clock_info()
666 spll->reference_freq = le32_to_cpu(gfx_info->v22.rlc_gpu_timer_refclk); 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()
Dsoc21.c169 return adev->clock.spll.reference_freq; in soc21_get_xclk()
Dsi.c1469 u32 reference_clock = adev->clock.spll.reference_freq; in si_get_xclk()
1723 unsigned vco_freq, ref_freq = adev->clock.spll.reference_freq; in si_calc_upll_dividers()
Dnv.c308 return adev->clock.spll.reference_freq; in nv_get_xclk()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dclock_source.h111 uint32_t reference_freq; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clock_source.c233 pll_settings->reference_freq = calc_pll_cs->ref_freq_khz; in calc_fb_divider_checking_tolerance()
694 pll_settings->reference_freq * 1000, in calculate_ss()

12