/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | radeon_clocks.c | 48 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 …]
|
D | radeon_display.c | 1032 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()
|
D | radeon_legacy_tv.c | 253 *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()
|
D | rv740_dpm.c | 130 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()
|
D | rv730_dpm.c | 49 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()
|
D | rv6xx_dpm.c | 163 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()
|
D | rs780_dpm.c | 991 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()
|
D | radeon_mode.h | 167 uint32_t reference_freq; member
|
D | radeon_kms.c | 348 *value = rdev->clock.spll.reference_freq * 10; in radeon_info_ioctl()
|
D | radeon_legacy_crtc.c | 849 pll_gain = radeon_compute_pll_gain(pll->reference_freq, in radeon_set_pll()
|
D | radeon_uvd.c | 958 unsigned vco_freq, ref_freq = rdev->clock.spll.reference_freq; in radeon_uvd_calc_upll_dividers()
|
D | radeon_atombios.c | 1145 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()
|
D | radeon_combios.c | 730 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()
|
D | atombios_crtc.c | 1122 (125 * 25 * pll->reference_freq / 100); in atombios_crtc_set_pll() 1125 (125 * 25 * pll->reference_freq / 100); in atombios_crtc_set_pll()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pll.c | 196 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()
|
D | amdgpu_atomfirmware.c | 743 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()
|
D | atombios_crtc.c | 875 (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()
|
D | amdgpu_mode.h | 192 uint32_t reference_freq; member
|
D | soc24.c | 99 return adev->clock.spll.reference_freq; in soc24_get_xclk()
|
D | amdgpu_atombios.c | 576 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()
|
D | si.c | 1469 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()
|
D | soc21.c | 234 return adev->clock.spll.reference_freq; in soc21_get_xclk()
|
D | nv.c | 313 return adev->clock.spll.reference_freq; in nv_get_xclk()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/ |
D | clock_source.h | 112 uint32_t reference_freq; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clock_source.c | 237 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()
|