Home
last modified time | relevance | path

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

1234567

/openbmc/u-boot/include/
H A 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)
/openbmc/u-boot/drivers/net/
H A 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()
/openbmc/u-boot/cmd/
H A 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()
H A 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()
H A 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()
/openbmc/u-boot/arch/nds32/cpu/n1213/ag101/
H A 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()
/openbmc/u-boot/include/configs/
H A Dcolibri_pxa270.h113 #define CONFIG_SYS_FLASH_ERASE_TOUT (25 * CONFIG_SYS_HZ)
114 #define CONFIG_SYS_FLASH_WRITE_TOUT (25 * CONFIG_SYS_HZ)
115 #define CONFIG_SYS_FLASH_LOCK_TOUT (25 * CONFIG_SYS_HZ)
116 #define CONFIG_SYS_FLASH_UNLOCK_TOUT (25 * CONFIG_SYS_HZ)
H A Dintegrator-common.h88 #define CONFIG_SYS_FLASH_ERASE_TOUT (2 * CONFIG_SYS_HZ) /* Erase Timeout */
89 #define CONFIG_SYS_FLASH_WRITE_TOUT (2 * CONFIG_SYS_HZ) /* Write Timeout */
H A Domap3_cairo.h210 #define CONFIG_SYS_FLASH_ERASE_TOUT (100 * CONFIG_SYS_HZ)
211 #define CONFIG_SYS_FLASH_WRITE_TOUT (100 * CONFIG_SYS_HZ)
H A Dspear-common.h67 #define CONFIG_SYS_FLASH_ERASE_TOUT (3 * CONFIG_SYS_HZ)
68 #define CONFIG_SYS_FLASH_WRITE_TOUT (3 * CONFIG_SYS_HZ)
H A Dam3517_crane.h202 #define CONFIG_SYS_FLASH_ERASE_TOUT (100 * CONFIG_SYS_HZ)
203 #define CONFIG_SYS_FLASH_WRITE_TOUT (100 * CONFIG_SYS_HZ)
/openbmc/u-boot/arch/arm/cpu/sa1100/
H A Dtimer.c33 tmo *= CONFIG_SYS_HZ; in __udelay()
36 tmo = usec * CONFIG_SYS_HZ; in __udelay()
63 return CONFIG_SYS_HZ; in get_tbclk()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A 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)
/openbmc/u-boot/arch/xtensa/lib/
H A 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()
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dtimer.c74 ulong now = readl(&timer_base->tcrr) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked()
81 CONFIG_SYS_HZ)) - gd->arch.lastinc) + now; in get_timer_masked()
102 return CONFIG_SYS_HZ; in get_tbclk()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/lpc32xx/
H A 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()
/openbmc/u-boot/board/freescale/m5282evb/
H A Dm5282evb.c31 dramclk = gd->bus_clk / (CONFIG_SYS_HZ * CONFIG_SYS_HZ); in dram_init()
/openbmc/u-boot/board/armltd/integrator/
H A Dtimer.c87 do_div(div_timer, CONFIG_SYS_HZ); in timer_init()
131 tmo = usec * CONFIG_SYS_HZ; in __udelay()
/openbmc/u-boot/board/freescale/m5235evb/
H A Dm5235evb.c53 dramclk = gd->bus_clk / (CONFIG_SYS_HZ * CONFIG_SYS_HZ); in dram_init()
/openbmc/u-boot/arch/arm/cpu/arm920t/ep93xx/
H A Dtimer.c63 sys_ticks = timer.ticks * CONFIG_SYS_HZ; in get_ticks()
113 return CONFIG_SYS_HZ; in get_tbclk()
/openbmc/u-boot/test/dm/
H A Dregmap.c165 1, 5 * CONFIG_SYS_HZ, in dm_test_regmap_poll()
166 5 * CONFIG_SYS_HZ)); in dm_test_regmap_poll()
168 ut_assert(get_timer(start) > (5 * CONFIG_SYS_HZ)); in dm_test_regmap_poll()
/openbmc/u-boot/drivers/usb/host/
H A 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()
/openbmc/u-boot/arch/microblaze/cpu/
H A Dtimer.c77 preload /= CONFIG_SYS_HZ; in timer_init()
117 return CONFIG_SYS_HZ; in get_tbclk()
/openbmc/u-boot/arch/arm/cpu/armv7/sunxi/
H A Dtimer.c23 #define TICKS_PER_HZ (TIMER_CLOCK / CONFIG_SYS_HZ)
111 return CONFIG_SYS_HZ; in get_tbclk()
/openbmc/u-boot/arch/arm/mach-at91/arm920t/
H A Dtimer.c26 #define TIMER_LOAD_VAL (CONFIG_SYS_HZ_CLOCK/CONFIG_SYS_HZ)
118 return CONFIG_SYS_HZ; in get_tbclk()

1234567