Home
last modified time | relevance | path

Searched refs:infreq (Results 1 – 9 of 9) sorted by relevance

/external/u-boot/arch/arm/mach-imx/mx7ulp/
Dscg.c471 u32 reg, pre_div, infreq, mult; in decode_pll() local
494 infreq = (reg & SCG_PLL_CFG_CLKSRC_MASK) >> in decode_pll()
496 if (!infreq) in decode_pll()
497 infreq = scg_src_get_rate(SCG_SOSC_CLK); in decode_pll()
499 infreq = scg_src_get_rate(SCG_FIRC_CLK); in decode_pll()
504 infreq = infreq / pre_div; in decode_pll()
506 return infreq * mult + infreq * num / denom; in decode_pll()
523 infreq = (reg & SCG_PLL_CFG_CLKSRC_MASK) >> in decode_pll()
525 if (!infreq) in decode_pll()
526 infreq = scg_src_get_rate(SCG_SOSC_CLK); in decode_pll()
[all …]
/external/u-boot/arch/arm/cpu/arm1136/mx31/
Dgeneric.c14 static u32 mx31_decode_pll(u32 reg, u32 infreq) in mx31_decode_pll() argument
26 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in mx31_decode_pll()
32 u32 infreq; in mx31_get_mpl_dpdgck_clk() local
35 infreq = MXC_CLK32 * 1024; in mx31_get_mpl_dpdgck_clk()
37 infreq = MXC_HCLK; in mx31_get_mpl_dpdgck_clk()
39 return mx31_decode_pll(readl(CCM_MPCTL), infreq); in mx31_get_mpl_dpdgck_clk()
/external/u-boot/arch/arm/mach-imx/mx6/
Dclock.c211 static u32 decode_pll(enum pll_clocks pll, u32 infreq) in decode_pll() argument
220 return (infreq * div) >> 1; in decode_pll()
225 return infreq * (20 + (div << 1)); in decode_pll()
230 return infreq * (20 + (div << 1)); in decode_pll()
254 return infreq * (div + pll_num / pll_denom) / test_div; in decode_pll()
273 return infreq * (div + pll_num / pll_denom) / test_div; in decode_pll()
/external/u-boot/arch/arm/cpu/arm1136/mx35/
Dgeneric.c114 static u32 decode_pll(u32 reg, u32 infreq) in decode_pll() argument
126 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in decode_pll()
/external/u-boot/arch/arm/mach-imx/mx7/
Dclock.c104 static u32 decode_pll(enum pll_clocks pll, u32 infreq) in decode_pll() argument
126 return (infreq * div_sel) / 2; in decode_pll()
169 return infreq * (div_sel + num / denom); in decode_pll()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2008-07-07-DanglingDeadInsts.ll9 define i32 @res_init(%struct.res_state* %state, i32 %channels, i32 %outfreq, i32 %infreq, i32 %op1,…
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2008-07-07-DanglingDeadInsts.ll9 define i32 @res_init(%struct.res_state* %state, i32 %channels, i32 %outfreq, i32 %infreq, i32 %op1,…
/external/llvm/test/CodeGen/X86/
D2008-07-07-DanglingDeadInsts.ll9 define i32 @res_init(%struct.res_state* %state, i32 %channels, i32 %outfreq, i32 %infreq, i32 %op1,…
/external/u-boot/arch/arm/mach-imx/mx5/
Dclock.c160 static uint32_t decode_pll(struct mxc_pll_reg *pll, uint32_t infreq) in decode_pll() argument
194 refclk = infreq * 2; in decode_pll()