Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_matchall.c24 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace()
28 action = &tmo->rule->action.entries[0]; in sparx5_tc_matchall_replace()
34 tmo->common.chain_index, in sparx5_tc_matchall_replace()
35 action->chain_index, tmo->cookie, in sparx5_tc_matchall_replace()
38 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace()
43 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace()
48 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace()
53 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace()
74 if (!tmo->rule && tmo->cookie) { in sparx5_tc_matchall_destroy()
76 0, 0, tmo->cookie, false); in sparx5_tc_matchall_destroy()
[all …]
/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/linux/sound/soc/au1x/
H A Dac97c.c87 unsigned int tmo, retry; in au1xac97c_ac97_read() local
95 tmo = 6; in au1xac97c_ac97_read()
98 if (!tmo) { in au1xac97c_ac97_read()
108 tmo = 0x10000; in au1xac97c_ac97_read()
113 if (!tmo) in au1xac97c_ac97_read()
118 } while (--retry && !tmo); in au1xac97c_ac97_read()
129 unsigned int tmo, retry; in au1xac97c_ac97_write() local
135 for (tmo = 5; (RD(ctx, AC97_STATUS) & STAT_CP) && tmo; tmo--) in au1xac97c_ac97_write()
137 if (!tmo) { in au1xac97c_ac97_write()
144 for (tmo = 10; (RD(ctx, AC97_STATUS) & STAT_CP) && tmo; tmo--) in au1xac97c_ac97_write()
[all …]
H A Dpsc-i2s.c152 tmo = 1000000; in au1xpsc_i2s_configure()
154 tmo--; in au1xpsc_i2s_configure()
156 if (!tmo) in au1xpsc_i2s_configure()
165 tmo = 1000000; in au1xpsc_i2s_configure()
167 tmo--; in au1xpsc_i2s_configure()
169 if (tmo) in au1xpsc_i2s_configure()
200 tmo = 1000000; in au1xpsc_i2s_start()
202 tmo--; in au1xpsc_i2s_start()
204 if (!tmo) { in au1xpsc_i2s_start()
221 tmo = 1000000; in au1xpsc_i2s_stop()
[all …]
H A Dpsc-ac97.c75 unsigned short retry, tmo; in au1xpsc_ac97_read() local
89 tmo = 20; in au1xpsc_ac97_read()
94 } while (--tmo); in au1xpsc_ac97_read()
104 tmo = 1; /* wrong register, try again */ in au1xpsc_ac97_read()
106 } while (--retry && !tmo); in au1xpsc_ac97_read()
116 unsigned int tmo, retry; in au1xpsc_ac97_write() local
129 tmo = 20; in au1xpsc_ac97_write()
134 } while (--tmo); in au1xpsc_ac97_write()
140 } while (--retry && !tmo); in au1xpsc_ac97_write()
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dpm.c112 unsigned long tmo) in cw1200_pm_stay_awake() argument
118 mod_timer(&pm->stay_awake, jiffies + tmo); in cw1200_pm_stay_awake()
125 long tmo; in cw1200_suspend_work() local
128 tmo = work->timer.expires - jiffies; in cw1200_suspend_work()
129 if (tmo < 0) in cw1200_suspend_work()
130 tmo = 0; in cw1200_suspend_work()
132 tmo = -1; in cw1200_suspend_work()
134 return tmo; in cw1200_suspend_work()
139 unsigned long tmo) in cw1200_resume_work() argument
141 if ((long)tmo < 0) in cw1200_resume_work()
[all …]
H A Dpm.h34 unsigned long tmo);
37 unsigned long tmo) in cw1200_pm_stay_awake() argument
/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/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/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/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()
/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 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()
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()
/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/linux/drivers/scsi/
H A Dmyrs.h695 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
708 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
721 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
737 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
751 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
765 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
780 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
798 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
813 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
832 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
[all …]
/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/linux/sound/soc/sh/
H A Dhac.c202 unsigned int tmo; in hac_ac97_warmrst() local
207 for (tmo = 1000; (tmo > 0) && !(HACREG(HACCR) & CR_CR); tmo--) in hac_ac97_warmrst()
210 if (!tmo) in hac_ac97_warmrst()
/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)

12345