Home
last modified time | relevance | path

Searched refs:mxc_get_clock (Results 1 – 25 of 124) sorted by relevance

12345

/openbmc/u-boot/arch/arm/mach-imx/
H A Dspeed.c23 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in get_clocks()
25 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in get_clocks()
27 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC4_CLK); in get_clocks()
29 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK); in get_clocks()
33 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in get_clocks()
35 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in get_clocks()
37 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC4_CLK); in get_clocks()
39 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK); in get_clocks()
H A Dcpu.c201 if (!max_freq || max_freq == mxc_get_clock(MXC_ARM_CLK)) { in print_cpuinfo()
202 printf(" at %dMHz\n", mxc_get_clock(MXC_ARM_CLK) / 1000000); in print_cpuinfo()
205 mxc_get_clock(MXC_ARM_CLK) / 1000000); in print_cpuinfo()
212 mxc_get_clock(MXC_ARM_CLK) / 1000000); in print_cpuinfo()
/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/
H A Dclock.c19 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK); in get_clocks()
21 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in get_clocks()
115 unsigned int mxc_get_clock(enum mxc_clock clk) in mxc_get_clock() function
345 printf("IPG %8d kHz\n", mxc_get_clock(MXC_IPG_CLK) / 1000); in do_mx7_showclocks()
346 printf("UART %8d kHz\n", mxc_get_clock(MXC_UART_CLK) / 1000); in do_mx7_showclocks()
347 printf("AHB %8d kHz\n", mxc_get_clock(MXC_AHB_CLK) / 1000); in do_mx7_showclocks()
348 printf("AXI %8d kHz\n", mxc_get_clock(MXC_AXI_CLK) / 1000); in do_mx7_showclocks()
349 printf("DDR %8d kHz\n", mxc_get_clock(MXC_DDR_CLK) / 1000); in do_mx7_showclocks()
350 printf("USDHC1 %8d kHz\n", mxc_get_clock(MXC_ESDHC_CLK) / 1000); in do_mx7_showclocks()
351 printf("USDHC2 %8d kHz\n", mxc_get_clock(MXC_ESDHC2_CLK) / 1000); in do_mx7_showclocks()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-mx27/
H A Dclock.h18 unsigned int mxc_get_clock(enum mxc_clock clk);
19 #define imx_get_uartclk() mxc_get_clock(MXC_UART_CLK)
20 #define imx_get_fecclk() mxc_get_clock(MXC_FEC_CLK)
/openbmc/u-boot/arch/arm/include/asm/arch-mx25/
H A Dclock.h54 unsigned int mxc_get_clock(enum mxc_clock clk);
56 #define imx_get_uartclk() mxc_get_clock(MXC_UART_CLK)
57 #define imx_get_fecclk() mxc_get_clock(MXC_FEC_CLK)
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dmxs.c177 mxc_get_clock(MXC_ARM_CLK) / 1000000); in print_cpuinfo()
185 printf("CPU: %3d MHz\n", mxc_get_clock(MXC_ARM_CLK) / 1000000); in do_mx28_showclocks()
186 printf("BUS: %3d MHz\n", mxc_get_clock(MXC_AHB_CLK) / 1000000); in do_mx28_showclocks()
187 printf("EMI: %3d MHz\n", mxc_get_clock(MXC_EMI_CLK)); in do_mx28_showclocks()
188 printf("GPMI: %3d MHz\n", mxc_get_clock(MXC_GPMI_CLK) / 1000000); in do_mx28_showclocks()
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/
H A Dtimer.c21 do_div(tick, mxc_get_clock(MXC_IPG_CLK)); in tick_to_time()
28 usec = usec * mxc_get_clock(MXC_IPG_CLK) + 999999; in us_to_tick()
83 return mxc_get_clock(MXC_IPG_CLK); in get_tbclk()
H A Dgeneric.c211 unsigned int mxc_get_clock(enum mxc_clock clk) in mxc_get_clock() function
241 printf("cpu clock : %8d MHz\n", mxc_get_clock(MXC_ARM_CLK) / 1000000); in do_vf610_showclocks()
242 printf("bus clock : %8d MHz\n", mxc_get_clock(MXC_BUS_CLK) / 1000000); in do_vf610_showclocks()
243 printf("ipg clock : %8d MHz\n", mxc_get_clock(MXC_IPG_CLK) / 1000000); in do_vf610_showclocks()
307 soc_type, mxc_get_clock(MXC_ARM_CLK) / 1000000); in print_cpuinfo()
358 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK); in get_clocks()
/openbmc/u-boot/arch/arm/include/asm/arch-vf610/
H A Dclock.h23 unsigned int mxc_get_clock(enum mxc_clock clk);
26 #define imx_get_fecclk() mxc_get_clock(MXC_FEC_CLK)
/openbmc/u-boot/arch/arm/include/asm/arch-s32v234/
H A Dclock.h28 unsigned int mxc_get_clock(enum mxc_clock clk);
31 #define imx_get_fecclk() mxc_get_clock(MXC_FEC_CLK)
/openbmc/u-boot/arch/arm/mach-imx/mx7/
H A Dclock.c30 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in get_clocks()
32 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in get_clocks()
34 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK); in get_clocks()
489 unsigned int mxc_get_clock(enum mxc_clock clk) in mxc_get_clock() function
1114 printf("IPG %8d kHz\n", mxc_get_clock(MXC_IPG_CLK) / 1000); in do_mx7_showclocks()
1115 printf("UART %8d kHz\n", mxc_get_clock(MXC_UART_CLK) / 1000); in do_mx7_showclocks()
1117 printf("CSPI %8d kHz\n", mxc_get_clock(MXC_CSPI_CLK) / 1000); in do_mx7_showclocks()
1119 printf("AHB %8d kHz\n", mxc_get_clock(MXC_AHB_CLK) / 1000); in do_mx7_showclocks()
1120 printf("AXI %8d kHz\n", mxc_get_clock(MXC_AXI_CLK) / 1000); in do_mx7_showclocks()
1121 printf("DDR %8d kHz\n", mxc_get_clock(MXC_DDR_CLK) / 1000); in do_mx7_showclocks()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-mxs/
H A Dclock.h43 uint32_t mxc_get_clock(enum mxc_clock clk);
51 #define imx_get_fecclk() mxc_get_clock(MXC_AHB_CLK)
/openbmc/u-boot/arch/arm/mach-imx/mx6/
H A Dclock.c1041 return mxc_get_clock(MXC_IPG_CLK); in imx_get_fecclk()
1236 unsigned int mxc_get_clock(enum mxc_clock clk) in mxc_get_clock() function
1295 printf("ARM %8d kHz\n", mxc_get_clock(MXC_ARM_CLK) / 1000); in do_mx6_showclocks()
1296 printf("IPG %8d kHz\n", mxc_get_clock(MXC_IPG_CLK) / 1000); in do_mx6_showclocks()
1297 printf("UART %8d kHz\n", mxc_get_clock(MXC_UART_CLK) / 1000); in do_mx6_showclocks()
1299 printf("CSPI %8d kHz\n", mxc_get_clock(MXC_CSPI_CLK) / 1000); in do_mx6_showclocks()
1301 printf("AHB %8d kHz\n", mxc_get_clock(MXC_AHB_CLK) / 1000); in do_mx6_showclocks()
1302 printf("AXI %8d kHz\n", mxc_get_clock(MXC_AXI_CLK) / 1000); in do_mx6_showclocks()
1303 printf("DDR %8d kHz\n", mxc_get_clock(MXC_DDR_CLK) / 1000); in do_mx6_showclocks()
1304 printf("USDHC1 %8d kHz\n", mxc_get_clock(MXC_ESDHC_CLK) / 1000); in do_mx6_showclocks()
[all …]
/openbmc/u-boot/arch/arm/cpu/arm1136/mx35/
H A Dgeneric.c334 unsigned int mxc_get_clock(enum mxc_clock clk) in mxc_get_clock() function
375 return mxc_get_clock(MXC_IPG_CLK); in imx_get_fecclk()
386 printf("uart clock : %dHz\n", mxc_get_clock(MXC_UART_CLK)); in do_mx35_showclocks()
464 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in get_clocks()
466 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in get_clocks()
468 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC1_CLK); in get_clocks()
/openbmc/u-boot/board/seco/mx6quq7/
H A Dmx6quq7.c132 usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in board_mmc_init()
136 usdhc_cfg[1].sdhc_clk = mxc_get_clock(MXC_ESDHC4_CLK); in board_mmc_init()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx25/
H A Dgeneric.c134 unsigned int mxc_get_clock(enum mxc_clock clk) in mxc_get_clock() function
238 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in get_clocks()
240 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC1_CLK); in get_clocks()
/openbmc/u-boot/arch/arm/cpu/armv8/s32v234/
H A Dgeneric.c264 unsigned int mxc_get_clock(enum mxc_clock clk) in mxc_get_clock() function
325 mxc_get_clock(MXC_ARM_CLK) / 1000000); in print_cpuinfo()
346 gd->arch.sdhc_clk = mxc_get_clock(MXC_USDHC_CLK); in get_clocks()
/openbmc/u-boot/board/dhelectronics/dh_imx6/
H A Ddh_imx6.c230 usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in board_mmc_init()
231 usdhc_cfg[1].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in board_mmc_init()
232 usdhc_cfg[2].sdhc_clk = mxc_get_clock(MXC_ESDHC4_CLK); in board_mmc_init()
/openbmc/u-boot/arch/arm/mach-imx/imx8/
H A Dclock.c12 u32 mxc_get_clock(enum mxc_clock clk) in mxc_get_clock() function
/openbmc/u-boot/board/kosagi/novena/
H A Dnovena.c139 usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in board_mmc_init()
140 usdhc_cfg[1].sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in board_mmc_init()
/openbmc/u-boot/board/freescale/mx6sabresd/
H A Dmx6sabresd.c307 usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in board_mmc_init()
313 usdhc_cfg[1].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in board_mmc_init()
317 usdhc_cfg[2].sdhc_clk = mxc_get_clock(MXC_ESDHC4_CLK); in board_mmc_init()
348 usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in board_mmc_init()
354 usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in board_mmc_init()
360 usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC4_CLK); in board_mmc_init()
/openbmc/u-boot/arch/arm/include/asm/arch-ls102xa/
H A Dclock.h20 unsigned int mxc_get_clock(enum mxc_clock clk);
/openbmc/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
H A Dclock.h21 unsigned int mxc_get_clock(enum mxc_clock clk);
/openbmc/u-boot/arch/arm/include/asm/arch-imx8/
H A Dclock.h25 u32 mxc_get_clock(enum mxc_clock clk);
/openbmc/u-boot/arch/arm/mach-imx/mx5/
H A Dclock.c485 unsigned int mxc_get_clock(enum mxc_clock clk) in mxc_get_clock() function
962 printf("AHB %8d kHz\n", mxc_get_clock(MXC_AHB_CLK) / 1000); in do_mx5_showclocks()
963 printf("IPG %8d kHz\n", mxc_get_clock(MXC_IPG_CLK) / 1000); in do_mx5_showclocks()
964 printf("IPG PERCLK %8d kHz\n", mxc_get_clock(MXC_IPG_PERCLK) / 1000); in do_mx5_showclocks()
965 printf("DDR %8d kHz\n", mxc_get_clock(MXC_DDR_CLK) / 1000); in do_mx5_showclocks()
967 printf("CSPI %8d kHz\n", mxc_get_clock(MXC_CSPI_CLK) / 1000); in do_mx5_showclocks()

12345