Home
last modified time | relevance | path

Searched refs:CLK_MHZ (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/board/synopsys/hsdk/
H A Dhsdk.c880 soc_clk_ctl("cpu-clk", NULL, CLK_PRINT | CLK_MHZ); in do_hsdk_clock_print()
881 soc_clk_ctl("tun-clk", NULL, CLK_PRINT | CLK_MHZ); in do_hsdk_clock_print()
882 soc_clk_ctl("axi-clk", NULL, CLK_PRINT | CLK_MHZ); in do_hsdk_clock_print()
883 soc_clk_ctl("ddr-clk", NULL, CLK_PRINT | CLK_MHZ); in do_hsdk_clock_print()
899 soc_clk_ctl("cpu-pll", NULL, CLK_PRINT | CLK_MHZ); in do_hsdk_clock_print_all()
900 soc_clk_ctl("cpu-clk", NULL, CLK_PRINT | CLK_MHZ); in do_hsdk_clock_print_all()
904 soc_clk_ctl("sys-pll", NULL, CLK_PRINT | CLK_MHZ); in do_hsdk_clock_print_all()
905 soc_clk_ctl("apb-clk", NULL, CLK_PRINT | CLK_MHZ); in do_hsdk_clock_print_all()
906 soc_clk_ctl("axi-clk", NULL, CLK_PRINT | CLK_MHZ); in do_hsdk_clock_print_all()
907 soc_clk_ctl("eth-clk", NULL, CLK_PRINT | CLK_MHZ); in do_hsdk_clock_print_all()
[all …]
H A Dclk-lib.c40 priv_rate = ctl & CLK_MHZ ? (*rate) * HZ_IN_MHZ : *rate; in soc_clk_ctl()
60 if (ctl & CLK_MHZ) in soc_clk_ctl()
66 if ((ctl & CLK_PRINT) && (ctl & CLK_MHZ)) in soc_clk_ctl()
H A Dclk-lib.h18 CLK_MHZ = BIT(5) /* all values in MHZ instead of HZ */ enumerator
/openbmc/u-boot/arch/mips/mach-pic32/
H A Dcpu.c21 #define CLK_MHZ(x) ((x) / 1000000) macro
153 CLK_MHZ(rate(PLLCLK))); in soc_clk_dump()
155 printf("CPU Speed: %lu MHz\n", CLK_MHZ(rate(PB7CLK))); in soc_clk_dump()
157 printf("MPLL Speed: %lu MHz\n", CLK_MHZ(rate(MPLL))); in soc_clk_dump()
161 CLK_MHZ(rate(i))); in soc_clk_dump()
165 CLK_MHZ(rate(i))); in soc_clk_dump()