Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/cpu/sa1100/
H A Dtimer.c27 ulong tmo; in __udelay() local
32 tmo = usec / 1000; in __udelay()
33 tmo *= CONFIG_SYS_HZ; in __udelay()
34 tmo /= 1000; in __udelay()
36 tmo = usec * CONFIG_SYS_HZ; in __udelay()
37 tmo /= (1000*1000); in __udelay()
40 endtime = get_timer_masked () + tmo; in __udelay()
/openbmc/u-boot/board/armltd/integrator/
H A Dtimer.c128 ulong tmo, tmp; in __udelay() local
131 tmo = usec * CONFIG_SYS_HZ; in __udelay()
132 tmo /= (1000000L); in __udelay()
135 tmo += tmp; /* form target timestamp */ in __udelay()
137 while (get_timer_masked () < tmo) {/* loop till event */ in __udelay()
/openbmc/u-boot/arch/arm/mach-at91/arm920t/
H A Dtimer.c87 u32 tmo; in __udelay() local
91 tmo = CONFIG_SYS_HZ_CLOCK / 1000; in __udelay()
92 tmo *= usec; in __udelay()
93 tmo /= 1000; in __udelay()
95 endtime = get_timer_raw() + tmo; in __udelay()
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dtimer.c58 long tmo = usec * (TIMER_CLOCK / 1000) / 1000; in __udelay() local
61 while (tmo > 0) { in __udelay()
64 tmo -= TIMER_OVERFLOW_VAL - last + now + 1; in __udelay()
66 tmo -= now - last; in __udelay()
/openbmc/u-boot/arch/nds32/cpu/n1213/ag101/
H A 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()
/openbmc/u-boot/arch/arm/cpu/armv7/sunxi/
H A 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()
/openbmc/u-boot/drivers/net/
H A 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()
H A 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()
H A 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()
H A Dlan91c96.c165 int tmo = get_timer (0) + timeout * CONFIG_SYS_HZ; in poll4int() local
172 if (get_timer (0) >= tmo) { in poll4int()
H A 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()
H A Dsmc91111.c240 int tmo = get_timer (0) + timeout * CONFIG_SYS_HZ; in poll4int() local
247 if (get_timer (0) >= tmo) { in poll4int()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A 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()
H A 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()
H A 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()
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/
H A Dtimer.c69 ulong tmo; in __udelay() local
72 tmo = us_to_tick(usec); /* convert usecs to ticks */ in __udelay()
73 while ((get_ticks() - start) < tmo) in __udelay()
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dtimer.c102 unsigned long tmo; in __udelay() local
105 tmo = us_to_tick(usec); /* convert usecs to ticks */ in __udelay()
107 while ((get_ticks() - start) < tmo) in __udelay()
/openbmc/u-boot/arch/arm/mach-imx/
H A Dsyscounter.c102 ulong tmo; in __udelay() local
104 tmo = us_to_tick(usec); in __udelay()
105 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay()
/openbmc/u-boot/arch/arm/cpu/armv7/stv0991/
H A Dtimer.c64 ulong tmo; in __udelay() local
72 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay()
74 while ((ulong) (get_timer_masked() - start) < tmo) in __udelay()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/spear/
H A Dtimer.c73 ulong tmo; in __udelay() local
81 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay()
83 while ((ulong) (get_timer_masked() - start) < tmo) in __udelay()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A 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()
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dstorage.py15 def storage_mount(cls, tmo=1): argument
21 time.sleep(tmo)
66 def storage_umount(cls, tmo=1): argument
67 time.sleep(tmo)
/openbmc/u-boot/drivers/video/sunxi/
H A 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()
H A 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
123 while (timer_get_us() < tmo) { in sunxi_hdmi_hpd_detect()
/openbmc/u-boot/doc/
H A DREADME.qemu-mips195 78 while ((tmo - read_c0_count()) < 0x7fffffff)