/openbmc/u-boot/include/ |
H A D | status_led.h | 21 #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 D | pic32_mdio.c | 25 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 D | gettime.c | 22 #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 D | time.c | 14 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 D | misc.c | 24 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 D | timer.c | 71 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 D | colibri_pxa270.h | 113 #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 D | integrator-common.h | 88 #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 D | omap3_cairo.h | 210 #define CONFIG_SYS_FLASH_ERASE_TOUT (100 * CONFIG_SYS_HZ) 211 #define CONFIG_SYS_FLASH_WRITE_TOUT (100 * CONFIG_SYS_HZ)
|
H A D | spear-common.h | 67 #define CONFIG_SYS_FLASH_ERASE_TOUT (3 * CONFIG_SYS_HZ) 68 #define CONFIG_SYS_FLASH_WRITE_TOUT (3 * CONFIG_SYS_HZ)
|
H A D | am3517_crane.h | 202 #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 D | timer.c | 33 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 D | timer.c | 42 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 D | time.c | 75 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 D | timer.c | 74 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 D | timer.c | 49 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 D | m5282evb.c | 31 dramclk = gd->bus_clk / (CONFIG_SYS_HZ * CONFIG_SYS_HZ); in dram_init()
|
/openbmc/u-boot/board/armltd/integrator/ |
H A D | timer.c | 87 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 D | m5235evb.c | 53 dramclk = gd->bus_clk / (CONFIG_SYS_HZ * CONFIG_SYS_HZ); in dram_init()
|
/openbmc/u-boot/arch/arm/cpu/arm920t/ep93xx/ |
H A D | timer.c | 63 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 D | regmap.c | 165 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 D | ohci-lpc32xx.c | 146 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 D | timer.c | 77 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 D | timer.c | 23 #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 D | timer.c | 26 #define TIMER_LOAD_VAL (CONFIG_SYS_HZ_CLOCK/CONFIG_SYS_HZ) 118 return CONFIG_SYS_HZ; in get_tbclk()
|