Searched refs:usec (Results 26 - 50 of 180) sorted by relevance

12345678

/freebsd-current/sys/dev/rtwn/pci/
H A Drtwn_pci_reg.c111 rtwn_pci_delay(struct rtwn_softc *sc, int usec) argument
113 if (usec < 1000)
114 DELAY(usec);
117 msecs_to_ticks(usec / 1000));
/freebsd-current/sys/arm/arm/
H A Dplatform.c207 platform_delay(int usec, void *arg __unused) argument
211 for (; usec > 0; usec--)
H A Dmpcore_timer.c494 arm_tmr_delay(int usec, void *arg) argument
510 if (usec >= (0x80000000U / counts_per_usec))
513 counts = usec * counts_per_usec;
526 * DELAY - Delay for at least usec microseconds.
527 * @usec: number of microseconds to delay by
537 DELAY(int usec) argument
545 for (; usec > 0; usec--)
552 arm_tmr_delay(usec, sc);
/freebsd-current/contrib/libpcap/pcap/
H A Dnflog.h70 uint64_t usec; member in struct:nflog_timestamp
/freebsd-current/crypto/heimdal/lib/krb5/
H A Drd_safe.c161 safe.safe_body.usec == NULL ||
206 if(safe.safe_body.usec)
207 outdata->usec = *safe.safe_body.usec;
H A Drd_priv.c138 part.usec == NULL ||
172 if(part.usec)
173 outdata->usec = *part.usec;
H A Dget_for_creds.c289 int32_t usec; local
291 krb5_us_timeofday (context, &sec, &usec);
300 ALLOC(enc_krb_cred_part.usec, 1);
301 if (enc_krb_cred_part.usec == NULL) {
306 *enc_krb_cred_part.usec = usec;
309 enc_krb_cred_part.usec = NULL;
/freebsd-current/sys/dev/rtwn/usb/
H A Drtwn_usb_reg.c165 rtwn_usb_delay(struct rtwn_softc *sc, int usec) argument
169 if (usec < 1000)
170 DELAY(usec);
172 usb_pause_mtx(&sc->sc_mtx, msecs_to_ticks(usec / 1000));
/freebsd-current/contrib/ntp/sntp/libevent/
H A Devutil_time.c147 __int64 usec; local
151 usec = tv->tv_sec * 1000000LL + tv->tv_usec;
152 if (!usec)
155 li.QuadPart = -10LL * usec;
172 /* Some systems don't like to usleep more than 999999 usec */
407 ev_uint64_t abstime, usec; local
416 usec = (abstime * base->mach_timebase_units.numer)
418 tp->tv_sec = usec / 1000000;
419 tp->tv_usec = usec % 1000000;
/freebsd-current/lib/libipsec/
H A Dpolicy_token.l77 usec {dot}{digit}{1,6}
/freebsd-current/usr.sbin/rrenumd/
H A Dlexer.l78 usec {dot}{digit}{1,6}
/freebsd-current/contrib/libevent/
H A Devutil_time.c147 __int64 usec; local
151 usec = tv->tv_sec * 1000000LL + tv->tv_usec;
152 if (!usec)
155 li.QuadPart = -10LL * usec;
172 /* Some systems don't like to usleep more than 999999 usec */
407 ev_uint64_t abstime, usec; local
416 usec = (abstime * base->mach_timebase_units.numer)
418 tp->tv_sec = usec / 1000000;
419 tp->tv_usec = usec % 1000000;
/freebsd-current/contrib/wpa/src/utils/
H A Dos_win32.c17 void os_sleep(os_time_t sec, os_time_t usec) argument
21 if (usec)
22 Sleep(usec / 1000);
45 t->usec = (os_time_t) (tt % 1000000);
57 t->usec = now.usec;
H A Dos_internal.c26 void os_sleep(os_time_t sec, os_time_t usec) argument
29 const struct timespec req = { sec, usec * 1000 };
35 if (usec)
36 usleep(usec);
47 t->usec = tv.tv_usec;
58 t->usec = tv.tv_usec;
H A Deloop_win.c263 timeout->time.usec += usecs;
264 while (timeout->time.usec >= 1000000) {
266 timeout->time.usec -= 1000000;
323 remaining->sec = remaining->usec = 0;
369 requested.usec = req_usecs;
376 requested.usec,
401 requested.usec = req_usecs;
408 requested.usec,
543 tv.sec = tv.usec = 0;
563 timeout_val = tv.sec * 1000 + tv.usec / 100
[all...]
/freebsd-current/usr.sbin/watchdogd/
H A Dwatchdogd.c587 register long sec, usec; local
622 usec = tv->tv_usec;
623 if (usec < 0) {
625 usec += 1000000;
629 if (usec > 0) {
631 usec -= 1000000;
633 printf("tvotohz: negative time difference %ld sec %ld usec\n",
634 sec, usec);
638 ticks = (sec * 1000000 + (unsigned long)usec + (tick - 1))
642 + ((unsigned long)usec
[all...]
/freebsd-current/contrib/ntp/include/
H A Dtimevalops.h28 * Convert usec to a time stamp fraction.
56 * TV_SHIFT is used to turn the table result into a usec value. To
85 long usec; \
87 usec = (tv)->tv_usec; \
89 usec = -usec; \
93 TVUTOTSF(usec, (ts)->l_uf); \
/freebsd-current/tools/tools/netmap/
H A Dlb.c230 uint64_t pps = 0, dps = 0, bps = 0, dbps = 0, usec = 0; local
242 usec = (cur.t.tv_sec - prev.t.tv_sec) * 1000000 +
260 if (usec) {
265 pps = (x.pkts*1000000 + usec/2) / usec;
266 dps = (x.drop*1000000 + usec/2) / usec;
267 bps = ((x.bytes*1000000 + usec/2) / usec) * 8;
268 dbps = ((x.drop_bytes*1000000 + usec/
[all...]
/freebsd-current/sys/riscv/riscv/
H A Dtimer.c276 DELAY(int usec) argument
286 for (; usec > 0; usec--)
306 if (usec >= (0x80000000U / counts_per_usec))
309 counts = usec * counts_per_usec;
/freebsd-current/contrib/ntp/sntp/libevent/test/
H A Dbench_httpclient.c182 long long usec; local
207 usec = total_time.tv_sec * (long long)1000000 + total_time.tv_usec;
232 (double)(usec/1000) / total_n_handled,
/freebsd-current/contrib/libevent/test/
H A Dbench_httpclient.c182 long long usec; local
207 usec = total_time.tv_sec * (long long)1000000 + total_time.tv_usec;
232 (double)(usec/1000) / total_n_handled,
/freebsd-current/tools/test/stress2/misc/
H A Dtemp.sh123 uint64_t usec;
153 usec = ((uint64_t)1000000 *
161 (double)usec / 1000000);
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dscan.h37 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec);
39 int sec, int usec);
/freebsd-current/sys/arm/qualcomm/
H A Dqcom_cpu_kpssv2.c60 loop_delay(int usec) argument
62 int lcount = usec * 100000;
/freebsd-current/sys/arm/mv/
H A Dtimer.c128 static void mv_delay(int usec, void* arg);
306 mv_delay(int usec, void* arg) argument
312 nticks = ((timer_softc->config->clock_src / 1000000 + 1) * usec);
327 DELAY(int usec) argument
332 for (; usec > 0; usec--)
337 mv_delay(usec, NULL);

Completed in 154 milliseconds

12345678