Home
last modified time | relevance | path

Searched refs:root_src (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/arm/mach-imx/mx7/
Dclock.c376 static u32 get_root_src_clk(enum clk_root_src root_src) in get_root_src_clk() argument
378 switch (root_src) { in get_root_src_clk()
398 return mxc_get_pll_derive(PLL_SYS, root_src); in get_root_src_clk()
407 return mxc_get_pll_derive(PLL_ENET, root_src); in get_root_src_clk()
411 return mxc_get_pll_derive(PLL_DDR, root_src); in get_root_src_clk()
439 enum clk_root_src root_src; in get_root_clk() local
458 if (clock_get_src(clock_id, &root_src) < 0) in get_root_clk()
461 root_src_clk = get_root_src_clk(root_src); in get_root_clk()
/external/u-boot/arch/arm/mach-imx/imx8m/
Dclock_imx8mq.c247 static u32 get_root_src_clk(enum clk_root_src root_src) in get_root_src_clk() argument
249 switch (root_src) { in get_root_src_clk()
257 return decode_frac_pll(root_src); in get_root_src_clk()
277 return decode_sscg_pll(root_src); in get_root_src_clk()
287 enum clk_root_src root_src; in get_root_clk() local
299 if (clock_get_src(clock_id, &root_src) < 0) in get_root_clk()
302 root_src_clk = get_root_src_clk(root_src); in get_root_clk()