/openbsd-current/sys/dev/fdt/ |
H A D | amlpciephy.c | 193 int timo; local 198 for (timo = 200; timo > 0; timo--) { 203 if (timo == 0) { 208 for (timo = 200; timo > 0; timo--) { 213 if (timo == 0) { 223 int timo; local 254 int timo; local [all...] |
H A D | sxirsb.c | 179 int timo; local 187 for (timo = 1000; timo > 0; timo--) { 192 if (timo == 0) { 214 for (timo = 1000; timo > 0; timo--) { 219 if (timo == 0) { 234 for (timo 282 int timo; local [all...] |
H A D | rkpciephy.c | 117 int timo; local 146 for (timo = 500; timo > 0; timo--) { 152 if (timo == 0) { 168 int num_lanes, timo; local 220 for (timo = 500; timo > 0; timo--) { 226 for (; timo > [all...] |
H A D | qciic_fdt.c | 143 int timo; local 145 for (timo = 50000; timo > 0; timo--) { 151 if (timo == 0) 161 int timo, i; local 166 for (timo = 50000; timo > 0; timo--) { 172 if (timo 186 int timo, i; local [all...] |
H A D | rkiic.c | 202 int timo; local 206 for (timo = 1000; timo > 0; timo--) { 212 if (timo == 0) 221 int timo; local 225 for (timo = 1000; timo > 0; timo--) { 231 if (timo 242 int timo, i; local 281 int timo, i; local [all...] |
H A D | sxisid.c | 130 int pos, timo, i; local 140 for (timo = 2500; timo > 0; timo--) { 145 if (timo == 0)
|
H A D | ociic.c | 198 int timo; local 200 for (timo = 50000; timo > 0; timo--) { 206 if (timo == 0) { 218 int timo; local 220 for (timo = 50000; timo > 0; timo--) { 228 if (timo [all...] |
H A D | rkpcie.c | 179 int timo; local 180 for (timo = 500; timo > 0; timo--) { 187 return timo == 0; 709 int timo; local 723 for (timo = 50; timo > 0; timo--) { 729 if (timo [all...] |
/openbsd-current/usr.bin/sndiod/ |
H A D | file.h | 25 struct timo { struct 26 struct timo *next; 67 void timo_set(struct timo *, void (*)(void *), void *); 68 void timo_add(struct timo *, unsigned int); 69 void timo_del(struct timo *);
|
H A D | siofile.h | 37 struct timo watchdog;
|
H A D | file.c | 27 * midish/timo.c rev 1.18 34 * first the timo structure must be initialized with timo_set() 70 struct timo *timo_queue; 82 timo_set(struct timo *o, void (*cb)(void *), void *arg) 94 timo_add(struct timo *o, unsigned int delta) 96 struct timo **i; 127 timo_del(struct timo *o) 129 struct timo **i; 152 struct timo *to; 201 timo_queue = (struct timo *) 320 int nfds, res, timo; local [all...] |
/openbsd-current/sys/dev/pci/drm/include/linux/ |
H A D | wait.h | 103 #define __wait_event_intr_timeout(wqh, condition, timo, prio) \ 105 long __ret = timo; \ 121 if ((timo) > 0) \ 128 if ((timo) > 0 && (__ret <= 0 || __error == EWOULDBLOCK)) { \ 197 * Sleep until `condition' gets true or `timo' expires. 199 * Returns 0 if `condition' is still false when `timo' expires or 202 #define wait_event_timeout(wqh, condition, timo) \ 204 long __ret = timo; \ 206 __ret = __wait_event_intr_timeout(wqh, condition, timo, 0); \ 211 * Sleep until `condition' gets true, `timo' expire [all...] |
H A D | completion.h | 48 wait_for_completion_timeout(struct completion *x, u_long timo) argument 56 ret = msleep(x, &x->lock, 0, "wfct", timo); 109 wait_for_completion_interruptible_timeout(struct completion *x, u_long timo) argument 117 ret = msleep(x, &x->lock, PCATCH, "wfcit", timo);
|
/openbsd-current/sys/arch/octeon/dev/ |
H A D | cn30xxsmi.c | 99 int timo; local 105 timo = 10000; 108 if (timo-- == 0) 124 int timo; local 133 timo = 10000; 136 if (timo-- == 0)
|
/openbsd-current/sys/arch/armv7/sunxi/ |
H A D | sxiahci.c | 97 uint32_t timo; local 145 timo = SXIAHCI_TIMEOUT; 146 while ((SXIREAD4(sc, SXIAHCI_PHYCS0) >> 28 & 7) != 2 && --timo) 148 if (!timo) { 155 timo = SXIAHCI_TIMEOUT; 156 while ((SXIREAD4(sc, SXIAHCI_PHYCS2) & (1 << 24)) && --timo) 158 if (!timo) {
|
/openbsd-current/sys/arch/sparc64/stand/ofwboot/ |
H A D | netif_of.c | 162 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, time_t timo) argument 171 pkt, maxlen, timo); 173 tmo_ms = timo * 1000;
|
/openbsd-current/sys/arch/powerpc64/dev/ |
H A D | ipmi_opal.c | 137 int timo; local 140 for (timo = 1000; timo > 0; timo--) {
|
/openbsd-current/lib/libc/net/ |
H A D | rcmd.c | 71 struct timespec timo; local 115 timespecclear(&timo); 119 for (timo.tv_sec = 1, lport = IPPORT_RESERVED - 1;;) { 167 if (refused && timo.tv_sec <= 16) { 168 (void)nanosleep(&timo, NULL); 169 timo.tv_sec *= 2;
|
/openbsd-current/sys/dev/acpi/ |
H A D | qciic.c | 189 int timo; local 191 for (timo = 50000; timo > 0; timo--) { 197 if (timo == 0) 207 int timo, i; local 212 for (timo = 50000; timo > 0; timo--) { 218 if (timo 232 int timo, i; local [all...] |
/openbsd-current/sys/kern/ |
H A D | kern_synch.c | 107 * runnable with the specified priority. Sleeps at most timo/hz seconds 116 tsleep(const volatile void *ident, int priority, const char *wmesg, int timo) argument 123 KASSERT(ident != &nowake || ISSET(priority, PCATCH) || timo != 0); 126 KASSERT(ident == &nowake || timo || _kernel_lock_held()); 154 return sleep_finish(timo, 1); 206 const char *wmesg, int timo) 214 KASSERT(ident != &nowake || ISSET(priority, PCATCH) || timo != 0); 249 error = sleep_finish(timo, 1); 286 const char *wmesg, int timo) 291 KASSERT(ident != &nowake || ISSET(priority, PCATCH) || timo ! 205 msleep(const volatile void *ident, struct mutex *mtx, int priority, const char *wmesg, int timo) argument 285 rwsleep(const volatile void *ident, struct rwlock *rwl, int priority, const char *wmesg, int timo) argument 366 sleep_finish(int timo, int do_sleep) argument [all...] |
/openbsd-current/sbin/slaacd/ |
H A D | engine.c | 163 struct timeval timo; member in struct:address_proposal 187 struct timeval timo; member in struct:dfr_proposal 202 struct timeval timo; member in struct:rdns_proposal 217 struct timeval timo; member in struct:slaacd_iface 790 cei_addr_proposal.next_timeout = addr_proposal->timo.tv_sec; 819 cei_dfr_proposal.next_timeout = dfr_proposal->timo.tv_sec; 848 cei_rdns_proposal.next_timeout = rdns_proposal->timo.tv_sec; 993 iface->timo.tv_sec = -1; 1017 iface->timo.tv_sec = RTR_SOLICITATION_INTERVAL; 1021 iface->timo [all...] |
/openbsd-current/sys/arch/macppc/dev/ |
H A D | kiic.c | 259 kiic_poll(struct kiic_softc *sc, int timo) argument 264 timo -= 100; 265 if (timo < 0) { 278 int timo, x; local 286 timo = 1000 + len * 200; 290 timo += 100000; 298 if (kiic_poll(sc, timo))
|
/openbsd-current/sys/arch/arm64/dev/ |
H A D | aplpcie.c | 449 int idx, port, timo; local 508 for (timo = 500; timo > 0; timo--) { 515 for (timo = 500; timo > 0; timo--) { 541 for (timo = 2500; timo > 0; timo 572 int idx, msi, port, timo; local [all...] |
/openbsd-current/sys/arch/macppc/stand/ |
H A D | netif_of.c | 191 netif_get(struct iodesc *desc, void *pkt, size_t maxlen, time_t timo) argument 201 pkt, maxlen, timo); 204 tmo_ms = timo * 1000;
|
/openbsd-current/sys/arch/armv7/omap/ |
H A D | ommmc.c | 715 int timo; local 720 for (timo = 1000; timo > 0; timo--) { 726 if (timo == 0) { 760 for (timo = 1000; timo > 0; timo--) { 765 if (timo == 0) { 1112 int timo; local [all...] |