Home
last modified time | relevance | path

Searched refs:spll (Results 1 – 25 of 31) sorted by relevance

12

/drivers/gpu/drm/radeon/
Dradeon_clocks.c37 struct radeon_pll *spll = &rdev->clock.spll; in radeon_legacy_get_engine_clock() local
43 fb_div *= spll->reference_freq; in radeon_legacy_get_engine_clock()
106 struct radeon_pll *spll = &rdev->clock.spll; in radeon_read_clocks_OF() local
145 spll->reference_freq = mpll->reference_freq = p1pll->reference_freq; in radeon_read_clocks_OF()
146 spll->reference_div = mpll->reference_div = in radeon_read_clocks_OF()
181 struct radeon_pll *spll = &rdev->clock.spll; in radeon_get_clock_info() local
209 if (spll->reference_div < 2) in radeon_get_clock_info()
210 spll->reference_div = in radeon_get_clock_info()
215 mpll->reference_div = spll->reference_div; in radeon_get_clock_info()
228 spll->reference_freq = 1432; in radeon_get_clock_info()
[all …]
Dradeon_combios.c736 struct radeon_pll *spll = &rdev->clock.spll; in radeon_combios_get_clock_info() local
763 spll->reference_freq = RBIOS16(pll_info + 0x1a); in radeon_combios_get_clock_info()
764 spll->reference_div = RBIOS16(pll_info + 0x1c); in radeon_combios_get_clock_info()
765 spll->pll_out_min = RBIOS32(pll_info + 0x1e); in radeon_combios_get_clock_info()
766 spll->pll_out_max = RBIOS32(pll_info + 0x22); in radeon_combios_get_clock_info()
769 spll->pll_in_min = RBIOS32(pll_info + 0x48); in radeon_combios_get_clock_info()
770 spll->pll_in_max = RBIOS32(pll_info + 0x4c); in radeon_combios_get_clock_info()
773 spll->pll_in_min = 40; in radeon_combios_get_clock_info()
774 spll->pll_in_max = 500; in radeon_combios_get_clock_info()
Dradeon_atombios.c1144 struct radeon_pll *spll = &rdev->clock.spll; in radeon_atom_get_clock_info() local
1197 spll->reference_freq = in radeon_atom_get_clock_info()
1200 spll->reference_freq = in radeon_atom_get_clock_info()
1202 spll->reference_div = 0; in radeon_atom_get_clock_info()
1204 spll->pll_out_min = in radeon_atom_get_clock_info()
1206 spll->pll_out_max = in radeon_atom_get_clock_info()
1210 if (spll->pll_out_min == 0) { in radeon_atom_get_clock_info()
1212 spll->pll_out_min = 64800; in radeon_atom_get_clock_info()
1214 spll->pll_out_min = 20000; in radeon_atom_get_clock_info()
1217 spll->pll_in_min = in radeon_atom_get_clock_info()
[all …]
Drv6xx_dpm.c164 u32 ref_clk = rdev->clock.spll.reference_freq; in rv6xx_output_stepping()
429 u32 ref_clk = rdev->clock.spll.reference_freq; in rv6xx_compute_count_for_delay()
552 u32 ref_clk = rdev->clock.spll.reference_freq; in rv6xx_program_engine_spread_spectrum()
841 u32 ref_clk = rdev->clock.spll.reference_freq; in rv6xx_program_bsp()
Drv740_dpm.c132 u32 reference_clock = rdev->clock.spll.reference_freq; in rv740_populate_sclk_value()
Drs780_dpm.c990 u32 sclk = (rdev->clock.spll.reference_freq * current_fb_div) / in rs780_dpm_debugfs_print_current_performance_level()
1012 u32 sclk = (rdev->clock.spll.reference_freq * current_fb_div) / in rs780_dpm_get_current_sclk()
Drv730_dpm.c52 u32 reference_clock = rdev->clock.spll.reference_freq; in rv730_populate_sclk_value()
Dradeon_uvd.c920 unsigned vco_freq, ref_freq = rdev->clock.spll.reference_freq; in radeon_uvd_calc_upll_dividers()
Dradeon_kms.c331 *value = rdev->clock.spll.reference_freq * 10; in radeon_info_ioctl()
Drv770.c792 u32 reference_clock = rdev->clock.spll.reference_freq; in rv770_get_xclk()
Dci_dpm.c1966 u32 ref_clock = rdev->clock.spll.reference_freq; in ci_program_display_gap()
2986 table->ACPILevel.SclkFrequency = rdev->clock.spll.reference_freq; in ci_populate_smc_acpi_level()
3145 u32 reference_clock = rdev->clock.spll.reference_freq; in ci_calculate_sclk_params()
Dr600.c194 return rdev->clock.spll.reference_freq; in r600_get_xclk()
221 if (rdev->clock.spll.reference_freq == 10000) in r600_set_uvd_clocks()
Drv770_dpm.c501 u32 reference_clock = rdev->clock.spll.reference_freq; in rv770_populate_sclk_value()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dnv40.c36 u32 spll; member
175 clk->spll = 0xc0000000 | (log2P << 16) | (N1 << 8) | M1; in nv40_clk_calc()
178 clk->spll = 0x00000000; in nv40_clk_calc()
193 nvkm_mask(device, 0x004008, 0xc007ffff, clk->spll); in nv40_clk_prog()
Dnv50.c474 clk_mask(hwsq, spll[0], 0xc03f0100, (P1 << 19) | (P1 << 16)); in nv50_clk_calc()
481 clk_mask(hwsq, spll[0], 0xc03f0100, in nv50_clk_calc()
483 clk_mask(hwsq, spll[1], 0x0000ffff, (N << 8) | M); in nv50_clk_calc()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c556 struct amdgpu_pll *spll = &adev->clock.spll; in amdgpu_atombios_get_clock_info() local
602 spll->reference_freq = in amdgpu_atombios_get_clock_info()
604 spll->reference_div = 0; in amdgpu_atombios_get_clock_info()
606 spll->pll_out_min = in amdgpu_atombios_get_clock_info()
608 spll->pll_out_max = in amdgpu_atombios_get_clock_info()
612 if (spll->pll_out_min == 0) in amdgpu_atombios_get_clock_info()
613 spll->pll_out_min = 64800; in amdgpu_atombios_get_clock_info()
615 spll->pll_in_min = in amdgpu_atombios_get_clock_info()
617 spll->pll_in_max = in amdgpu_atombios_get_clock_info()
620 spll->min_post_div = 1; in amdgpu_atombios_get_clock_info()
[all …]
Dvi.c290 u32 reference_clock = adev->clock.spll.reference_freq; in vi_get_xclk()
Dcik.c839 u32 reference_clock = adev->clock.spll.reference_freq; in cik_get_xclk()
Damdgpu.h377 struct amdgpu_pll spll; member
Dci_dpm.c2094 u32 ref_clock = adev->clock.spll.reference_freq; in ci_program_display_gap()
3122 table->ACPILevel.SclkFrequency = adev->clock.spll.reference_freq; in ci_populate_smc_acpi_level()
3283 u32 reference_clock = adev->clock.spll.reference_freq; in ci_calculate_sclk_params()
/drivers/gpu/drm/i915/
Dintel_ddi.c1299 struct intel_shared_dpll_config *spll = in hsw_ddi_pll_select() local
1302 if (spll->crtc_mask && in hsw_ddi_pll_select()
1303 WARN_ON(spll->hw_state.spll != crtc_state->dpll_hw_state.spll)) in hsw_ddi_pll_select()
1307 spll->hw_state.spll = crtc_state->dpll_hw_state.spll; in hsw_ddi_pll_select()
1308 spll->crtc_mask |= 1 << intel_crtc->pipe; in hsw_ddi_pll_select()
2472 I915_WRITE(SPLL_CTL, pll->config.hw_state.spll); in hsw_ddi_spll_enable()
2522 hw_state->spll = val; in hsw_ddi_spll_get_hw_state()
Dintel_crt.c266 pipe_config->dpll_hw_state.spll = in intel_crt_compute_config()
Di915_drv.h373 uint32_t spll; member
/drivers/clk/imx/
Dclk-imx31.c51 dummy, ckih, ckil, mpll, spll, upll, mcu_main, hsp, ahb, nfc, ipg, enumerator
87 clk[spll] = imx_clk_pllv1(IMX_PLLV1_IMX31, "spll", "ckih", base + MXC_CCM_SRPCTL); in _mx31_clocks_init()
/drivers/clk/samsung/
Dclk-exynos5420.c146 apll, cpll, dpll, epll, rpll, ipll, spll, vpll, mpll, enumerator
1246 [spll] = PLL(pll_2550, CLK_FOUT_SPLL, "fout_spll", "fin_pll", SPLL_LOCK,

12