/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | speed.c | 23 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 D | cpu.c | 201 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 D | clock.c | 19 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 D | clock.h | 18 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 D | clock.h | 54 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 D | mxs.c | 177 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 D | timer.c | 21 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 D | generic.c | 211 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 D | clock.h | 23 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 D | clock.h | 28 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 D | clock.c | 30 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 D | clock.h | 43 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 D | clock.c | 1041 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 D | generic.c | 334 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 D | mx6quq7.c | 132 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 D | generic.c | 134 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 D | generic.c | 264 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 D | dh_imx6.c | 230 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 D | clock.c | 12 u32 mxc_get_clock(enum mxc_clock clk) in mxc_get_clock() function
|
/openbmc/u-boot/board/kosagi/novena/ |
H A D | novena.c | 139 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 D | mx6sabresd.c | 307 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 D | clock.h | 20 unsigned int mxc_get_clock(enum mxc_clock clk);
|
/openbmc/u-boot/arch/arm/include/asm/arch-fsl-layerscape/ |
H A D | clock.h | 21 unsigned int mxc_get_clock(enum mxc_clock clk);
|
/openbmc/u-boot/arch/arm/include/asm/arch-imx8/ |
H A D | clock.h | 25 u32 mxc_get_clock(enum mxc_clock clk);
|
/openbmc/u-boot/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 485 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()
|