Home
last modified time | relevance | path

Searched refs:mfn (Results 1 – 8 of 8) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/cpu/arm920t/imx/
H A Dspeed.c29 u32 mfn = spctl0 & 0x3f; in get_systemPLLCLK() local
35 return (2*(CONFIG_SYSPLL_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1); in get_systemPLLCLK()
43 u32 mfn = mpctl0 & 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.c64 u32 mfn; member
163 uint32_t ctrl, op, mfd, mfn, mfi, pdf, ret; in decode_pll() local
170 mfn = readl(&pll->hfs_mfn); in decode_pll()
174 mfn = readl(&pll->mfn); in decode_pll()
180 mfn &= MXC_DPLLC_MFN_MFN_MASK; in decode_pll()
189 if (mfn >= 0x04000000) { in decode_pll()
190 mfn |= 0xfc000000; in decode_pll()
191 mfn_abs = -mfn; in decode_pll()
193 mfn_abs = mfn; in decode_pll()
204 if ((int)mfn < 0) in decode_pll()
[all …]
/rk3399_rockchip-uboot/arch/arm/cpu/arm1136/mx31/
H A Dgeneric.c18 s32 mfn = GET_PLL_MFN(reg); in mx31_decode_pll() local
23 mfn = mfn >= 512 ? mfn - 1024 : mfn; 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.c37 int mfn = (pll >> CCM_PLL_MFN_SHIFT) in imx_decode_pll() local
45 mfn = mfn >= 512 ? mfn - 1024 : mfn; in imx_decode_pll()
49 return lldiv(2 * (u64) f_ref * (mfi * mfd + mfn), in imx_decode_pll()
/rk3399_rockchip-uboot/arch/arm/cpu/arm1136/mx35/
H A Dgeneric.c118 s32 mfn = reg & 0x3ff; in decode_pll() local
123 mfn = mfn >= 512 ? mfn - 1024 : mfn; 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
146 _PLL_MFN(mfn))
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mx27/
H A Dgeneric.c30 unsigned int mfn = pll & 0x3ff; in imx_decode_pll() local
36 return lldiv(2 * (u64)f_ref * (mfi * (mfd + 1) + mfn), in imx_decode_pll()
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx5/
H A Dcrm_regs.h18 u32 mfn; member