Searched refs:usecs (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-11-stable/stand/efi/libefi/
H A Ddelay.c34 delay(int usecs) argument
36 BS->Stall(usecs);
/freebsd-11-stable/tests/sys/net/
H A Drandsleep.c43 useconds_t max_usecs, usecs; local
59 usecs = (useconds_t)((double)max_usecs * frac);
60 usleep(usecs);
/freebsd-11-stable/stand/uboot/lib/
H A Dtime.c61 delay(int usecs) argument
64 ub_udelay(usecs);
/freebsd-11-stable/lib/libc/gen/
H A Dualarm.c42 * Generate a SIGALRM signal in ``usecs'' microseconds.
47 ualarm(useconds_t usecs, useconds_t reload) argument
54 new.it_value.tv_usec = usecs % USPS;
55 new.it_value.tv_sec = usecs / USPS;
/freebsd-11-stable/sys/geom/eli/
H A Dpkcs5v2.h34 int pkcs5v2_calculate(int usecs);
H A Dpkcs5v2.c100 int usecs; local
107 usecs = end.ru_utime.tv_sec - start.ru_utime.tv_sec;
108 usecs *= 1000000;
109 usecs += end.ru_utime.tv_usec - start.ru_utime.tv_usec;
110 return (usecs);
114 * Return the number of iterations which takes 'usecs' microseconds.
117 pkcs5v2_calculate(int usecs) argument
126 return (((intmax_t)iterations * (intmax_t)usecs) / v);
/freebsd-11-stable/stand/ofw/libofw/
H A Dofw_time.c53 delay(int usecs) argument
57 msecs = usecs / 1000;
/freebsd-11-stable/contrib/libbegemot/
H A Drpoll.h46 int poll_start_utimer(unsigned long long usecs, int repeat, timer_f func,
H A Drpoll.c173 uint64_t usecs; /* microsecond value of the timer */ member in struct:__anon1918
177 tval_t when; /* next time to trigger in usecs! */
381 poll_start_utimer(unsigned long long usecs, int repeat, timer_f func, void *arg) argument
402 p->usecs = usecs;
406 p->when = GETUSECS() + usecs;
414 usecs, repeat, (void *)func, (void *)arg, p - tims);
636 tims[tfd[i]].when = now + tims[tfd[i]].usecs;
/freebsd-11-stable/stand/mips/beri/loader/
H A Dmain.c224 * Delay - in usecs
229 delay(int usecs) argument
236 while (usecs > 0) {
239 while (usecs > 0 && delta >= 100) {
240 usecs--;
/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Dixp425_timer.c216 int usecs; local
228 usecs = (0x80000000U / COUNTS_PER_USEC) - 1;
230 usecs = n * COUNTS_PER_USEC;
235 while (usecs > 0) {
237 usecs -= (int)(last - first);
/freebsd-11-stable/tools/tools/kttcp/
H A Dkttcp.c116 unsigned long long ull, usecs, bytespersec, bitspersec, xmitsize; local
263 usecs = (unsigned long long)kio.kio_elapsed.tv_sec * 1000000;
264 usecs += kio.kio_elapsed.tv_usec;
266 bytespersec = kio.kio_bytesdone * 1000000LL / usecs;
295 printf(" %lld.%lldreal", usecs / 1000000, (usecs % 1000000) / 10000);
296 printf(" %lld%%", ull * 100 / usecs);
/freebsd-11-stable/sys/dev/twa/
H A Dtw_osl_inline.h272 * Input: usecs -- micro-seconds to spin
276 #define tw_osl_delay(usecs) DELAY(usecs)
/freebsd-11-stable/sys/mips/nlm/
H A Dtick.c197 uint32_t cur, last, delta, usecs; local
204 delta = usecs = 0;
206 while (n > usecs) {
218 usecs += delta / cycles_per_usec;
/freebsd-11-stable/sys/mips/rmi/
H A Dtick.c194 uint32_t cur, last, delta, usecs; local
201 delta = usecs = 0;
203 while (n > usecs) {
215 usecs += delta / cycles_per_usec;
/freebsd-11-stable/sys/arm/xscale/i8134x/
H A Di80321_timer.c429 uint32_t cur, last, delta, usecs; local
436 delta = usecs = 0;
438 while (n > usecs) {
450 usecs += delta / COUNTS_PER_USEC;
/freebsd-11-stable/contrib/wpa/src/utils/
H A Deloop.h170 * @usecs: Number of microseconds to the timeout
179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_log.c127 uint32_t usecs; local
187 usecs = time_usecs % 1000000;
197 result.tm_sec, usecs, pid, verbosity, buffer);
239 uint32_t usecs; local
303 usecs = time_usecs % 1000000;
313 result.tm_sec, usecs, pid, verbosity, buffer);
/freebsd-11-stable/sys/mips/mips/
H A Dtick.c196 uint32_t cur, last, delta, usecs; local
203 delta = usecs = 0;
205 while (n > usecs) {
217 usecs += delta / cycles_per_usec;
/freebsd-11-stable/sys/compat/ndis/
H A Dsubr_hal.c127 KeStallExecutionProcessor(usecs)
128 uint32_t usecs;
130 DELAY(usecs);
/freebsd-11-stable/stand/efi/include/
H A Defilib.h106 void delay(int usecs);
/freebsd-11-stable/sys/contrib/ncsw/inc/
H A Dxx_ext.h612 @Param[in] usecs - The requested delay time (in microseconds).
621 void XX_UDelay(uint32_t usecs);
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dgas_query_ap.c349 unsigned int secs, usecs; local
352 usecs = comeback_delay * 1024 - secs * 1000000;
354 " in %u secs %u usecs", MAC2STR(query->addr), secs, usecs);
356 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout,
/freebsd-11-stable/stand/powerpc/kboot/
H A Dmain.c307 delay(int usecs) argument
316 } while (t < ti + usecs);
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dgas_query.c395 unsigned int secs, usecs; local
403 usecs = comeback_delay * 1024 - secs * 1000000;
405 " in %u secs %u usecs", MAC2STR(query->addr), secs, usecs);
407 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout,

Completed in 3130 milliseconds

12