Lines Matching refs:root_freq
435 u32 root_freq, axi_podf; in get_axi_clk() local
443 root_freq = mxc_get_pll_pfd(PLL_USBOTG, 1); in get_axi_clk()
445 root_freq = mxc_get_pll_pfd(PLL_BUS, 2); in get_axi_clk()
447 root_freq = get_periph_clk(); in get_axi_clk()
449 return root_freq / (axi_podf + 1); in get_axi_clk()
454 u32 emi_clk_sel, emi_slow_podf, cscmr1, root_freq = 0; in get_emi_slow_clk() local
464 root_freq = get_axi_clk(); in get_emi_slow_clk()
467 root_freq = decode_pll(PLL_USBOTG, MXC_HCLK); in get_emi_slow_clk()
470 root_freq = mxc_get_pll_pfd(PLL_BUS, 2); in get_emi_slow_clk()
473 root_freq = mxc_get_pll_pfd(PLL_BUS, 0); in get_emi_slow_clk()
477 return root_freq / (emi_slow_podf + 1); in get_emi_slow_clk()
984 u32 root_freq = 0, usdhc_podf = 0, clk_sel = 0; in get_usdhc_clk() local
1028 root_freq = mxc_get_pll_pfd(PLL_BUS, 0); in get_usdhc_clk()
1030 root_freq = mxc_get_pll_pfd(PLL_BUS, 2); in get_usdhc_clk()
1032 return root_freq / (usdhc_podf + 1); in get_usdhc_clk()