Home
last modified time | relevance | path

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

/u-boot/arch/arm/mach-imx/imx8m/
A Dclock_imx8mq.c251 static u32 get_root_src_clk(enum clk_root_src root_src) in get_root_src_clk() argument
253 switch (root_src) { in get_root_src_clk()
261 return decode_frac_pll(root_src); in get_root_src_clk()
281 return decode_sscg_pll(root_src); in get_root_src_clk()
293 enum clk_root_src root_src; in get_root_clk() local
305 if (clock_get_src(clock_id, &root_src) < 0) in get_root_clk()
308 root_src_clk = get_root_src_clk(root_src); in get_root_clk()
333 enum clk_root_src root_src; in get_arm_core_clk() local
336 if (clock_get_src(CORE_SEL_CFG, &root_src) < 0) in get_arm_core_clk()
339 root_src_clk = get_root_src_clk(root_src); in get_arm_core_clk()
A Dclock_imx8mm.c679 static u32 get_root_src_clk(enum clk_root_src root_src) in get_root_src_clk() argument
681 switch (root_src) { in get_root_src_clk()
710 return decode_intpll(root_src); in get_root_src_clk()
715 return decode_fracpll(root_src); in get_root_src_clk()
727 enum clk_root_src root_src; in get_root_clk() local
739 if (clock_get_src(clock_id, &root_src) < 0) in get_root_clk()
742 root_src_clk = get_root_src_clk(root_src); in get_root_clk()
749 enum clk_root_src root_src; in get_arm_core_clk() local
752 if (clock_get_src(CORE_SEL_CFG, &root_src) < 0) in get_arm_core_clk()
755 root_src_clk = get_root_src_clk(root_src); in get_arm_core_clk()
/u-boot/arch/arm/mach-imx/mx7/
A Dclock.c380 static u32 get_root_src_clk(enum clk_root_src root_src) in get_root_src_clk() argument
382 switch (root_src) { in get_root_src_clk()
402 return mxc_get_pll_derive(PLL_SYS, root_src); in get_root_src_clk()
411 return mxc_get_pll_derive(PLL_ENET, root_src); in get_root_src_clk()
415 return mxc_get_pll_derive(PLL_DDR, root_src); in get_root_src_clk()
443 enum clk_root_src root_src; in get_root_clk() local
462 if (clock_get_src(clock_id, &root_src) < 0) in get_root_clk()
465 root_src_clk = get_root_src_clk(root_src); in get_root_clk()

Completed in 7 milliseconds