Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/arch/arm/cpu/arm920t/imx/
H A Dspeed.c28 u32 mfi = (spctl0 >> 10) & 0xf; in get_systemPLLCLK() local
33 mfi = mfi<=5 ? 5 : mfi; in get_systemPLLCLK()
35 return (2*(CONFIG_SYSPLL_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1); in get_systemPLLCLK()
42 u32 mfi = (mpctl0 >> 10) & 0xf; in get_mcuPLLCLK() local
47 mfi = mfi<=5 ? 5 : mfi; in get_mcuPLLCLK()
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.c63 u32 mfi; member
163 uint32_t ctrl, op, mfd, mfn, mfi, pdf, ret; in decode_pll() local
182 mfi = MXC_DPLLC_OP_MFI_RD(op); in decode_pll()
185 if (mfi < 5) in decode_pll()
186 mfi = 5; in decode_pll()
202 ret = refclk * mfi; in decode_pll()
554 u64 pd, mfi = 1, mfn, mfd, t1; in calc_pll_params() local
585 mfi = t1; in calc_pll_params()
586 if (mfi > PLL_MFI_MAX) in calc_pll_params()
588 else if (mfi < 5) in calc_pll_params()
[all …]
/rk3399_rockchip-uboot/arch/arm/cpu/arm1136/mx31/
H 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()
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mx25/
H A Dgeneric.c35 unsigned int mfi = (pll >> CCM_PLL_MFI_SHIFT) in imx_decode_pll() local
44 mfi = mfi <= 5 ? 5 : mfi; in imx_decode_pll()
49 return lldiv(2 * (u64) f_ref * (mfi * mfd + mfn), in imx_decode_pll()
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mx27/
H A Dgeneric.c29 unsigned int mfi = (pll >> 10) & 0xf; in imx_decode_pll() local
34 mfi = mfi <= 5 ? 5 : mfi; in imx_decode_pll()
36 return lldiv(2 * (u64)f_ref * (mfi * (mfd + 1) + mfn), in imx_decode_pll()
/rk3399_rockchip-uboot/arch/arm/cpu/arm1136/mx35/
H A Dgeneric.c117 u32 mfi = (reg >> 10) & 0xf; in decode_pll() local
122 mfi = mfi <= 5 ? 5 : mfi; in decode_pll()
127 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in decode_pll()
/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) |\