Home
last modified time | relevance | path

Searched refs:mfi (Results 1 – 7 of 7) sorted by relevance

/u-boot/arch/arm/cpu/arm920t/imx/
A Dspeed.c27 u32 mfi = (spctl0 >> 10) & 0xf; in get_systemPLLCLK() local
32 mfi = mfi<=5 ? 5 : mfi; in get_systemPLLCLK()
34 return (2*(CONFIG_SYSPLL_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1); in get_systemPLLCLK()
41 u32 mfi = (mpctl0 >> 10) & 0xf; in get_mcuPLLCLK() local
46 mfi = mfi<=5 ? 5 : mfi; in get_mcuPLLCLK()
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.c64 u32 mfi; member
183 mfi = MXC_DPLLC_OP_MFI_RD(op); in decode_pll()
186 if (mfi < 5) in decode_pll()
187 mfi = 5; in decode_pll()
203 ret = refclk * mfi; in decode_pll()
555 u64 pd, mfi = 1, mfn, mfd, t1; in calc_pll_params() local
586 mfi = t1; in calc_pll_params()
587 if (mfi > PLL_MFI_MAX) in calc_pll_params()
589 else if (mfi < 5) in calc_pll_params()
600 t1 -= n_ref * mfi; in calc_pll_params()
[all …]
/u-boot/arch/arm/cpu/arm1136/mx31/
A Dgeneric.c17 u32 mfi = GET_PLL_MFI(reg); in mx31_decode_pll() local
22 mfi = mfi <= 5 ? 5 : mfi; in mx31_decode_pll()
27 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in mx31_decode_pll()
/u-boot/arch/arm/cpu/arm926ejs/mx25/
A Dgeneric.c39 unsigned int mfi = (pll >> CCM_PLL_MFI_SHIFT) in imx_decode_pll() local
48 mfi = mfi <= 5 ? 5 : mfi; in imx_decode_pll()
53 return lldiv(2 * (u64) f_ref * (mfi * mfd + mfn), in imx_decode_pll()
/u-boot/arch/arm/cpu/arm926ejs/mx27/
A Dgeneric.c30 unsigned int mfi = (pll >> 10) & 0xf; in imx_decode_pll() local
35 mfi = mfi <= 5 ? 5 : mfi; in imx_decode_pll()
37 return lldiv(2 * (u64)f_ref * (mfi * (mfd + 1) + mfn), in imx_decode_pll()
/u-boot/arch/arm/cpu/arm1136/mx35/
A Dgeneric.c121 u32 mfi = (reg >> 10) & 0xf; in decode_pll() local
126 mfi = mfi <= 5 ? 5 : mfi; in decode_pll()
131 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in 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) |\

Completed in 12 milliseconds