Searched refs:tmo (Results 1 - 23 of 23) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/lib/libsa/
H A Dnet.c92 saseconds_t tmo, tleft; local
99 tmo = MINTMO;
105 if (tmo >= MAXTMO) {
111 tleft = tmo;
112 tmo <<= 1;
113 if (tmo > MAXTMO)
114 tmo = MAXTMO;
118 while ((getsecs() - t) < tmo)
/netbsd-6-1-5-RELEASE/sys/arch/sun3/dev/
H A Dsi.c387 int tmo; local
400 tmo = POLL_TIMO;
404 if (--tmo <= 0) {
413 POLL_TIMO - tmo);
H A Dsi_obio.c441 int resid, ntrans, tmo, udc_cnt; local
475 tmo = 200000; /* X10 = 2 sec. */
479 if (--tmo <= 0) {
H A Dsi_sebuf.c675 int tmo; local
688 tmo = POLL_TIMO;
692 if (--tmo <= 0) {
701 POLL_TIMO - tmo);
H A Dif_ie.c1141 int tmo; local
1147 tmo = 10;
1148 while (scb->ie_command && --tmo)
1167 tmo = 36900;
1176 while (((cc->ie_cmd_status & mask) == 0) && --tmo)
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amq/
H A Dpawd.c185 struct timeval tmo = {10, 0}; local
207 clnt = clntudp_create(&server_addr, AMQ_PROGRAM, AMQ_VERSION, tmo, &s);
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dtpm.c306 tpm_tmotohz(int tmo) argument
310 tv.tv_sec = tmo / 1000;
311 tv.tv_usec = 1000 * (tmo % 1000);
355 tpm_waitfor_poll(struct tpm_softc *sc, uint8_t mask, int tmo, void *c) argument
363 while (((sc->sc_stat = tpm_status(sc)) & mask) != mask && tmo--) {
379 tpm_waitfor_int(struct tpm_softc *sc, uint8_t mask, int tmo, void *c, argument
411 to = tpm_tmotohz(tmo);
449 tpm_waitfor(struct tpm_softc *sc, uint8_t b0, int tmo, void *c) argument
482 return tpm_waitfor_int(sc, b, tmo, c,
488 rv = tpm_waitfor_int(sc, b, tmo,
[all...]
H A Dciss.c721 cmd->tmo = htole16(0);
753 cmd->tmo = htole16(30);
795 cmd->tmo = 0;
825 cmd->tmo = htole16(0);
853 cmd->tmo = htole16(0);
881 cmd->tmo = htole16(0);
978 cmd->tmo = xs->timeout < 1000? 1 : xs->timeout / 1000;
1059 cmd->tmo = xs->timeout < 1000? 1 : xs->timeout / 1000;
1398 cmd->tmo = htole16(0);
H A Dsunscpal.c287 int tmo; local
294 tmo = POLL_TIMO;
298 if (--tmo <= 0) {
306 SUNSCPAL_TRACE("sunscpal_dma_poll: waited %d\n", POLL_TIMO - tmo);
H A Dcissreg.h427 u_int16_t tmo; /* 16: timeout in seconds */ member in struct:ciss_cmd
/netbsd-6-1-5-RELEASE/sbin/fdisk/
H A Dfdisk.c667 int tmo; local
672 tmo = le16toh(mboot.mbr_bootsel.mbrbs_timeo);
673 if (tmo == 0xffff)
677 (10 * tmo + 9) / 182);
1485 int tmo; local
1505 tmo = le16toh(mbs->mbrbs_timeo);
1506 tmo = tmo == 0xffff ? -1 : (10 * tmo + 9) / 182;
1507 tmo
2566 unsigned int tmo; local
[all...]
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/
H A Drun.c382 struct timeval tmo; local
493 tmo.tv_sec = 2;
494 tmo.tv_usec = 0;
495 i = select(FD_SETSIZE, &read_fd_set, NULL, NULL, &tmo);
/netbsd-6-1-5-RELEASE/sys/dev/scsipi/
H A Dch.c1114 int tmo; local
1135 tmo = sc->sc_counts[CHET_MT] +
1139 tmo *= 5 * 60 * 1000;
1140 tmo += (10 * 60 * 1000);
1143 CHRETRIES, tmo, NULL, XS_CTL_IGNORE_ILLEGAL_REQUEST));
H A Dst.c1576 int tmo; local
1588 tmo = ST_SPC_TIME;
1590 tmo = ST_IO_TIME;
1601 ST_RETRIES, tmo, NULL, flags);
/netbsd-6-1-5-RELEASE/sys/arch/sparc/dev/
H A Dsw.c591 int tmo, csr_mask, csr; local
600 tmo = 50000; /* X100 = 5 sec. */
605 if (--tmo <= 0) {
/netbsd-6-1-5-RELEASE/sys/dev/spi/
H A Dspiflash.c749 spiflash_wait(spiflash_handle_t sc, int tmo) argument
765 if (tmo)
766 tsleep(&sr, PWAIT, "spiflash_wait", tmo);
/netbsd-6-1-5-RELEASE/sys/dev/vme/
H A Dsi.c564 int tmo, csr_mask, csr; local
573 tmo = 50000; /* X100 = 5 sec. */
578 if (--tmo <= 0) {
/netbsd-6-1-5-RELEASE/usr.sbin/mrouted/
H A Ddefs.h211 u_int32_t group, int tmo);
H A Dvif.c498 accept_membership_query(u_int32_t src, u_int32_t dst, u_int32_t group, int tmo) argument
/netbsd-6-1-5-RELEASE/usr.sbin/mrinfo/
H A Dmrinfo.c594 int tmo)
593 accept_membership_query(u_int32_t src, u_int32_t dst, u_int32_t group, int tmo) argument
/netbsd-6-1-5-RELEASE/sys/arch/x86/acpi/
H A Dacpi_cpu_md.c950 uint32_t vid, uint32_t cnt, uint32_t tmo)
960 DELAY(tmo);
949 acpicpu_md_pstate_fidvid_write(uint32_t fid, uint32_t vid, uint32_t cnt, uint32_t tmo) argument
/netbsd-6-1-5-RELEASE/usr.sbin/map-mbone/
H A Dmapper.c969 int tmo)
968 accept_membership_query(u_int32_t src, u_int32_t dst, u_int32_t group, int tmo) argument
/netbsd-6-1-5-RELEASE/usr.sbin/mtrace/
H A Dmtrace.c1730 int tmo)
1729 accept_membership_query(u_int32_t src, u_int32_t dst, u_int32_t group, int tmo) argument

Completed in 353 milliseconds