Home
last modified time | relevance | path

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

12

/u-boot/arch/arm/cpu/sa1100/
A Dtimer.c29 ulong tmo; in __udelay() local
34 tmo = usec / 1000; in __udelay()
35 tmo *= CONFIG_SYS_HZ; in __udelay()
36 tmo /= 1000; in __udelay()
38 tmo = usec * CONFIG_SYS_HZ; in __udelay()
39 tmo /= (1000*1000); in __udelay()
42 endtime = get_timer_masked () + tmo; in __udelay()
/u-boot/arch/arm/mach-nexell/
A Dtimer.c220 unsigned long tmo, tmp; in __udelay() local
230 tmo = usec / 1000; in __udelay()
232 tmo *= TIMER_FREQ; in __udelay()
234 tmo /= 1000; in __udelay()
238 tmo /= (1000 * 1000); in __udelay()
250 tmo += tmp; in __udelay()
257 } while (tmo > tmp); in __udelay()
269 tmo = usec / 1000; in udelay_masked()
271 tmo *= TIMER_FREQ; in udelay_masked()
273 tmo /= 1000; in udelay_masked()
[all …]
/u-boot/board/armltd/integrator/
A Dtimer.c130 ulong tmo, tmp; in __udelay() local
133 tmo = usec * CONFIG_SYS_HZ; in __udelay()
134 tmo /= (1000000L); in __udelay()
137 tmo += tmp; /* form target timestamp */ in __udelay()
139 while (get_timer_masked () < tmo) {/* loop till event */ in __udelay()
/u-boot/arch/arm/mach-at91/arm920t/
A Dtimer.c91 u32 tmo; in __udelay() local
95 tmo = CONFIG_SYS_HZ_CLOCK / 1000; in __udelay()
96 tmo *= usec; in __udelay()
97 tmo /= 1000; in __udelay()
99 endtime = get_timer_raw() + tmo; in __udelay()
/u-boot/arch/arm/mach-omap2/
A Dtimer.c62 long tmo = usec * (TIMER_CLOCK / 1000) / 1000; in __udelay() local
65 while (tmo > 0) { in __udelay()
68 tmo -= TIMER_OVERFLOW_VAL - last + now + 1; in __udelay()
70 tmo -= now - last; in __udelay()
/u-boot/arch/nds32/cpu/n1213/ag101/
A Dtimer.c156 long tmo = usec * (TIMER_CLOCK / 1000) / 1000; in __udelay() local
158 long tmo = usec * ((CONFIG_SYS_CLK_FREQ / 2) / 1000) / 1000; in __udelay() local
163 while (tmo > 0) { in __udelay()
166 tmo -= TIMER_LOAD_VAL + last - now; in __udelay()
168 tmo -= last - now; in __udelay()
/u-boot/arch/arm/cpu/armv7/sunxi/
A Dtimer.c87 long tmo = USEC_TO_COUNT(usec); in __udelay() local
90 while (tmo > 0) { in __udelay()
93 tmo -= now - last; in __udelay()
95 tmo -= TIMER_LOAD_VAL - last + now; in __udelay()
/u-boot/arch/arm/cpu/armv7/ls102xa/
A Dtimer.c106 unsigned long tmo; in __udelay() local
109 tmo = us_to_tick(usec); /* convert usecs to ticks */ in __udelay()
111 while ((get_ticks() - start) < tmo) in __udelay()
/u-boot/arch/arm/cpu/armv7/vf610/
A Dtimer.c73 ulong tmo; in __udelay() local
76 tmo = us_to_tick(usec); /* convert usecs to ticks */ in __udelay()
77 while ((get_ticks() - start) < tmo) in __udelay()
/u-boot/arch/arm/mach-sunxi/
A Dp2wi.c47 unsigned long tmo = timer_get_us() + 1000000; in p2wi_change_to_p2wi_mode() local
56 if (timer_get_us() > tmo) in p2wi_change_to_p2wi_mode()
66 unsigned long tmo = timer_get_us() + 1000000; in p2wi_await_trans() local
80 if (timer_get_us() > tmo) { in p2wi_await_trans()
A Ddram_helpers.c19 unsigned long tmo = timer_get_us() + 1000000; in mctl_await_completion() local
22 if (timer_get_us() > tmo) in mctl_await_completion()
A Drsb.c79 unsigned long tmo = timer_get_us() + 1000000; in rsb_await_trans() local
97 if (timer_get_us() > tmo) { in rsb_await_trans()
111 unsigned long tmo = timer_get_us() + 1000000; in rsb_set_device_mode() local
117 if (timer_get_us() > tmo) in rsb_set_device_mode()
/u-boot/drivers/net/
A Dcs8900.c86 int tmo; in cs8900_reset() local
96 tmo = get_timer(0) + 1 * CONFIG_SYS_HZ; in cs8900_reset()
98 PP_SelfSTAT_InitD) == 0) && tmo < get_timer(0)) in cs8900_reset()
206 int tmo; in cs8900_send() local
219 for (tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in cs8900_send()
220 get_timer(0) < tmo;) in cs8900_send()
233 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in cs8900_send()
235 if (get_timer(0) >= tmo) in cs8900_send()
A Ddm9000x.c406 int tmo; in dm9000_send() local
427 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in dm9000_send()
430 if (get_timer(0) >= tmo) { in dm9000_send()
A Dne2000_base.c746 int tmo; in ne2k_send() local
753 tmo = get_timer (0) + TOUT * CONFIG_SYS_HZ; in ne2k_send()
760 if (get_timer (0) >= tmo) { in ne2k_send()
A Dlan91c96.c167 int tmo = get_timer (0) + timeout * CONFIG_SYS_HZ; in poll4int() local
174 if (get_timer (0) >= tmo) { in poll4int()
A Dethoc.c470 int tmo; in ethoc_send_common() local
497 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in ethoc_send_common()
508 if (get_timer(0) >= tmo) { in ethoc_send_common()
A Dsmc91111.c241 int tmo = get_timer (0) + timeout * CONFIG_SYS_HZ; in poll4int() local
248 if (get_timer (0) >= tmo) { in poll4int()
/u-boot/arch/arm/mach-imx/
A Dsyscounter.c106 ulong tmo; in __udelay() local
108 tmo = us_to_tick(usec); in __udelay()
109 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay()
/u-boot/arch/arm/cpu/armv7/stv0991/
A Dtimer.c68 ulong tmo; in __udelay() local
76 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay()
78 while ((ulong) (get_timer_masked() - start) < tmo) in __udelay()
/u-boot/arch/arm/cpu/arm926ejs/spear/
A Dtimer.c78 ulong tmo; in __udelay() local
86 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay()
88 while ((ulong) (get_timer_masked() - start) < tmo) in __udelay()
/u-boot/arch/arm/cpu/arm926ejs/mx27/
A Dtimer.c154 ulong tmo; in __udelay() local
156 tmo = us_to_tick(usec); in __udelay()
157 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay()
/u-boot/drivers/spi/
A Dmt7620_spi.c65 u32 rate, prescale, freq, tmo, cfg; in mt7620_spi_master_setup() local
77 tmo = DIV_ROUND_UP(8 * 1000000, freq); in mt7620_spi_master_setup()
80 ms->wait_us = POLLING_SCALE * tmo + POLLING_FRAC_USEC; in mt7620_spi_master_setup()
/u-boot/drivers/video/sunxi/
A Dsunxi_dw_hdmi.c64 unsigned long tmo; in sunxi_dw_hdmi_phy_init() local
87 tmo = timer_get_us() + 2000; in sunxi_dw_hdmi_phy_init()
89 if (timer_get_us() > tmo) { in sunxi_dw_hdmi_phy_init()
A Dsunxi_display.c82 unsigned long tmo = timer_get_us() + 200000; in await_completion() local
85 if (timer_get_us() > tmo) { in await_completion()
99 unsigned long tmo = timer_get_us() + hpd_delay * 1000; in sunxi_hdmi_hpd_detect() local
127 while (timer_get_us() < tmo) { in sunxi_hdmi_hpd_detect()

Completed in 33 milliseconds

12