Home
last modified time | relevance | path

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

123

/rk3399_rockchip-uboot/arch/m68k/cpu/mcf532x/
H A Dspeed.c146 int fref, temp, fout, mfd; in clock_pll() local
155 mfd = (in_be32(&pll->pcr) & 0x3F) + 1; in clock_pll()
157 return (fref * mfd) / busdiv; in clock_pll()
160 mfd = in_8(&pll->pfdr); in clock_pll()
162 return (fref * mfd / (BUSDIV * 4)); in clock_pll()
181 mfd = (BUSDIV * temp) / 100; in clock_pll()
184 fout = ((fref * mfd) / BUSDIV); in clock_pll()
187 mfd = (4 * BUSDIV * temp) / 100; in clock_pll()
190 fout = ((fref * mfd) / (BUSDIV * 4)); in clock_pll()
219 setbits_be32(&pll->pcr, PLL_PCR_FBDIV(mfd - 1)); in clock_pll()
[all …]
/rk3399_rockchip-uboot/arch/arm/cpu/arm920t/imx/
H A Dspeed.c30 u32 mfd = (spctl0 >> 16) & 0x3f; in get_systemPLLCLK() local
35 return (2*(CONFIG_SYSPLL_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1); in get_systemPLLCLK()
44 u32 mfd = (mpctl0 >> 16) & 0x3f; in get_mcuPLLCLK() local
49 return (2*(CONFIG_SYS_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1); in get_mcuPLLCLK()
/rk3399_rockchip-uboot/arch/arm/mach-imx/mx5/
H A Dclock.c54 u32 mfd; member
65 u32 mfd; member
163 uint32_t ctrl, op, mfd, mfn, mfi, pdf, ret; in decode_pll() local
171 mfd = readl(&pll->hfs_mfd); in decode_pll()
175 mfd = readl(&pll->mfd); in decode_pll()
179 mfd &= MXC_DPLLC_MFD_MFD_MASK; in decode_pll()
201 do_div(temp, mfd + 1); in decode_pll()
554 u64 pd, mfi = 1, mfn, mfd, t1; in calc_pll_params() local
573 mfd = fixed_mfd[i].mfd; in calc_pll_params()
600 t1 *= mfd; in calc_pll_params()
[all …]
/rk3399_rockchip-uboot/arch/arm/cpu/arm1136/mx31/
H 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()
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mx25/
H A Dgeneric.c39 unsigned int mfd = (pll >> CCM_PLL_MFD_SHIFT) in imx_decode_pll() local
46 mfd += 1; in imx_decode_pll()
49 return lldiv(2 * (u64) f_ref * (mfi * mfd + mfn), in imx_decode_pll()
50 mfd * pd); in imx_decode_pll()
/rk3399_rockchip-uboot/arch/arm/dts/
H A Duniphier-ld11.dtsi246 "simple-mfd", "syscon";
257 "simple-mfd", "syscon";
326 "simple-mfd", "syscon";
343 "simple-mfd", "syscon";
369 "simple-mfd", "syscon";
H A Duniphier-pxs3.dtsi281 "simple-mfd", "syscon";
297 "simple-mfd", "syscon";
344 "simple-mfd", "syscon";
370 "simple-mfd", "syscon";
H A Duniphier-ld20.dtsi315 "simple-mfd", "syscon";
331 "simple-mfd", "syscon";
378 "simple-mfd", "syscon";
404 "simple-mfd", "syscon";
H A Duniphier-sld8.dtsi292 "simple-mfd", "syscon";
308 "simple-mfd", "syscon";
395 "simple-mfd", "syscon";
436 "simple-mfd", "syscon";
H A Duniphier-ld4.dtsi292 "simple-mfd", "syscon";
308 "simple-mfd", "syscon";
395 "simple-mfd", "syscon";
436 "simple-mfd", "syscon";
H A Duniphier-pro4.dtsi415 "simple-mfd", "syscon";
432 "simple-mfd", "syscon";
524 "simple-mfd", "syscon";
565 "simple-mfd", "syscon";
H A Duniphier-pxs2.dtsi479 "simple-mfd", "syscon";
496 "simple-mfd", "syscon";
547 "simple-mfd", "syscon";
588 "simple-mfd", "syscon";
H A Duniphier-pro5.dtsi502 "simple-mfd", "syscon";
519 "simple-mfd", "syscon";
535 "simple-mfd", "syscon";
576 "simple-mfd", "syscon";
H A Darmada-37xx.dtsi111 "syscon", "simple-mfd";
161 "syscon", "simple-mfd";
H A Dast2500.dtsi68 compatible = "aspeed,g5-scu", "syscon", "simple-mfd";
972 compatible = "aspeed,ast2500-lpc", "simple-mfd";
985 compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon";
H A Dstm32mp157a-dk1.dts12 #include <dt-bindings/mfd/st,stpmic1.h>
H A Dstm32f746.dtsi51 #include <dt-bindings/mfd/stm32f7-rcc.h>
H A Dpx30.dtsi118 compatible = "rockchip,px30-pmu", "syscon", "simple-mfd";
194 compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd";
305 compatible = "rockchip,px30-grf", "syscon", "simple-mfd";
374 compatible = "syscon", "simple-mfd";
729 "simple-mfd";
H A Dzynq-7000.dtsi262 compatible = "xlnx,zynq-slcr", "syscon", "simple-mfd";
/rk3399_rockchip-uboot/arch/arm/cpu/arm1136/mx35/
H A Dgeneric.c119 u32 mfd = (reg >> 16) & 0x3ff; in decode_pll() local
124 mfd += 1; in decode_pll()
127 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in decode_pll()
128 mfd * pd); in decode_pll()
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mx27/
H A Dgeneric.c31 unsigned int mfd = (pll >> 16) & 0x3ff; in imx_decode_pll() local
36 return lldiv(2 * (u64)f_ref * (mfi * (mfd + 1) + mfn), in imx_decode_pll()
37 (mfd + 1) * (pd + 1)); in imx_decode_pll()
/rk3399_rockchip-uboot/board/intel/galileo/
H A DKconfig30 Linux kernel drivers (drivers/mfd/intel_quark_i2c_gpio.c and
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx35/
H A Dimx-regs.h144 #define _PLL_SETTING(brm, pd, mfd, mfi, mfn) \ argument
145 (_PLL_BRM(brm) | _PLL_PD(pd) | _PLL_MFD(mfd) | _PLL_MFI(mfi) |\
/rk3399_rockchip-uboot/drivers/sysreset/
H A DKconfig57 bool "Enable support for mfd syscon reboot driver"
/rk3399_rockchip-uboot/doc/device-tree-bindings/clock/
H A Dst,stm32-rcc.txt46 - include/dt-bindings/mfd/stm32f4-rcc.h

123