Home
last modified time | relevance | path

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

/u-boot/arch/arm/cpu/arm920t/imx/
A Dspeed.c28 u32 mfn = spctl0 & 0x3f; in get_systemPLLCLK() local
34 return (2*(CONFIG_SYSPLL_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1); in get_systemPLLCLK()
42 u32 mfn = mpctl0 & 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 Dclock.c65 u32 mfn; member
175 mfn = readl(&pll->mfn); in decode_pll()
191 mfn |= 0xfc000000; in decode_pll()
192 mfn_abs = -mfn; in decode_pll()
194 mfn_abs = mfn; in decode_pll()
205 if ((int)mfn < 0) in decode_pll()
603 mfn = t1; in calc_pll_params()
607 if (mfn != 0) in calc_pll_params()
608 i = gcd(mfd, mfn); in calc_pll_params()
611 do_div(mfn, i); in calc_pll_params()
[all …]
/u-boot/arch/arm/cpu/arm1136/mx31/
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()
/u-boot/arch/arm/cpu/arm926ejs/mx25/
A Dgeneric.c41 int mfn = (pll >> CCM_PLL_MFN_SHIFT) in imx_decode_pll() local
49 mfn = mfn >= 512 ? mfn - 1024 : mfn; in imx_decode_pll()
53 return lldiv(2 * (u64) f_ref * (mfi * mfd + mfn), in imx_decode_pll()
/u-boot/drivers/clk/imx/
A Dclk-pllv3.c173 u32 mfn = readl(pll->base + PLL_NUM_OFFSET); in clk_pllv3_av_get_rate() local
181 temp64 *= mfn; in clk_pllv3_av_get_rate()
194 u32 mfn, mfd = 1000000; in clk_pllv3_av_set_rate() local
214 mfn = temp64; in clk_pllv3_av_set_rate()
220 writel(mfn, pll->base + PLL_NUM_OFFSET); in clk_pllv3_av_set_rate()
/u-boot/drivers/xen/
A Dgnttab.c118 unsigned long mfn; in gnttab_alloc_and_grant() local
122 mfn = virt_to_mfn(*map); in gnttab_alloc_and_grant()
123 gref = gnttab_grant_access(0, mfn, 0); in gnttab_alloc_and_grant()
/u-boot/arch/arm/cpu/arm1136/mx35/
A Dgeneric.c122 s32 mfn = reg & 0x3ff; in decode_pll() local
127 mfn = mfn >= 512 ? mfn - 1024 : mfn; 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
145 _PLL_MFN(mfn))
/u-boot/arch/arm/cpu/arm926ejs/mx27/
A Dgeneric.c31 unsigned int mfn = pll & 0x3ff; in imx_decode_pll() local
37 return lldiv(2 * (u64)f_ref * (mfi * (mfd + 1) + mfn), in imx_decode_pll()
/u-boot/include/xen/interface/
A Dgrant_table.h329 xen_pfn_t mfn; member
/u-boot/arch/arm/include/asm/arch-mx5/
A Dcrm_regs.h17 u32 mfn; member

Completed in 18 milliseconds