Home
last modified time | relevance | path

Searched refs:usecs (Results 1 – 25 of 62) sorted by relevance

123

/freebsd-13.1/sys/geom/eli/
H A Dpkcs5v2.c102 int usecs; in pkcs5v2_probe() local
109 usecs = end.ru_utime.tv_sec - start.ru_utime.tv_sec; in pkcs5v2_probe()
110 usecs *= 1000000; in pkcs5v2_probe()
111 usecs += end.ru_utime.tv_usec - start.ru_utime.tv_usec; in pkcs5v2_probe()
112 return (usecs); in pkcs5v2_probe()
119 pkcs5v2_calculate(int usecs) in pkcs5v2_calculate() argument
128 return (((intmax_t)iterations * (intmax_t)usecs) / v); in pkcs5v2_calculate()
H A Dpkcs5v2.h36 int pkcs5v2_calculate(int usecs);
/freebsd-13.1/tools/tools/kttcp/
H A Dkttcp.c116 unsigned long long ull, usecs, bytespersec, bitspersec, xmitsize; in main() local
263 usecs = (unsigned long long)kio.kio_elapsed.tv_sec * 1000000; in main()
264 usecs += kio.kio_elapsed.tv_usec; in main()
266 bytespersec = kio.kio_bytesdone * 1000000LL / usecs; in main()
295 printf(" %lld.%lldreal", usecs / 1000000, (usecs % 1000000) / 10000); in main()
296 printf(" %lld%%", ull * 100 / usecs); in main()
/freebsd-13.1/tests/sys/net/
H A Drandsleep.c43 useconds_t max_usecs, usecs; in main() local
59 usecs = (useconds_t)((double)max_usecs * frac); in main()
60 usleep(usecs); in main()
/freebsd-13.1/lib/libc/gen/
H A Dualarm.c47 ualarm(useconds_t usecs, useconds_t reload) in ualarm() argument
54 new.it_value.tv_usec = usecs % USPS; in ualarm()
55 new.it_value.tv_sec = usecs / USPS; in ualarm()
/freebsd-13.1/stand/mips/beri/loader/
H A Dmain.c229 delay(int usecs) in delay() argument
236 while (usecs > 0) { in delay()
239 while (usecs > 0 && delta >= 100) { in delay()
240 usecs--; in delay()
/freebsd-13.1/stand/efi/libefi/
H A Ddelay.c34 delay(int usecs) in delay() argument
36 BS->Stall(usecs); in delay()
/freebsd-13.1/stand/uboot/lib/
H A Dtime.c61 delay(int usecs) in delay() argument
64 ub_udelay(usecs); in delay()
/freebsd-13.1/stand/libofw/
H A Dofw_time.c53 delay(int usecs) in delay() argument
57 msecs = usecs / 1000; in delay()
/freebsd-13.1/sys/mips/nlm/
H A Dtick.c200 uint32_t cur, last, delta, usecs; in DELAY() local
208 delta = usecs = 0; in DELAY()
210 while (n > usecs) { in DELAY()
222 usecs += delta / cycles_per_usec; in DELAY()
/freebsd-13.1/contrib/libbegemot/
H A Drpoll.c162 uint64_t usecs; /* microsecond value of the timer */ member
370 poll_start_utimer(unsigned long long usecs, int repeat, timer_f func, void *arg) in poll_start_utimer() argument
391 p->usecs = usecs; in poll_start_utimer()
395 p->when = GETUSECS() + usecs; in poll_start_utimer()
403 usecs, repeat, (void *)func, (void *)arg, p - tims); in poll_start_utimer()
625 tims[tfd[i]].when = now + tims[tfd[i]].usecs; in poll_dispatch()
H A Drpoll.h46 int poll_start_utimer(unsigned long long usecs, int repeat, timer_f func,
/freebsd-13.1/sys/mips/mips/
H A Dtick.c199 uint32_t cur, last, delta, usecs; in DELAY() local
207 delta = usecs = 0; in DELAY()
209 while (n > usecs) { in DELAY()
221 usecs += delta / cycles_per_usec; in DELAY()
/freebsd-13.1/contrib/ofed/opensm/opensm/
H A Dosm_log.c127 uint32_t usecs; in osm_log() local
187 usecs = time_usecs % 1000000; in osm_log()
197 result.tm_sec, usecs, pid, verbosity, buffer); in osm_log()
239 uint32_t usecs; in osm_log_v2() local
303 usecs = time_usecs % 1000000; in osm_log_v2()
313 result.tm_sec, usecs, pid, verbosity, buffer); in osm_log_v2()
/freebsd-13.1/sys/compat/ndis/
H A Dsubr_hal.c129 KeStallExecutionProcessor(usecs) in KeStallExecutionProcessor() argument
130 uint32_t usecs; in KeStallExecutionProcessor()
132 DELAY(usecs);
/freebsd-13.1/sys/dev/twa/
H A Dtw_osl_inline.h251 #define tw_osl_delay(usecs) DELAY(usecs) argument
/freebsd-13.1/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dads7846.txt28 ti,vref-delay-usecs vref supply delay in usecs, 0 for
41 ti,penirq-recheck-delay-usecs If set to non-zero, after samples are
/freebsd-13.1/sys/contrib/device-tree/Bindings/mfd/
H A Dcros-ec.txt26 clock rate. This property specifies the delay, in usecs, between the
32 specifies the delay, in usecs, introduced between transactions to account
H A Dgoogle,cros-ec.yaml35 This property specifies the delay in usecs between the
44 This property specifies the delay in usecs between messages.
/freebsd-13.1/contrib/wpa/src/ap/
H A Dgas_query_ap.c349 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local
352 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay()
354 " in %u secs %u usecs", MAC2STR(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay()
356 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
/freebsd-13.1/contrib/wpa/src/utils/
H A Deloop.h179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
/freebsd-13.1/sys/contrib/device-tree/Bindings/mtd/
H A Dorion-nand.txt13 registers in usecs
/freebsd-13.1/contrib/wpa/wpa_supplicant/
H A Dgas_query.c386 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local
394 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay()
396 " in %u secs %u usecs", MAC2STR(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay()
398 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
/freebsd-13.1/sys/contrib/ncsw/inc/
H A Dxx_ext.h505 void XX_UDelay(uint32_t usecs);
/freebsd-13.1/stand/powerpc/kboot/
H A Dmain.c305 delay(int usecs) in delay() argument
314 } while (t < ti + usecs); in delay()

123