Home
last modified time | relevance | path

Searched full:mpll (Results 1 – 25 of 86) sorted by relevance

1234

/Linux-v5.10/drivers/clk/meson/
Dclk-mpll.c9 * scaling capabilities. MPLL rates are calculated as:
19 #include "clk-mpll.h"
79 struct meson_clk_mpll_data *mpll = meson_clk_mpll_data(clk); in mpll_recalc_rate() local
83 sdm = meson_parm_read(clk->map, &mpll->sdm); in mpll_recalc_rate()
84 n2 = meson_parm_read(clk->map, &mpll->n2); in mpll_recalc_rate()
95 struct meson_clk_mpll_data *mpll = meson_clk_mpll_data(clk); in mpll_round_rate() local
98 params_from_rate(rate, *parent_rate, &sdm, &n2, mpll->flags); in mpll_round_rate()
107 struct meson_clk_mpll_data *mpll = meson_clk_mpll_data(clk); in mpll_set_rate() local
111 params_from_rate(rate, parent_rate, &sdm, &n2, mpll->flags); in mpll_set_rate()
113 if (mpll->lock) in mpll_set_rate()
[all …]
DMakefile8 obj-$(CONFIG_COMMON_CLK_MESON_MPLL) += clk-mpll.o
/Linux-v5.10/drivers/gpu/drm/radeon/
Dradeon_clocks.c72 struct radeon_pll *mpll = &rdev->clock.mpll; in radeon_legacy_get_memory_clock() local
78 fb_div *= mpll->reference_freq; in radeon_legacy_get_memory_clock()
112 struct radeon_pll *mpll = &rdev->clock.mpll; in radeon_read_clocks_OF() local
150 spll->reference_freq = mpll->reference_freq = p1pll->reference_freq; in radeon_read_clocks_OF()
151 spll->reference_div = mpll->reference_div = in radeon_read_clocks_OF()
187 struct radeon_pll *mpll = &rdev->clock.mpll; in radeon_get_clock_info() local
219 if (mpll->reference_div < 2) in radeon_get_clock_info()
220 mpll->reference_div = spll->reference_div; in radeon_get_clock_info()
234 mpll->reference_freq = 1432; in radeon_get_clock_info()
239 mpll->reference_freq = 2700; in radeon_get_clock_info()
[all …]
/Linux-v5.10/drivers/clk/samsung/
Dclk-s3c2410.c35 mpll, upll, enumerator
54 PNAME(fclk_p) = { "mpll", "div_slow" };
109 ALIAS(MPLL, NULL, "mpll"),
155 [mpll] = PLL(pll_s3c2410_mpll, MPLL, "mpll", "xti",
162 DIV(HCLK, "hclk", "mpll", CLKDIVN, 1, 1),
221 [mpll] = PLL(pll_s3c2440_mpll, MPLL, "mpll", "xti",
342 s3c2410_plls[mpll].rate_table = pll_s3c2410_12mhz_tbl; in s3c2410_common_clk_init()
356 s3c244x_common_plls[mpll].rate_table = in s3c2410_common_clk_init()
Dclk-s3c2412.c80 PNAME(i2sclk_p) = { "erefclk", "mpll" };
81 PNAME(uartclk_p) = { "erefclk", "mpll" };
83 PNAME(msysclk_p) = { "mdivclk", "mpll" };
101 PLL(pll_s3c2440_mpll, MPLL, "mpll", "xti", LOCKTIME, MPLLCON, NULL),
155 ALIAS(MPLL, NULL, "mpll"),
Dclk-s3c2443.c66 PNAME(msysclk_p) = { "mpllref", "mpll" };
148 ALIAS(MPLL, NULL, "mpll"),
182 PLL(pll_6552_s3c2416, MPLL, "mpll", "mpllref", LOCKCON0, MPLLCON, NULL),
234 PLL(pll_3000, MPLL, "mpll", "mpllref", LOCKCON0, MPLLCON, NULL),
Dclk-s3c2410-dclk.c146 static const char *clkout0_s3c2410_p[] = { "mpll", "upll", "fclk", "hclk", "pclk",
148 static const char *clkout1_s3c2410_p[] = { "mpll", "upll", "fclk", "hclk", "pclk",
151 static const char *clkout0_s3c2412_p[] = { "mpll", "upll", "rtc_clkout",
158 static const char *clkout1_s3c2440_p[] = { "mpll", "upll", "rtc_clkout",
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c381 struct amdgpu_pll *mpll = &adev->clock.mpll; in amdgpu_atomfirmware_get_clock_info() local
441 mpll->reference_freq = le32_to_cpu(umc_info->v31.mem_refclk_10khz); in amdgpu_atomfirmware_get_clock_info()
443 mpll->reference_div = 0; in amdgpu_atomfirmware_get_clock_info()
444 mpll->min_post_div = 1; in amdgpu_atomfirmware_get_clock_info()
445 mpll->max_post_div = 1; in amdgpu_atomfirmware_get_clock_info()
446 mpll->min_ref_div = 2; in amdgpu_atomfirmware_get_clock_info()
447 mpll->max_ref_div = 0xff; in amdgpu_atomfirmware_get_clock_info()
448 mpll->min_feedback_div = 4; in amdgpu_atomfirmware_get_clock_info()
449 mpll->max_feedback_div = 0xff; in amdgpu_atomfirmware_get_clock_info()
450 mpll->best_vco = 0; in amdgpu_atomfirmware_get_clock_info()
Damdgpu_atombios.c571 struct amdgpu_pll *mpll = &adev->clock.mpll; in amdgpu_atombios_get_clock_info() local
643 mpll->reference_freq = in amdgpu_atombios_get_clock_info()
645 mpll->reference_div = 0; in amdgpu_atombios_get_clock_info()
647 mpll->pll_out_min = in amdgpu_atombios_get_clock_info()
649 mpll->pll_out_max = in amdgpu_atombios_get_clock_info()
653 if (mpll->pll_out_min == 0) in amdgpu_atombios_get_clock_info()
654 mpll->pll_out_min = 64800; in amdgpu_atombios_get_clock_info()
656 mpll->pll_in_min = in amdgpu_atombios_get_clock_info()
658 mpll->pll_in_max = in amdgpu_atombios_get_clock_info()
666 mpll->min_post_div = 1; in amdgpu_atombios_get_clock_info()
[all …]
/Linux-v5.10/drivers/phy/qualcomm/
Dphy-qcom-ipq806x-usb.c61 /* Override value for mpll */
104 /* MPLL bits */
121 u32 mpll; member
410 data |= SSPHY_MPLL(phy_dwc3->mpll); in qcom_ipq806x_usb_ss_phy_init()
536 if (device_property_read_u32(&pdev->dev, "qcom,mpll", &phy_dwc3->mpll)) in qcom_ipq806x_usb_phy_probe()
537 phy_dwc3->mpll = SSPHY_MPLL_VALUE; in qcom_ipq806x_usb_phy_probe()
/Linux-v5.10/drivers/clk/uniphier/
Dclk-uniphier-sys.c187 UNIPHIER_CLK_FACTOR("mpll", -1, "ref", 64, 1), /* 1600 MHz */
206 UNIPHIER_CLK_DIV4("mpll", 2, 3, 4, 8),
213 "mpll/2", "spll/4", "mpll/3", "spll/3",
214 "spll/4", "spll/8", "mpll/4", "mpll/8"),
221 UNIPHIER_CLK_FACTOR("mpll", -1, "ref", 64, 1), /* Codec: 1600 MHz */
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv04.c288 bool mpll = Preg == 0x4020; in setPLL_double_lowregs() local
291 uint32_t Pval = (oldPval & (mpll ? ~(0x77 << 16) : ~(7 << 16))) | in setPLL_double_lowregs()
306 if (mpll) { in setPLL_double_lowregs()
322 Pval |= mpll ? 1 << 12 : 1 << 8; in setPLL_double_lowregs()
326 if (mpll) { in setPLL_double_lowregs()
340 if (mpll) { in setPLL_double_lowregs()
349 if (mpll) { in setPLL_double_lowregs()
/Linux-v5.10/drivers/clk/imx/
Dclk-imx35.c65 /* 0 */ ckih, mpll, ppll, mpll_075, arm, hsp, hsp_div, hsp_sel, ahb, enumerator
117 clk[mpll] = imx_clk_pllv1(IMX_PLLV1_IMX35, "mpll", "ckih", base + MX35_CCM_MPCTL); in _mx35_clocks_init()
120 clk[mpll] = imx_clk_fixed_factor("mpll_075", "mpll", 3, 4); in _mx35_clocks_init()
125 clk[arm] = imx_clk_fixed_factor("arm", "mpll", 1, aad->arm); in _mx35_clocks_init()
Dclk-imx27.c35 static const char *cpu_sel_clks[] = { "mpll_main2", "mpll", };
40 "ckih_gate", "mpll", "spll", "cpu_div",
47 static const char *ssi_sel_clks[] = { "spll_gate", "mpll", };
75 clk[IMX27_CLK_MPLL] = imx_clk_pllv1(IMX_PLLV1_IMX27, "mpll", "mpll_sel", CCM_MPCTL0); in _mx27_clocks_init()
78 clk[IMX27_CLK_MPLL_MAIN2] = imx_clk_fixed_factor("mpll_main2", "mpll", 2, 3); in _mx27_clocks_init()
Dclk-imx31.c34 static const char *mcu_main_sel[] = { "spll", "mpll", };
40 dummy, ckih, ckil, mpll, spll, upll, mcu_main, hsp, ahb, nfc, ipg, enumerator
69 clk[mpll] = imx_clk_pllv1(IMX_PLLV1_IMX31, "mpll", "ckih", base + MXC_CCM_MPCTL); in _mx31_clocks_init()
Dclk-imx1.c47 clk[IMX1_CLK_MPLL] = imx_clk_pllv1(IMX_PLLV1_IMX1, "mpll", "clk32_premult", CCM_MPCTL0); in mx1_clocks_init_dt()
48 clk[IMX1_CLK_MPLL_GATE] = imx_clk_gate("mpll_gate", "mpll", CCM_CSCR, 0); in mx1_clocks_init_dt()
Dclk-imx25.c45 static const char *cpu_sel_clks[] = { "mpll", "mpll_cpu_3_4", };
53 dummy, osc, mpll, upll, mpll_cpu_3_4, cpu_sel, cpu, ahb, usb_div, ipg, enumerator
91 clk[mpll] = imx_clk_pllv1(IMX_PLLV1_IMX25, "mpll", "osc", ccm(CCM_MPCTL)); in __mx25_clocks_init()
93 clk[mpll_cpu_3_4] = imx_clk_fixed_factor("mpll_cpu_3_4", "mpll", 3, 4); in __mx25_clocks_init()
/Linux-v5.10/Documentation/devicetree/bindings/phy/
Dqcom,ipq806x-usb-phy-ss.yaml50 qcom,mpll:
52 description: Override value for mpll.
/Linux-v5.10/drivers/clk/mvebu/
Dmv98dx3236.c24 * SAR1[20:18] : CPU frequency DDR frequency MPLL frequency
33 * SAR1[20:18] : CPU frequency DDR frequency MPLL frequency
94 { .id = MV98DX3236_CPU_TO_MPLL, .name = "mpll" },
/Linux-v5.10/arch/arm/mach-s3c/
Dcpufreq-utils-s3c24xx.c60 if (!IS_ERR(cfg->mpll)) in s3c2410_set_fvco()
61 clk_set_rate(cfg->mpll, cfg->pll.frequency); in s3c2410_set_fvco()
/Linux-v5.10/arch/arm64/boot/dts/sprd/
Dsharkl3.dtsi91 mpll: mpll { label
92 compatible = "sprd,sc9863a-mpll";
/Linux-v5.10/Documentation/devicetree/bindings/clock/
Dmvebu-core-clock.txt38 3 = mpll (MPLL Clock)
/Linux-v5.10/arch/arm/mach-sa1100/
Dclock.c66 * Derived from the table 8-1 in the SA1110 manual, the MPLL appears to
86 .name = "mpll",
/Linux-v5.10/sound/soc/samsung/
Ds3c2412-i2s.c63 /* Set MPLL as the source for IIS CLK */ in s3c2412_i2s_probe()
65 clk_set_parent(s3c2412_i2s.iis_cclk, clk_get(NULL, "mpll")); in s3c2412_i2s_probe()
/Linux-v5.10/arch/arm/mach-imx/
Dpm-imx27.c29 /* Clear MPEN and SPEN to disable MPLL/SPLL */ in mx27_suspend_enter()

1234