Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm1136/mx35/
H A Dgeneric.c115 static u32 decode_pll(u32 reg, u32 infreq) in decode_pll() function
137 fi *= decode_pll(readl(&ccm->mpctl), MXC_HCLK); in get_mcu_main_clk()
182 freq = decode_pll(readl(&ccm->ppctl), MXC_HCLK); in imx_get_uartclk()
240 pll = decode_pll(readl(&ccm->ppctl), MXC_HCLK); in mxc_get_main_clock()
267 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / (pdf + 1); in mxc_get_peri_clock()
274 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / in mxc_get_peri_clock()
282 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / in mxc_get_peri_clock()
289 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / (pdf + 1); in mxc_get_peri_clock()
297 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / in mxc_get_peri_clock()
304 decode_pll(readl(&ccm->ppctl), MXC_HCLK)) / (pdf + 1); in mxc_get_peri_clock()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx5/
H A Dclock.c161 static uint32_t decode_pll(struct mxc_pll_reg *pll, uint32_t infreq) in decode_pll() function
242 ret_val = decode_pll(mxc_plls[PLL4_CLOCK], MXC_HCLK); in get_lp_apm()
258 freq = decode_pll(mxc_plls[PLL1_CLOCK], MXC_HCLK); in get_mcu_main_clk()
271 return decode_pll(mxc_plls[PLL2_CLOCK], MXC_HCLK); in get_periph_clk()
275 return decode_pll(mxc_plls[PLL1_CLOCK], MXC_HCLK); in get_periph_clk()
277 return decode_pll(mxc_plls[PLL3_CLOCK], MXC_HCLK); in get_periph_clk()
329 freq = decode_pll(mxc_plls[PLL1_CLOCK], MXC_HCLK); in get_standard_pll_sel_clk()
332 freq = decode_pll(mxc_plls[PLL2_CLOCK], MXC_HCLK); in get_standard_pll_sel_clk()
335 freq = decode_pll(mxc_plls[PLL3_CLOCK], MXC_HCLK); in get_standard_pll_sel_clk()
457 ret_val = decode_pll(mxc_plls[PLL1_CLOCK], MXC_HCLK); in get_ddr_clk()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/s32v234/
H A Dgeneric.c83 static uintptr_t decode_pll(enum pll_type pll, u32 refclk_freq, in decode_pll() function
117 freq = decode_pll(ARM_PLL, XOSC_CLK_FREQ, 0); in get_mcu_main_clk()
164 freq = decode_pll(ARM_PLL, XOSC_CLK_FREQ, 1); in get_sys_clk()
187 freq = decode_pll(PERIPH_PLL, XOSC_CLK_FREQ, 0); in get_peripherals_clk()
238 freq = decode_pll(ENET_PLL, XOSC_CLK_FREQ, 0); in get_fec_clk()
254 freq = decode_pll(ENET_PLL, XOSC_CLK_FREQ, 4); in get_usdhc_clk()
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx6/
H A Dclock.c212 static u32 decode_pll(enum pll_clocks pll, u32 infreq) in decode_pll() function
294 freq = (u64)decode_pll(PLL_BUS, MXC_HCLK); in mxc_get_pll_pfd()
298 freq = (u64)decode_pll(PLL_USBOTG, MXC_HCLK); in mxc_get_pll_pfd()
316 freq = decode_pll(PLL_SYS, MXC_HCLK); in get_mcu_main_clk()
335 freq = decode_pll(PLL_USBOTG, MXC_HCLK); in get_periph_clk()
351 freq = decode_pll(PLL_BUS, MXC_HCLK); in get_periph_clk()
401 u32 freq = decode_pll(PLL_USBOTG, MXC_HCLK) / 6; /* static divider */ in get_uart_clk()
430 return decode_pll(PLL_USBOTG, MXC_HCLK) / (8 * (cspi_podf + 1)); in get_cspi_clk()
467 root_freq = decode_pll(PLL_USBOTG, MXC_HCLK); in get_emi_slow_clk()
498 freq = decode_pll(PLL_USBOTG, MXC_HCLK); in get_mmdc_ch0_clk()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx7/
H A Dclock.c105 static u32 decode_pll(enum pll_clocks pll, u32 infreq) in decode_pll() function
190 freq = decode_pll(PLL_SYS, MXC_HCLK); in mxc_get_pll_sys_derive()
300 freq = decode_pll(PLL_ENET, MXC_HCLK); in mxc_get_pll_enet_derive()
344 freq = decode_pll(PLL_DDR, MXC_HCLK); in mxc_get_pll_ddr_derive()
383 return decode_pll(PLL_CORE, MXC_HCLK); in get_root_src_clk()
415 return decode_pll(PLL_AUDIO, MXC_HCLK); in get_root_src_clk()
417 return decode_pll(PLL_VIDEO, MXC_HCLK); in get_root_src_clk()
420 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 …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx7ulp/
H A Dscg.c210 rate = decode_pll(PLL_A7_APLL); in scg_apll_pfd_get_rate()
260 rate = decode_pll(PLL_A7_SPLL); in scg_spll_pfd_get_rate()
278 rate = decode_pll(PLL_A7_APLL); in scg_apll_get_rate()
308 rate = decode_pll(PLL_A7_SPLL); in scg_spll_get_rate()
349 rate = decode_pll(PLL_USB); in scg_ddr_get_rate()
472 u32 decode_pll(enum pll_clocks pll) in decode_pll() function
603 return decode_pll(PLL_USB); in scg_clk_get_rate()
606 return decode_pll(PLL_MIPI); in scg_clk_get_rate()
H A 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()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-mx7ulp/
H A Dscg.h330 u32 decode_pll(enum pll_clocks pll);