Lines Matching refs:root_freq
434 u32 root_freq, axi_podf; in get_axi_clk() local
442 root_freq = mxc_get_pll_pfd(PLL_USBOTG, 1); in get_axi_clk()
444 root_freq = mxc_get_pll_pfd(PLL_BUS, 2); in get_axi_clk()
446 root_freq = get_periph_clk(); in get_axi_clk()
448 return root_freq / (axi_podf + 1); in get_axi_clk()
453 u32 emi_clk_sel, emi_slow_podf, cscmr1, root_freq = 0; in get_emi_slow_clk() local
463 root_freq = get_axi_clk(); in get_emi_slow_clk()
466 root_freq = decode_pll(PLL_USBOTG, MXC_HCLK); in get_emi_slow_clk()
469 root_freq = mxc_get_pll_pfd(PLL_BUS, 2); in get_emi_slow_clk()
472 root_freq = mxc_get_pll_pfd(PLL_BUS, 0); in get_emi_slow_clk()
476 return root_freq / (emi_slow_podf + 1); in get_emi_slow_clk()
983 u32 root_freq = 0, usdhc_podf = 0, clk_sel = 0; in get_usdhc_clk() local
1027 root_freq = mxc_get_pll_pfd(PLL_BUS, 0); in get_usdhc_clk()
1029 root_freq = mxc_get_pll_pfd(PLL_BUS, 2); in get_usdhc_clk()
1031 return root_freq / (usdhc_podf + 1); in get_usdhc_clk()