Home
last modified time | relevance | path

Searched refs:CONFIG_SYS_HZ (Results 1 – 25 of 148) sorted by relevance

123456

/external/u-boot/include/
Dstatus_led.h21 #define LED_STATUS_PERIOD (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ)
23 #define LED_STATUS_PERIOD1 (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ1)
26 #define LED_STATUS_PERIOD2 (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ2)
29 #define LED_STATUS_PERIOD3 (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ3)
32 #define LED_STATUS_PERIOD4 (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ4)
35 #define LED_STATUS_PERIOD5 (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ5)
/external/u-boot/drivers/net/
Dpic32_mdio.c25 false, CONFIG_SYS_HZ, true); in pic32_mdio_write()
39 false, CONFIG_SYS_HZ, true); in pic32_mdio_write()
51 false, CONFIG_SYS_HZ, true); in pic32_mdio_read()
66 false, CONFIG_SYS_HZ, false); in pic32_mdio_read()
85 false, CONFIG_SYS_HZ, true); in pic32_mdio_reset()
92 false, CONFIG_SYS_HZ, true); in pic32_mdio_reset()
99 false, CONFIG_SYS_HZ, true); in pic32_mdio_reset()
/external/u-boot/cmd/
Dgettime.c22 #ifdef CONFIG_SYS_HZ in do_gettime()
24 printf("Seconds : %lu\n", val / CONFIG_SYS_HZ); in do_gettime()
25 printf("Remainder : %lu\n", val % CONFIG_SYS_HZ); in do_gettime()
26 printf("sys_hz = %lu\n", (unsigned long int)CONFIG_SYS_HZ); in do_gettime()
Dtime.c14 total_seconds = cycles / CONFIG_SYS_HZ; in report_time()
15 remainder = cycles % CONFIG_SYS_HZ; in report_time()
19 milliseconds = (remainder * 1000 + CONFIG_SYS_HZ / 2) / CONFIG_SYS_HZ; in report_time()
Dmisc.c24 delay = simple_strtoul(argv[1], NULL, 10) * CONFIG_SYS_HZ; in do_sleep()
29 uint mult = CONFIG_SYS_HZ / 10; in do_sleep()
72 ulong msecs = get_timer(start) * 1000 / CONFIG_SYS_HZ; in do_timer()
/external/u-boot/arch/nds32/cpu/n1213/ag101/
Dtimer.c71 lastdec = readl(&tmr->timer3_counter) / (TIMER_CLOCK / CONFIG_SYS_HZ); in reset_timer_masked()
74 (CONFIG_SYS_CLK_FREQ / 2 / CONFIG_SYS_HZ); in reset_timer_masked()
96 ulong now = readl(&tmr->timer3_counter) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked()
99 (CONFIG_SYS_CLK_FREQ / 2 / CONFIG_SYS_HZ); in get_timer_masked()
186 return CONFIG_SYS_HZ; in get_tbclk()
/external/u-boot/include/configs/
Dcolibri_pxa270.h116 #define CONFIG_SYS_FLASH_ERASE_TOUT (25 * CONFIG_SYS_HZ)
117 #define CONFIG_SYS_FLASH_WRITE_TOUT (25 * CONFIG_SYS_HZ)
118 #define CONFIG_SYS_FLASH_LOCK_TOUT (25 * CONFIG_SYS_HZ)
119 #define CONFIG_SYS_FLASH_UNLOCK_TOUT (25 * CONFIG_SYS_HZ)
Dintegrator-common.h92 #define CONFIG_SYS_FLASH_ERASE_TOUT (2 * CONFIG_SYS_HZ) /* Erase Timeout */
93 #define CONFIG_SYS_FLASH_WRITE_TOUT (2 * CONFIG_SYS_HZ) /* Write Timeout */
Dpb1x00.h79 #define CONFIG_SYS_FLASH_ERASE_TOUT (2 * CONFIG_SYS_HZ) /* Timeout for Flash Erase */
80 #define CONFIG_SYS_FLASH_WRITE_TOUT (2 * CONFIG_SYS_HZ) /* Timeout for Flash Write */
Domap3_cairo.h229 #define CONFIG_SYS_FLASH_ERASE_TOUT (100 * CONFIG_SYS_HZ)
230 #define CONFIG_SYS_FLASH_WRITE_TOUT (100 * CONFIG_SYS_HZ)
Ddbau1x00.h122 #define CONFIG_SYS_FLASH_ERASE_TOUT (2 * CONFIG_SYS_HZ) /* Timeout for Flash Erase */
123 #define CONFIG_SYS_FLASH_WRITE_TOUT (2 * CONFIG_SYS_HZ) /* Timeout for Flash Write */
Dspear-common.h68 #define CONFIG_SYS_FLASH_ERASE_TOUT (3 * CONFIG_SYS_HZ)
69 #define CONFIG_SYS_FLASH_WRITE_TOUT (3 * CONFIG_SYS_HZ)
/external/u-boot/arch/arm/cpu/arm926ejs/mx27/
Dtimer.c42 tick *= CONFIG_SYS_HZ; in tick_to_time()
50 do_div(time, CONFIG_SYS_HZ); in time_to_tick()
62 #define TICK_PER_TIME ((CONFIG_MX27_CLK32 + CONFIG_SYS_HZ / 2) / \
63 CONFIG_SYS_HZ)
/external/u-boot/arch/arm/cpu/sa1100/
Dtimer.c38 tmo *= CONFIG_SYS_HZ; in udelay_masked()
41 tmo = usec * CONFIG_SYS_HZ; in udelay_masked()
68 return CONFIG_SYS_HZ; in get_tbclk()
/external/u-boot/arch/xtensa/lib/
Dtime.c75 return ccount / (CONFIG_SYS_CLK_FREQ / CONFIG_SYS_HZ) - base; in get_timer()
86 return fake_ccount / (CONFIG_SYS_CLK_FREQ / CONFIG_SYS_HZ) - base; in get_timer()
106 return CONFIG_SYS_HZ; in get_tbclk()
/external/u-boot/arch/arm/mach-omap2/
Dtimer.c73 ulong now = readl(&timer_base->tcrr) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked()
80 CONFIG_SYS_HZ)) - gd->arch.lastinc) + now; in get_timer_masked()
101 return CONFIG_SYS_HZ; in get_tbclk()
/external/u-boot/arch/arm/cpu/arm926ejs/lpc32xx/
Dtimer.c49 lpc32xx_timer_reset(timer0, CONFIG_SYS_HZ); in timer_init()
63 lpc32xx_timer_reset(timer1, CONFIG_SYS_HZ * 1000); in __udelay()
80 return CONFIG_SYS_HZ; in get_tbclk()
/external/u-boot/board/freescale/m5282evb/
Dm5282evb.c31 dramclk = gd->bus_clk / (CONFIG_SYS_HZ * CONFIG_SYS_HZ); in dram_init()
/external/u-boot/drivers/mtd/spi/
Dsf_internal.h83 #define SPI_FLASH_PROG_TIMEOUT (2 * CONFIG_SYS_HZ)
84 #define SPI_FLASH_PAGE_ERASE_TIMEOUT (5 * CONFIG_SYS_HZ)
85 #define SPI_FLASH_SECTOR_ERASE_TIMEOUT (10 * CONFIG_SYS_HZ)
/external/u-boot/drivers/usb/host/
Dohci-lpc32xx.c146 true, CONFIG_SYS_HZ, false); in usbpll_setup()
181 CONFIG_SYS_HZ, false); in usb_cpu_init()
202 CONFIG_SYS_HZ, false); in usb_cpu_init()
/external/u-boot/arch/arm/cpu/arm920t/ep93xx/
Dtimer.c63 sys_ticks = timer.ticks * CONFIG_SYS_HZ; in get_ticks()
118 return CONFIG_SYS_HZ; in get_tbclk()
/external/u-boot/board/armltd/integrator/
Dtimer.c87 do_div(div_timer, CONFIG_SYS_HZ); in timer_init()
107 tmo = usec * CONFIG_SYS_HZ; in __udelay()
/external/u-boot/board/freescale/m5235evb/
Dm5235evb.c53 dramclk = gd->bus_clk / (CONFIG_SYS_HZ * CONFIG_SYS_HZ); in dram_init()
/external/u-boot/arch/microblaze/cpu/
Dtimer.c73 preload /= CONFIG_SYS_HZ; in timer_init()
113 return CONFIG_SYS_HZ; in get_tbclk()
/external/u-boot/arch/arm/cpu/armv7/sunxi/
Dtimer.c23 #define TICKS_PER_HZ (TIMER_CLOCK / CONFIG_SYS_HZ)
111 return CONFIG_SYS_HZ; in get_tbclk()

123456