Home
last modified time | relevance | path

Searched refs:pll2 (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/Documentation/devicetree/bindings/clock/
Dallwinner,sun4i-a10-mod1-clk.yaml44 #include <dt-bindings/clock/sun4i-a10-pll2.h>
50 clocks = <&pll2 SUN4I_A10_PLL2_8X>,
51 <&pll2 SUN4I_A10_PLL2_4X>,
52 <&pll2 SUN4I_A10_PLL2_2X>,
53 <&pll2 SUN4I_A10_PLL2_1X>;
Drenesas,cpg-clocks.yaml76 - const: pll2
202 - const: pll2
Dimx28-clock.yaml22 pll2 3
Drenesas,cpg-div6-clock.yaml60 clock-output-names = "main", "pll0", "pll1", "pll2",
/linux-6.1.9/drivers/mfd/
Dsm501.c116 static unsigned long decode_div(unsigned long pll2, unsigned long val, in decode_div() argument
121 pll2 = 288 * MHZ; in decode_div()
123 return pll2 / div_tab[(val >> lshft) & mask]; in decode_div()
140 unsigned long pll2 = 0; in sm501_dump_clk() local
144 pll2 = 336 * MHZ; in sm501_dump_clk()
147 pll2 = 288 * MHZ; in sm501_dump_clk()
150 pll2 = 240 * MHZ; in sm501_dump_clk()
153 pll2 = 192 * MHZ; in sm501_dump_clk()
157 sdclk0 = (misct & (1<<12)) ? pll2 : 288 * MHZ; in sm501_dump_clk()
160 sdclk1 = (misct & (1<<20)) ? pll2 : 288 * MHZ; in sm501_dump_clk()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv04.c208 uint32_t pll2 = (oldpll2 & 0x7fff0000) | 1 << 31 | pv->NM2; in setPLL_double_highregs() local
218 pll2 = 0; in setPLL_double_highregs()
227 pll2 |= 0x011f; in setPLL_double_highregs()
233 if (oldpll1 == pll1 && oldpll2 == pll2) in setPLL_double_highregs()
266 nvkm_wr32(device, reg2, pll2); in setPLL_double_highregs()
/linux-6.1.9/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_de.c284 static void get_pll_config(u64 x, u64 y, u32 *pll1, u32 *pll2) in get_pll_config() argument
293 *pll2 = hibmc_pll_table[i].pll2_config_value; in get_pll_config()
300 *pll2 = CRT_PLL2_HS_25MHZ; in get_pll_config()
316 u32 pll2; /* bit[63:32] of PLL */ in display_ctrl_adjust() local
322 get_pll_config(x, y, &pll1, &pll2); in display_ctrl_adjust()
323 writel(pll2, priv->mmio + CRT_PLL2_HS); in display_ctrl_adjust()
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c133 uint32_t pll2, struct nvkm_pll_vals *pllvals) in nouveau_hw_decode_pll() argument
144 pllvals->NM1 = pll2 & 0xffff; in nouveau_hw_decode_pll()
147 pllvals->NM2 = pll2 >> 16; in nouveau_hw_decode_pll()
150 if (nv_two_reg_pll(dev) && pll2 & NV31_RAMDAC_ENABLE_VCO2) in nouveau_hw_decode_pll()
151 pllvals->NM2 = pll2 & 0xffff; in nouveau_hw_decode_pll()
170 uint32_t reg1, pll1, pll2 = 0; in nouveau_hw_get_pllvals() local
180 pll2 = nvif_rd32(device, reg1 + 4); in nouveau_hw_get_pllvals()
184 pll2 = nvif_rd32(device, reg2); in nouveau_hw_get_pllvals()
193 pll2 = 0; in nouveau_hw_get_pllvals()
196 pll2 = 0; in nouveau_hw_get_pllvals()
[all …]
/linux-6.1.9/drivers/media/i2c/
Dov7251.c109 const struct ov7251_pll2_cfg *pll2; member
218 .pll2 = &ov7251_pll2_cfg_19_2_mhz,
226 .pll2 = &ov7251_pll2_cfg_24_mhz,
840 configs->pll2->pre_div); in ov7251_pll_configure()
845 configs->pll2->mult); in ov7251_pll_configure()
850 configs->pll2->div); in ov7251_pll_configure()
855 configs->pll2->sys_div); in ov7251_pll_configure()
860 configs->pll2->adc_div); in ov7251_pll_configure()
/linux-6.1.9/drivers/gpu/drm/tegra/
Dsor.c367 unsigned int pll2; member
1450 value = tegra_sor_readl(sor, sor->soc->regs->pll2); in tegra_sor_power_down()
1452 tegra_sor_writel(sor, value, sor->soc->regs->pll2); in tegra_sor_power_down()
1460 value = tegra_sor_readl(sor, sor->soc->regs->pll2); in tegra_sor_power_down()
1463 tegra_sor_writel(sor, value, sor->soc->regs->pll2); in tegra_sor_power_down()
2286 value = tegra_sor_readl(sor, sor->soc->regs->pll2); in tegra_sor_hdmi_enable()
2288 tegra_sor_writel(sor, value, sor->soc->regs->pll2); in tegra_sor_hdmi_enable()
2301 value = tegra_sor_readl(sor, sor->soc->regs->pll2); in tegra_sor_hdmi_enable()
2303 tegra_sor_writel(sor, value, sor->soc->regs->pll2); in tegra_sor_hdmi_enable()
2307 value = tegra_sor_readl(sor, sor->soc->regs->pll2); in tegra_sor_hdmi_enable()
[all …]
/linux-6.1.9/drivers/clk/sunxi/
DMakefile12 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-pll2.o
/linux-6.1.9/drivers/clk/mxs/
Dclk-imx28.c133 ref_xtal, pll0, pll1, pll2, ref_cpu, ref_emi, ref_io0, ref_io1, enumerator
170 clks[pll2] = mxs_clk_pll("pll2", "ref_xtal", PLL2CTRL0, 23, 50000000); in mx28_clocks_init()
/linux-6.1.9/arch/arm/boot/dts/
Dste-nomadik-stn8815.dtsi242 pll2: pll2@0 { label
253 clocks = <&pll2>;
268 clocks = <&pll2>;
276 clocks = <&pll2>;
Ddra74x.dtsi139 "pll2_clkctrl", "pll2";
Dr8a73a4.dtsi484 clock-output-names = "main", "pll0", "pll1", "pll2",
Dsh73a0.dtsi651 clock-output-names = "main", "pll0", "pll1", "pll2",
/linux-6.1.9/Documentation/devicetree/bindings/display/ti/
Dti,dra7-dss.txt24 'pll1', 'pll2_clkctrl', 'pll2'
/linux-6.1.9/sound/soc/codecs/
Dtscs454.c132 struct pll pll2; member
293 pll_init(&tscs454->pll2, 2); in tscs454_data_init()
440 mutex_lock(&tscs454->pll2.lock); in coeff_ram_put()
457 mutex_unlock(&tscs454->pll2.lock); in coeff_ram_put()
689 mutex_lock(&tscs454->pll2.lock); in pll_connected()
690 users = tscs454->pll2.users; in pll_connected()
691 mutex_unlock(&tscs454->pll2.lock); in pll_connected()
3189 aif->pll = &tscs454->pll2; in tscs454_hw_params()
3202 tscs454->internal_rate.pll = &tscs454->pll2; in tscs454_hw_params()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.h214 u32 ebb0, ebb4, pll0, pll1, pll2, pll3, pll6, pll8, pll9, pll10, pcsdw12; member
Dintel_dpll_mgr.c1965 temp |= pll->state.hw_state.pll2; in bxt_ddi_pll_enable()
2093 hw_state->pll2 = intel_de_read(dev_priv, BXT_PORT_PLL(phy, ch, 2)); in bxt_ddi_pll_get_hw_state()
2094 hw_state->pll2 &= PORT_PLL_M2_FRAC_MASK; in bxt_ddi_pll_get_hw_state()
2233 dpll_hw_state->pll2 = PORT_PLL_M2_FRAC(clk_div->m2 & 0x3fffff); in bxt_ddi_set_dpll_hw_state()
2265 clock.m2 |= REG_FIELD_GET(PORT_PLL_M2_FRAC_MASK, pll_state->pll2); in bxt_ddi_pll_get_freq()
2359 hw_state->pll2, in bxt_dump_hw_state()
Dintel_display.c5852 PIPE_CONF_CHECK_X(dpll_hw_state.pll2); in intel_pipe_config_compare()
/linux-6.1.9/arch/arm/mach-davinci/
Ddm365.c768 void __iomem *pll1, *pll2, *psc; in dm365_init_time() local
777 pll2 = ioremap(DAVINCI_PLL2_BASE, SZ_1K); in dm365_init_time()
778 dm365_pll2_init(NULL, pll2, NULL); in dm365_init_time()
/linux-6.1.9/drivers/clk/qcom/
Dmmcc-msm8960.c44 static struct clk_pll pll2 = { variable
103 { .hw = &pll2.clkr.hw },
116 { .hw = &pll2.clkr.hw },
130 { .hw = &pll2.clkr.hw },
2801 [PLL2] = &pll2.clkr,
2977 [PLL2] = &pll2.clkr,
/linux-6.1.9/Documentation/devicetree/bindings/sound/
Dmt8195-afe-pcm.yaml45 - description: audio pll2 clock