Home
last modified time | relevance | path

Searched refs:tmo (Results 1 – 25 of 30) sorted by relevance

12

/external/u-boot/arch/arm/cpu/sa1100/
Dtimer.c32 ulong tmo; in udelay_masked() local
37 tmo = usec / 1000; in udelay_masked()
38 tmo *= CONFIG_SYS_HZ; in udelay_masked()
39 tmo /= 1000; in udelay_masked()
41 tmo = usec * CONFIG_SYS_HZ; in udelay_masked()
42 tmo /= (1000*1000); in udelay_masked()
45 endtime = get_timer_masked () + tmo; in udelay_masked()
/external/u-boot/board/armltd/integrator/
Dtimer.c104 ulong tmo, tmp; in __udelay() local
107 tmo = usec * CONFIG_SYS_HZ; in __udelay()
108 tmo /= (1000000L); in __udelay()
111 tmo += tmp; /* form target timestamp */ in __udelay()
113 while (get_timer_masked () < tmo) {/* loop till event */ in __udelay()
/external/u-boot/arch/arm/mach-at91/arm920t/
Dtimer.c92 u32 tmo; in udelay_masked() local
96 tmo = CONFIG_SYS_HZ_CLOCK / 1000; in udelay_masked()
97 tmo *= usec; in udelay_masked()
98 tmo /= 1000; in udelay_masked()
100 endtime = get_timer_raw() + tmo; in udelay_masked()
/external/u-boot/arch/nds32/cpu/n1213/ag101/
Dtimer.c151 long tmo = usec * (TIMER_CLOCK / 1000) / 1000; in __udelay() local
153 long tmo = usec * ((CONFIG_SYS_CLK_FREQ / 2) / 1000) / 1000; in __udelay() local
158 while (tmo > 0) { in __udelay()
161 tmo -= TIMER_LOAD_VAL + last - now; in __udelay()
163 tmo -= last - now; in __udelay()
/external/u-boot/drivers/net/
Dcs8900.c84 int tmo; in cs8900_reset() local
94 tmo = get_timer(0) + 1 * CONFIG_SYS_HZ; in cs8900_reset()
96 PP_SelfSTAT_InitD) == 0) && tmo < get_timer(0)) in cs8900_reset()
204 int tmo; in cs8900_send() local
217 for (tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in cs8900_send()
218 get_timer(0) < tmo;) in cs8900_send()
231 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in cs8900_send()
233 if (get_timer(0) >= tmo) in cs8900_send()
Ddm9000x.c405 int tmo; in dm9000_send() local
426 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in dm9000_send()
429 if (get_timer(0) >= tmo) { in dm9000_send()
Dne2000_base.c755 int tmo; in ne2k_send() local
762 tmo = get_timer (0) + TOUT * CONFIG_SYS_HZ; in ne2k_send()
769 if (get_timer (0) >= tmo) { in ne2k_send()
Dlan91c96.c165 int tmo = get_timer (0) + timeout * CONFIG_SYS_HZ; in poll4int() local
172 if (get_timer (0) >= tmo) { in poll4int()
Dethoc.c468 int tmo; in ethoc_send_common() local
495 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in ethoc_send_common()
506 if (get_timer(0) >= tmo) { in ethoc_send_common()
Dsmc91111.c240 int tmo = get_timer (0) + timeout * CONFIG_SYS_HZ; in poll4int() local
247 if (get_timer (0) >= tmo) { in poll4int()
/external/u-boot/arch/arm/mach-omap2/
Dtimer.c57 long tmo = usec * (TIMER_CLOCK / 1000) / 1000; in __udelay() local
60 while (tmo > 0) { in __udelay()
63 tmo -= TIMER_OVERFLOW_VAL - last + now + 1; in __udelay()
65 tmo -= now - last; in __udelay()
/external/u-boot/arch/arm/cpu/armv7/sunxi/
Dtimer.c83 long tmo = USEC_TO_COUNT(usec); in __udelay() local
86 while (tmo > 0) { in __udelay()
89 tmo -= now - last; in __udelay()
91 tmo -= TIMER_LOAD_VAL - last + now; in __udelay()
/external/u-boot/arch/arm/mach-sunxi/
Dp2wi.c46 unsigned long tmo = timer_get_us() + 1000000; in p2wi_change_to_p2wi_mode() local
55 if (timer_get_us() > tmo) in p2wi_change_to_p2wi_mode()
65 unsigned long tmo = timer_get_us() + 1000000; in p2wi_await_trans() local
79 if (timer_get_us() > tmo) { in p2wi_await_trans()
Drsb.c78 unsigned long tmo = timer_get_us() + 1000000; in rsb_await_trans() local
96 if (timer_get_us() > tmo) { in rsb_await_trans()
110 unsigned long tmo = timer_get_us() + 1000000; in rsb_set_device_mode() local
116 if (timer_get_us() > tmo) in rsb_set_device_mode()
Ddram_helpers.c18 unsigned long tmo = timer_get_us() + 1000000; in mctl_await_completion() local
21 if (timer_get_us() > tmo) in mctl_await_completion()
/external/u-boot/arch/arm/cpu/armv7/vf610/
Dtimer.c74 ulong tmo; in __udelay() local
77 tmo = us_to_tick(usec); /* convert usecs to ticks */ in __udelay()
78 while ((get_ticks() - start) < tmo) in __udelay()
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dtimer.c107 unsigned long tmo; in __udelay() local
110 tmo = us_to_tick(usec); /* convert usecs to ticks */ in __udelay()
112 while ((get_ticks() - start) < tmo) in __udelay()
/external/u-boot/arch/arm/mach-imx/
Dsyscounter.c105 ulong tmo; in __udelay() local
107 tmo = us_to_tick(usec); in __udelay()
108 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay()
/external/u-boot/arch/arm/cpu/armv7/stv0991/
Dtimer.c62 ulong tmo; in __udelay() local
70 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay()
72 while ((ulong) (get_timer_masked() - start) < tmo) in __udelay()
/external/u-boot/arch/arm/cpu/arm926ejs/spear/
Dtimer.c71 ulong tmo; in __udelay() local
79 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay()
81 while ((ulong) (get_timer_masked() - start) < tmo) in __udelay()
/external/u-boot/arch/arm/cpu/arm926ejs/mx27/
Dtimer.c149 ulong tmo; in __udelay() local
151 tmo = us_to_tick(usec); in __udelay()
152 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay()
/external/iputils/
Dclockdiff.c210 long tmo = rtt + rtt_sigma; in measure() local
211 tout.tv_sec = tmo/1000; in measure()
212 tout.tv_usec = (tmo - (tmo/1000)*1000)*1000; in measure()
390 long tmo = rtt + rtt_sigma; in measure_opt() local
391 tout.tv_sec = tmo/1000; in measure_opt()
392 tout.tv_usec = (tmo - (tmo/1000)*1000)*1000; in measure_opt()
/external/u-boot/drivers/video/sunxi/
Dsunxi_dw_hdmi.c60 unsigned long tmo; in sunxi_dw_hdmi_phy_init() local
83 tmo = timer_get_us() + 2000; in sunxi_dw_hdmi_phy_init()
85 if (timer_get_us() > tmo) { in sunxi_dw_hdmi_phy_init()
Dsunxi_display.c78 unsigned long tmo = timer_get_us() + 200000; in await_completion() local
81 if (timer_get_us() > tmo) { in await_completion()
95 unsigned long tmo = timer_get_us() + hpd_delay * 1000; in sunxi_hdmi_hpd_detect() local
116 while (timer_get_us() < tmo) { in sunxi_hdmi_hpd_detect()
/external/u-boot/doc/
DREADME.qemu-mips195 78 while ((tmo - read_c0_count()) < 0x7fffffff)

12