Home
last modified time | relevance | path

Searched refs:mfd (Results 1 – 25 of 87) sorted by relevance

1234

/u-boot/arch/m68k/cpu/mcf532x/
A Dspeed.c147 int fref, temp, fout, mfd; in clock_pll() local
156 mfd = (in_be32(&pll->pcr) & 0x3F) + 1; in clock_pll()
158 return (fref * mfd) / busdiv; in clock_pll()
161 mfd = in_8(&pll->pfdr); in clock_pll()
163 return (fref * mfd / (BUSDIV * 4)); in clock_pll()
182 mfd = (BUSDIV * temp) / 100; in clock_pll()
185 fout = ((fref * mfd) / BUSDIV); in clock_pll()
188 mfd = (4 * BUSDIV * temp) / 100; in clock_pll()
191 fout = ((fref * mfd) / (BUSDIV * 4)); in clock_pll()
220 setbits_be32(&pll->pcr, PLL_PCR_FBDIV(mfd - 1)); in clock_pll()
[all …]
/u-boot/arch/arm/cpu/arm920t/imx/
A Dspeed.c29 u32 mfd = (spctl0 >> 16) & 0x3f; in get_systemPLLCLK() local
34 return (2*(CONFIG_SYSPLL_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1); in get_systemPLLCLK()
43 u32 mfd = (mpctl0 >> 16) & 0x3f; in get_mcuPLLCLK() local
48 return (2*(CONFIG_SYS_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1); in get_mcuPLLCLK()
/u-boot/arch/arm/mach-imx/mx5/
A Dclock.c55 u32 mfd; member
66 u32 mfd; member
176 mfd = readl(&pll->mfd); in decode_pll()
574 mfd = fixed_mfd[i].mfd; in calc_pll_params()
601 t1 *= mfd; in calc_pll_params()
608 i = gcd(mfd, mfn); in calc_pll_params()
613 do_div(mfd, i); in calc_pll_params()
614 pll->mfd = (u32)mfd; in calc_pll_params()
659 pll_param->mfd); in config_pll_clk()
670 pll_param->mfd); in config_pll_clk()
[all …]
/u-boot/drivers/clk/imx/
A Dclk-pllv3.c174 u32 mfd = readl(pll->base + PLL_DENOM_OFFSET); in clk_pllv3_av_get_rate() local
178 if (mfd == 0) in clk_pllv3_av_get_rate()
182 do_div(temp64, mfd); in clk_pllv3_av_get_rate()
194 u32 mfn, mfd = 1000000; in clk_pllv3_av_set_rate() local
208 mfd = parent_rate; in clk_pllv3_av_set_rate()
212 temp64 *= mfd; in clk_pllv3_av_set_rate()
221 writel(mfd, pll->base + PLL_DENOM_OFFSET); in clk_pllv3_av_set_rate()
/u-boot/arch/arm/cpu/arm1136/mx31/
A Dgeneric.c19 u32 mfd = GET_PLL_MFD(reg); in mx31_decode_pll() local
24 mfd += 1; in mx31_decode_pll()
27 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in mx31_decode_pll()
28 mfd * pd); in mx31_decode_pll()
/u-boot/arch/arm/cpu/arm926ejs/mx25/
A Dgeneric.c43 unsigned int mfd = (pll >> CCM_PLL_MFD_SHIFT) in imx_decode_pll() local
50 mfd += 1; in imx_decode_pll()
53 return lldiv(2 * (u64) f_ref * (mfi * mfd + mfn), in imx_decode_pll()
54 mfd * pd); in imx_decode_pll()
/u-boot/doc/device-tree-bindings/mfd/
A Dkendryte,k210-sysctl.txt9 "kendryte,k210-sysctl", "syscon", "simple-mfd"
24 compatible = "kendryte,k210-sysctl", "syscon", "simple-mfd";
/u-boot/doc/device-tree-bindings/pinctrl/
A Dmarvell,armada-37xx-pinctrl.txt17 - compatible: "marvell,armada3710-sb-pinctrl", "syscon, "simple-mfd"
19 "marvell,armada3710-nb-pinctrl", "syscon, "simple-mfd"
158 "syscon", "simple-mfd";
/u-boot/arch/arm/dts/
A Duniphier-ld11.dtsi311 "simple-mfd", "syscon";
415 "simple-mfd", "syscon";
426 "simple-mfd", "syscon";
509 "simple-mfd", "syscon";
526 "simple-mfd", "syscon";
557 "simple-mfd";
599 "simple-mfd", "syscon";
A Duniphier-ld4.dtsi210 "simple-mfd", "syscon";
226 "simple-mfd", "syscon";
332 "simple-mfd", "syscon";
342 "simple-mfd";
389 "simple-mfd", "syscon";
A Duniphier-sld8.dtsi214 "simple-mfd", "syscon";
230 "simple-mfd", "syscon";
336 "simple-mfd", "syscon";
346 "simple-mfd";
393 "simple-mfd", "syscon";
A Duniphier-pro4.dtsi244 "simple-mfd", "syscon";
260 "simple-mfd", "syscon";
372 "simple-mfd", "syscon";
410 "simple-mfd";
470 "simple-mfd", "syscon";
523 "simple-mfd";
595 "simple-mfd";
A Duniphier-pro5.dtsi342 "simple-mfd", "syscon";
358 "simple-mfd", "syscon";
374 "simple-mfd", "syscon";
384 "simple-mfd";
454 "simple-mfd", "syscon";
485 "simple-mfd";
549 "simple-mfd";
A Duniphier-pxs2.dtsi423 "simple-mfd", "syscon";
439 "simple-mfd", "syscon";
489 "simple-mfd", "syscon";
499 "simple-mfd";
554 "simple-mfd", "syscon";
614 "simple-mfd";
728 "simple-mfd";
A Duniphier-pxs3.dtsi366 "simple-mfd", "syscon";
382 "simple-mfd", "syscon";
435 "simple-mfd", "syscon";
445 "simple-mfd";
531 "simple-mfd", "syscon";
616 "simple-mfd";
737 "simple-mfd";
A Duniphier-ld20.dtsi436 "simple-mfd", "syscon";
540 "simple-mfd", "syscon";
556 "simple-mfd", "syscon";
605 "simple-mfd", "syscon";
615 "simple-mfd";
701 "simple-mfd", "syscon";
767 "simple-mfd";
A Dk3-j7200-mcu-wakeup.dtsi38 compatible = "syscon", "simple-mfd";
111 compatible = "simple-mfd";
248 compatible = "syscon", "simple-mfd";
A Dfsl-ls1088a-qds.dtsi32 compatible = "simple-mfd";
A Dfsl-ls1028a-qds.dtsi138 compatible = "simple-mfd";
/u-boot/arch/arm/cpu/arm1136/mx35/
A Dgeneric.c123 u32 mfd = (reg >> 16) & 0x3ff; in decode_pll() local
128 mfd += 1; in decode_pll()
131 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in decode_pll()
132 mfd * pd); in decode_pll()
/u-boot/arch/arm/cpu/arm926ejs/mx27/
A Dgeneric.c32 unsigned int mfd = (pll >> 16) & 0x3ff; in imx_decode_pll() local
37 return lldiv(2 * (u64)f_ref * (mfi * (mfd + 1) + mfn), in imx_decode_pll()
38 (mfd + 1) * (pd + 1)); in imx_decode_pll()
/u-boot/arch/arm/include/asm/arch-mx35/
A Dimx-regs.h143 #define _PLL_SETTING(brm, pd, mfd, mfi, mfn) \ argument
144 (_PLL_BRM(brm) | _PLL_PD(pd) | _PLL_MFD(mfd) | _PLL_MFI(mfi) |\
/u-boot/doc/device-tree-bindings/i2c/
A Di2c.txt17 (e.g. mc34708 mfd). This information is necessary to correctly
/u-boot/doc/device-tree-bindings/net/
A Dmdio-mux-reg.txt24 compatible = "simple-mfd";
/u-boot/arch/mips/dts/
A Dmscc,luton.dtsi160 compatible = "mscc,luton-hsio", "syscon", "simple-mfd";

Completed in 38 milliseconds

1234