| /u-boot/arch/m68k/cpu/mcf532x/ |
| A D | speed.c | 147 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 D | speed.c | 29 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 D | clock.c | 55 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 D | clk-pllv3.c | 174 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 D | generic.c | 19 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 D | generic.c | 43 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 D | kendryte,k210-sysctl.txt | 9 "kendryte,k210-sysctl", "syscon", "simple-mfd" 24 compatible = "kendryte,k210-sysctl", "syscon", "simple-mfd";
|
| /u-boot/doc/device-tree-bindings/pinctrl/ |
| A D | marvell,armada-37xx-pinctrl.txt | 17 - 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 D | uniphier-ld11.dtsi | 311 "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 D | uniphier-ld4.dtsi | 210 "simple-mfd", "syscon"; 226 "simple-mfd", "syscon"; 332 "simple-mfd", "syscon"; 342 "simple-mfd"; 389 "simple-mfd", "syscon";
|
| A D | uniphier-sld8.dtsi | 214 "simple-mfd", "syscon"; 230 "simple-mfd", "syscon"; 336 "simple-mfd", "syscon"; 346 "simple-mfd"; 393 "simple-mfd", "syscon";
|
| A D | uniphier-pro4.dtsi | 244 "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 D | uniphier-pro5.dtsi | 342 "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 D | uniphier-pxs2.dtsi | 423 "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 D | uniphier-pxs3.dtsi | 366 "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 D | uniphier-ld20.dtsi | 436 "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 D | k3-j7200-mcu-wakeup.dtsi | 38 compatible = "syscon", "simple-mfd"; 111 compatible = "simple-mfd"; 248 compatible = "syscon", "simple-mfd";
|
| A D | fsl-ls1088a-qds.dtsi | 32 compatible = "simple-mfd";
|
| A D | fsl-ls1028a-qds.dtsi | 138 compatible = "simple-mfd";
|
| /u-boot/arch/arm/cpu/arm1136/mx35/ |
| A D | generic.c | 123 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 D | generic.c | 32 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 D | imx-regs.h | 143 #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 D | i2c.txt | 17 (e.g. mc34708 mfd). This information is necessary to correctly
|
| /u-boot/doc/device-tree-bindings/net/ |
| A D | mdio-mux-reg.txt | 24 compatible = "simple-mfd";
|
| /u-boot/arch/mips/dts/ |
| A D | mscc,luton.dtsi | 160 compatible = "mscc,luton-hsio", "syscon", "simple-mfd";
|