Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/cpu/arm1136/mx35/
Dgeneric.c114 static u32 decode_pll(u32 reg, u32 infreq) in decode_pll() function
136 fi *= decode_pll(readl(&ccm->mpctl), MXC_HCLK); in get_mcu_main_clk()
181 freq = decode_pll(readl(&ccm->ppctl), MXC_HCLK); in imx_get_uartclk()
239 pll = decode_pll(readl(&ccm->ppctl), MXC_HCLK); in mxc_get_main_clock()
266 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / (pdf + 1); in mxc_get_peri_clock()
273 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / in mxc_get_peri_clock()
281 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / in mxc_get_peri_clock()
288 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / (pdf + 1); in mxc_get_peri_clock()
296 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / in mxc_get_peri_clock()
303 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / (pdf + 1); in mxc_get_peri_clock()
[all …]
/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() function
241 ret_val = decode_pll(mxc_plls[PLL4_CLOCK], MXC_HCLK); in get_lp_apm()
257 freq = decode_pll(mxc_plls[PLL1_CLOCK], MXC_HCLK); in get_mcu_main_clk()
270 return decode_pll(mxc_plls[PLL2_CLOCK], MXC_HCLK); in get_periph_clk()
274 return decode_pll(mxc_plls[PLL1_CLOCK], MXC_HCLK); in get_periph_clk()
276 return decode_pll(mxc_plls[PLL3_CLOCK], MXC_HCLK); in get_periph_clk()
328 freq = decode_pll(mxc_plls[PLL1_CLOCK], MXC_HCLK); in get_standard_pll_sel_clk()
331 freq = decode_pll(mxc_plls[PLL2_CLOCK], MXC_HCLK); in get_standard_pll_sel_clk()
334 freq = decode_pll(mxc_plls[PLL3_CLOCK], MXC_HCLK); in get_standard_pll_sel_clk()
456 ret_val = decode_pll(mxc_plls[PLL1_CLOCK], MXC_HCLK); in get_ddr_clk()
[all …]
/external/u-boot/arch/arm/cpu/armv8/s32v234/
Dgeneric.c82 static uintptr_t decode_pll(enum pll_type pll, u32 refclk_freq, in decode_pll() function
116 freq = decode_pll(ARM_PLL, XOSC_CLK_FREQ, 0); in get_mcu_main_clk()
163 freq = decode_pll(ARM_PLL, XOSC_CLK_FREQ, 1); in get_sys_clk()
186 freq = decode_pll(PERIPH_PLL, XOSC_CLK_FREQ, 0); in get_peripherals_clk()
237 freq = decode_pll(ENET_PLL, XOSC_CLK_FREQ, 0); in get_fec_clk()
253 freq = decode_pll(ENET_PLL, XOSC_CLK_FREQ, 4); in get_usdhc_clk()
/external/u-boot/arch/arm/mach-imx/mx6/
Dclock.c211 static u32 decode_pll(enum pll_clocks pll, u32 infreq) in decode_pll() function
293 freq = (u64)decode_pll(PLL_BUS, MXC_HCLK); in mxc_get_pll_pfd()
297 freq = (u64)decode_pll(PLL_USBOTG, MXC_HCLK); in mxc_get_pll_pfd()
315 freq = decode_pll(PLL_SYS, MXC_HCLK); in get_mcu_main_clk()
334 freq = decode_pll(PLL_USBOTG, MXC_HCLK); in get_periph_clk()
350 freq = decode_pll(PLL_BUS, MXC_HCLK); in get_periph_clk()
400 u32 freq = decode_pll(PLL_USBOTG, MXC_HCLK) / 6; /* static divider */ in get_uart_clk()
429 return decode_pll(PLL_USBOTG, MXC_HCLK) / (8 * (cspi_podf + 1)); in get_cspi_clk()
466 root_freq = decode_pll(PLL_USBOTG, MXC_HCLK); in get_emi_slow_clk()
497 freq = decode_pll(PLL_USBOTG, MXC_HCLK); in get_mmdc_ch0_clk()
[all …]
/external/u-boot/arch/arm/mach-imx/mx7/
Dclock.c104 static u32 decode_pll(enum pll_clocks pll, u32 infreq) in decode_pll() function
189 freq = decode_pll(PLL_SYS, MXC_HCLK); in mxc_get_pll_sys_derive()
299 freq = decode_pll(PLL_ENET, MXC_HCLK); in mxc_get_pll_enet_derive()
343 freq = decode_pll(PLL_DDR, MXC_HCLK); in mxc_get_pll_ddr_derive()
382 return decode_pll(PLL_CORE, MXC_HCLK); in get_root_src_clk()
414 return decode_pll(PLL_AUDIO, MXC_HCLK); in get_root_src_clk()
416 return decode_pll(PLL_VIDEO, MXC_HCLK); in get_root_src_clk()
419 return decode_pll(PLL_USB, MXC_HCLK); in get_root_src_clk()
1105 freq = decode_pll(PLL_CORE, MXC_HCLK); in do_mx7_showclocks()
1107 freq = decode_pll(PLL_SYS, MXC_HCLK); in do_mx7_showclocks()
[all …]
/external/u-boot/arch/arm/mach-imx/mx7ulp/
Dscg.c207 rate = decode_pll(PLL_A7_APLL); in scg_apll_pfd_get_rate()
257 rate = decode_pll(PLL_A7_SPLL); in scg_spll_pfd_get_rate()
275 rate = decode_pll(PLL_A7_APLL); in scg_apll_get_rate()
305 rate = decode_pll(PLL_A7_SPLL); in scg_spll_get_rate()
346 rate = decode_pll(PLL_USB); in scg_ddr_get_rate()
469 u32 decode_pll(enum pll_clocks pll) in decode_pll() function
600 return decode_pll(PLL_USB); in scg_clk_get_rate()
603 return decode_pll(PLL_MIPI); in scg_clk_get_rate()
Dclock.c333 freq = decode_pll(PLL_A7_SPLL); in do_mx7_showclocks()
336 freq = decode_pll(PLL_A7_APLL); in do_mx7_showclocks()
339 freq = decode_pll(PLL_USB); in do_mx7_showclocks()
/external/u-boot/arch/arm/include/asm/arch-mx7ulp/
Dscg.h329 u32 decode_pll(enum pll_clocks pll);