/linux-6.1.9/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 | 1033 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()
|
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 | radeon_legacy_tv.c | 254 *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()
|
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_kms.c | 355 *value = rdev->clock.spll.reference_freq * 10; in radeon_info_ioctl()
|
D | radeon_mode.h | 166 uint32_t reference_freq; member
|
D | radeon_legacy_crtc.c | 850 pll_gain = radeon_compute_pll_gain(pll->reference_freq, in radeon_set_pll()
|
D | radeon_uvd.c | 959 unsigned vco_freq, ref_freq = rdev->clock.spll.reference_freq; in radeon_uvd_calc_upll_dividers()
|
D | radeon_atombios.c | 1140 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()
|
D | radeon_combios.c | 745 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()
|
D | atombios_crtc.c | 1123 (125 * 25 * pll->reference_freq / 100); in atombios_crtc_set_pll() 1126 (125 * 25 * pll->reference_freq / 100); in atombios_crtc_set_pll()
|
D | cypress_dpm.c | 442 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/ |
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 | 611 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()
|
D | amdgpu_mode.h | 193 uint32_t reference_freq; member
|
D | atombios_crtc.c | 876 (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()
|
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 | soc21.c | 169 return adev->clock.spll.reference_freq; in soc21_get_xclk()
|
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 | nv.c | 308 return adev->clock.spll.reference_freq; in nv_get_xclk()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | clock_source.h | 111 uint32_t reference_freq; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clock_source.c | 233 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()
|