Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/radeon/
H A 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 …]
H A Dradeon_display.c1032 den = pll->reference_freq; in radeon_compute_pll_avivo()
1048 diff = abs(target_clock - (pll->reference_freq * fb_div) / in radeon_compute_pll_avivo()
1087 *dot_clock_p = ((pll->reference_freq * *fb_div_p * 10) + in radeon_compute_pll_avivo()
1088 (pll->reference_freq * *frac_fb_div_p)) / in radeon_compute_pll_avivo()
1151 uint32_t pll_in = pll->reference_freq / mid; in radeon_compute_pll_legacy()
1190 uint32_t pll_in = pll->reference_freq / ref_div; in radeon_compute_pll_legacy()
1206 tmp = (uint64_t)pll->reference_freq * feedback_div; in radeon_compute_pll_legacy()
1219 tmp = (uint64_t)pll->reference_freq * 10000 * feedback_div; in radeon_compute_pll_legacy()
1220 tmp += (uint64_t)pll->reference_freq * 1000 * frac_feedback_div; in radeon_compute_pll_legacy()
H A Dradeon_legacy_tv.c253 *pll_ref_freq = pll->reference_freq; in radeon_legacy_tv_get_std_mode()
258 if (pll->reference_freq == 2700) in radeon_legacy_tv_get_std_mode()
263 if (pll->reference_freq == 2700) in radeon_legacy_tv_get_std_mode()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dradeon_kms.c348 *value = rdev->clock.spll.reference_freq * 10; in radeon_info_ioctl()
H A Dradeon_mode.h167 uint32_t reference_freq; member
H A Dradeon_uvd.c958 unsigned vco_freq, ref_freq = rdev->clock.spll.reference_freq; in radeon_uvd_calc_upll_dividers()
H A Dradeon_legacy_crtc.c849 pll_gain = radeon_compute_pll_gain(pll->reference_freq, in radeon_set_pll()
H A Dradeon_atombios.c1145 p1pll->reference_freq = in radeon_atom_get_clock_info()
1188 spll->reference_freq = in radeon_atom_get_clock_info()
1191 spll->reference_freq = in radeon_atom_get_clock_info()
1215 mpll->reference_freq = in radeon_atom_get_clock_info()
1218 mpll->reference_freq = in radeon_atom_get_clock_info()
H A Dradeon_combios.c730 p1pll->reference_freq = RBIOS16(pll_info + 0xe); in radeon_combios_get_clock_info()
747 spll->reference_freq = RBIOS16(pll_info + 0x1a); in radeon_combios_get_clock_info()
762 mpll->reference_freq = RBIOS16(pll_info + 0x26); in radeon_combios_get_clock_info()
H A 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/drivers/gpu/drm/amd/amdgpu/
H A 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()
H A Damdgpu_atomfirmware.c743 spll->reference_freq = le32_to_cpu(smu_info->v31.core_refclk_10khz); in amdgpu_atomfirmware_get_clock_info()
745 spll->reference_freq = le32_to_cpu(smu_info->v40.core_refclk_10khz); in amdgpu_atomfirmware_get_clock_info()
768 mpll->reference_freq = le32_to_cpu(umc_info->v31.mem_refclk_10khz); in amdgpu_atomfirmware_get_clock_info()
793 spll->reference_freq = le32_to_cpu(gfx_info->v30.golden_tsc_count_lower_refclk); in amdgpu_atomfirmware_get_clock_info()
798 spll->reference_freq = le32_to_cpu(gfx_info->v22.rlc_gpu_timer_refclk); in amdgpu_atomfirmware_get_clock_info()
H A Datombios_crtc.c875 (125 * 25 * pll->reference_freq / 100); in amdgpu_atombios_crtc_set_pll()
878 (125 * 25 * pll->reference_freq / 100); in amdgpu_atombios_crtc_set_pll()
H A Damdgpu_mode.h192 uint32_t reference_freq; member
H A Dsoc24.c99 return adev->clock.spll.reference_freq; in soc24_get_xclk()
H A 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()
H A 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()
H A Dsoc21.c234 return adev->clock.spll.reference_freq; in soc21_get_xclk()
H A Dnv.c313 return adev->clock.spll.reference_freq; in nv_get_xclk()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dclock_source.h112 uint32_t reference_freq; member
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clock_source.c237 pll_settings->reference_freq = calc_pll_cs->ref_freq_khz; in calc_fb_divider_checking_tolerance()
698 pll_settings->reference_freq * (uint64_t)1000, in calculate_ss()

12