Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/u-boot/drivers/net/
H A Dpic32_mdio.c26 false, CONFIG_SYS_HZ, true); in pic32_mdio_write()
40 false, CONFIG_SYS_HZ, true); in pic32_mdio_write()
52 false, CONFIG_SYS_HZ, true); in pic32_mdio_read()
67 false, CONFIG_SYS_HZ, false); in pic32_mdio_read()
86 false, CONFIG_SYS_HZ, true); in pic32_mdio_reset()
93 false, CONFIG_SYS_HZ, true); in pic32_mdio_reset()
100 false, CONFIG_SYS_HZ, true); in pic32_mdio_reset()
/OK3568_Linux_fs/u-boot/include/
H A Dstatus_led.h22 #define LED_STATUS_PERIOD (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ)
24 #define LED_STATUS_PERIOD1 (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ1)
27 #define LED_STATUS_PERIOD2 (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ2)
30 #define LED_STATUS_PERIOD3 (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ3)
33 #define LED_STATUS_PERIOD4 (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ4)
36 #define LED_STATUS_PERIOD5 (CONFIG_SYS_HZ / CONFIG_LED_STATUS_FREQ5)
/OK3568_Linux_fs/u-boot/cmd/
H A Dgettime.c23 #ifdef CONFIG_SYS_HZ in do_gettime()
25 printf("Seconds : %lu\n", val / CONFIG_SYS_HZ); in do_gettime()
26 printf("Remainder : %lu\n", val % CONFIG_SYS_HZ); in do_gettime()
27 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.c25 delay = simple_strtoul(argv[1], NULL, 10) * CONFIG_SYS_HZ; in do_sleep()
30 uint mult = CONFIG_SYS_HZ / 10; in do_sleep()
73 ulong msecs = get_timer(start) * 1000 / CONFIG_SYS_HZ; in do_timer()
/OK3568_Linux_fs/u-boot/arch/nds32/cpu/n1213/ag101/
H A Dtimer.c72 lastdec = readl(&tmr->timer3_counter) / (TIMER_CLOCK / CONFIG_SYS_HZ); in reset_timer_masked()
75 (CONFIG_SYS_CLK_FREQ / 2 / CONFIG_SYS_HZ); in reset_timer_masked()
97 ulong now = readl(&tmr->timer3_counter) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked()
100 (CONFIG_SYS_CLK_FREQ / 2 / CONFIG_SYS_HZ); in get_timer_masked()
187 return CONFIG_SYS_HZ; in get_tbclk()
/OK3568_Linux_fs/u-boot/include/configs/
H A Dcolibri_pxa270.h128 #define CONFIG_SYS_FLASH_ERASE_TOUT (25 * CONFIG_SYS_HZ)
129 #define CONFIG_SYS_FLASH_WRITE_TOUT (25 * CONFIG_SYS_HZ)
130 #define CONFIG_SYS_FLASH_LOCK_TOUT (25 * CONFIG_SYS_HZ)
131 #define CONFIG_SYS_FLASH_UNLOCK_TOUT (25 * CONFIG_SYS_HZ)
H A Dintegrator-common.h99 #define CONFIG_SYS_FLASH_ERASE_TOUT (2 * CONFIG_SYS_HZ) /* Erase Timeout */
100 #define CONFIG_SYS_FLASH_WRITE_TOUT (2 * CONFIG_SYS_HZ) /* Write Timeout */
H A Dpb1x00.h82 #define CONFIG_SYS_FLASH_ERASE_TOUT (2 * CONFIG_SYS_HZ) /* Timeout for Flash Erase */
83 #define CONFIG_SYS_FLASH_WRITE_TOUT (2 * CONFIG_SYS_HZ) /* Timeout for Flash Write */
H A Domap3_cairo.h234 #define CONFIG_SYS_FLASH_ERASE_TOUT (100 * CONFIG_SYS_HZ)
235 #define CONFIG_SYS_FLASH_WRITE_TOUT (100 * CONFIG_SYS_HZ)
H A Ddbau1x00.h128 #define CONFIG_SYS_FLASH_ERASE_TOUT (2 * CONFIG_SYS_HZ) /* Timeout for Flash Erase */
129 #define CONFIG_SYS_FLASH_WRITE_TOUT (2 * CONFIG_SYS_HZ) /* Timeout for Flash Write */
H A Dimx31_phycore.h148 #define CONFIG_SYS_FLASH_ERASE_TOUT (100*CONFIG_SYS_HZ)
149 #define CONFIG_SYS_FLASH_WRITE_TOUT (100*CONFIG_SYS_HZ)
H A Dspear-common.h70 #define CONFIG_SYS_FLASH_ERASE_TOUT (3 * CONFIG_SYS_HZ)
71 #define CONFIG_SYS_FLASH_WRITE_TOUT (3 * CONFIG_SYS_HZ)
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Dtimer.c43 tick *= CONFIG_SYS_HZ; in tick_to_time()
51 do_div(time, CONFIG_SYS_HZ); in time_to_tick()
63 #define TICK_PER_TIME ((CONFIG_MX27_CLK32 + CONFIG_SYS_HZ / 2) / \
64 CONFIG_SYS_HZ)
/OK3568_Linux_fs/u-boot/arch/arm/cpu/sa1100/
H A Dtimer.c39 tmo *= CONFIG_SYS_HZ; in udelay_masked()
42 tmo = usec * CONFIG_SYS_HZ; in udelay_masked()
69 return CONFIG_SYS_HZ; in get_tbclk()
/OK3568_Linux_fs/u-boot/arch/xtensa/lib/
H A Dtime.c76 return ccount / (CONFIG_SYS_CLK_FREQ / CONFIG_SYS_HZ) - base; in get_timer()
87 return fake_ccount / (CONFIG_SYS_CLK_FREQ / CONFIG_SYS_HZ) - base; in get_timer()
107 return CONFIG_SYS_HZ; in get_tbclk()
/OK3568_Linux_fs/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()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/lpc32xx/
H A Dtimer.c50 lpc32xx_timer_reset(timer0, CONFIG_SYS_HZ); in timer_init()
64 lpc32xx_timer_reset(timer1, CONFIG_SYS_HZ * 1000); in __udelay()
81 return CONFIG_SYS_HZ; in get_tbclk()
/OK3568_Linux_fs/u-boot/board/freescale/m5282evb/
H A Dm5282evb.c32 dramclk = gd->bus_clk / (CONFIG_SYS_HZ * CONFIG_SYS_HZ); in dram_init()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dohci-lpc32xx.c147 true, CONFIG_SYS_HZ, false); in usbpll_setup()
182 CONFIG_SYS_HZ, false); in usb_cpu_init()
203 CONFIG_SYS_HZ, false); in usb_cpu_init()
/OK3568_Linux_fs/u-boot/board/armltd/integrator/
H A Dtimer.c88 do_div(div_timer, CONFIG_SYS_HZ); in timer_init()
108 tmo = usec * CONFIG_SYS_HZ; in __udelay()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm920t/ep93xx/
H A Dtimer.c64 sys_ticks = timer.ticks * CONFIG_SYS_HZ; in get_ticks()
119 return CONFIG_SYS_HZ; in get_tbclk()
/OK3568_Linux_fs/u-boot/board/freescale/m5235evb/
H A Dm5235evb.c54 dramclk = gd->bus_clk / (CONFIG_SYS_HZ * CONFIG_SYS_HZ); in dram_init()
/OK3568_Linux_fs/u-boot/arch/microblaze/cpu/
H A Dtimer.c74 preload /= CONFIG_SYS_HZ; in timer_init()
114 return CONFIG_SYS_HZ; in get_tbclk()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/sunxi/
H A Dtimer.c24 #define TICKS_PER_HZ (TIMER_CLOCK / CONFIG_SYS_HZ)
112 return CONFIG_SYS_HZ; in get_tbclk()

1234567