Home
last modified time | relevance | path

Searched refs:usec (Results 1 – 25 of 44) sorted by relevance

12

/f-stack/dpdk/drivers/net/enic/base/
H A Dvnic_enet.h10 #define INTR_COALESCE_USEC_TO_HW(usec) ((usec) * 2 / 3) argument
11 #define INTR_COALESCE_HW_TO_USEC(usec) ((usec) * 3 / 2) argument
/f-stack/freebsd/arm/arm/
H A Dmpcore_timer.c499 arm_tmr_delay(int usec, void *arg) in arm_tmr_delay() argument
515 if (usec >= (0x80000000U / counts_per_usec)) in arm_tmr_delay()
518 counts = usec * counts_per_usec; in arm_tmr_delay()
542 DELAY(int usec) in DELAY() argument
550 for (; usec > 0; usec--) in DELAY()
557 arm_tmr_delay(usec, sc); in DELAY()
H A Dgeneric_timer.c112 static void arm_tmr_do_delay(int usec, void *);
536 arm_tmr_do_delay(int usec, void *arg) in arm_tmr_do_delay() argument
551 if (usec >= (0x80000000U / counts_per_usec)) in arm_tmr_do_delay()
554 counts = usec * counts_per_usec; in arm_tmr_do_delay()
567 DELAY(int usec) in DELAY() argument
577 for (; usec > 0; usec--) in DELAY()
585 arm_tmr_do_delay(usec, arm_tmr_sc); in DELAY()
H A Dplatform.c209 platform_delay(int usec, void *arg __unused) in platform_delay() argument
213 for (; usec > 0; usec--) in platform_delay()
/f-stack/lib/
H A Dff_glue.c419 if (itp->it_value.tv_usec < usec) { in itimerdecr()
428 itp->it_value.tv_usec -= usec; in itimerdecr()
429 usec = 0; in itimerdecr()
436 itp->it_value.tv_usec -= usec; in itimerdecr()
551 register long sec, usec; local
574 usec = tv->tv_usec;
575 if (usec < 0) {
577 usec += 1000000;
581 if (usec > 0) {
583 usec -= 1000000;
[all …]
H A Dff_dpdk_pcap.c47 uint32_t usec; /* struct timeval time_t, in linux64: 8*2=16, in cap: 4 */ member
100 pcap_hdr.usec = ts.tv_usec; in ff_dump_packets()
/f-stack/freebsd/kern/
H A Dkern_clock.c535 long sec, usec; in tvtohz() local
558 usec = tv->tv_usec; in tvtohz()
559 if (usec < 0) { in tvtohz()
561 usec += 1000000; in tvtohz()
565 if (usec > 0) { in tvtohz()
567 usec -= 1000000; in tvtohz()
570 sec, usec); in tvtohz()
574 ticks = howmany(sec * 1000000 + (unsigned long)usec, tick) + 1; in tvtohz()
577 + howmany((unsigned long)usec, tick) + 1; in tvtohz()
/f-stack/freebsd/arm/mv/
H A Dtimer.c131 static void mv_delay(int usec, void* arg);
311 mv_delay(int usec, void* arg) in mv_delay() argument
317 nticks = ((timer_softc->config->clock_src / 1000000 + 1) * usec); in mv_delay()
332 DELAY(int usec) in DELAY() argument
337 for (; usec > 0; usec--) in DELAY()
342 mv_delay(usec, NULL); in DELAY()
/f-stack/freebsd/mips/ingenic/
H A Djz4780_timer.c272 DELAY(int usec) in DELAY() argument
279 for (; usec > 0; usec--) in DELAY()
297 remaining = usec * ((jz4780_timer_sc->tc.tc_frequency + 999999) / in DELAY()
/f-stack/freebsd/contrib/device-tree/Bindings/regulator/
H A Dlp872x.txt14 bit[0]: time step unit(usec). 1 = 25, 0 = 50
17 bit[7:6]: time step unit(usec). 00 = 32, 01 = 64, 10 = 128, 11 = 256
49 /* external DVS pin used, timestep is 25usec */
101 /* Enable BUCK1,2, no DVS, normal LDO mode, timestep is 256usec */
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dtest.c41 static long long usec(void) { in usec() function
597 t1 = usec(); in test_throughput()
602 t2 = usec(); in test_throughput()
608 t1 = usec(); in test_throughput()
614 t2 = usec(); in test_throughput()
623 t1 = usec(); in test_throughput()
628 t2 = usec(); in test_throughput()
636 t1 = usec(); in test_throughput()
642 t2 = usec(); in test_throughput()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/
H A Dxattrtest.c320 timeval_normalize(struct timeval *tv, time_t sec, suseconds_t usec) in timeval_normalize() argument
322 while (usec >= USEC_PER_SEC) { in timeval_normalize()
323 usec -= USEC_PER_SEC; in timeval_normalize()
327 while (usec < 0) { in timeval_normalize()
328 usec += USEC_PER_SEC; in timeval_normalize()
333 tv->tv_usec = usec; in timeval_normalize()
/f-stack/freebsd/contrib/ncsw/inc/
H A Dncsw_ext.h153 #define USEC_TO_CLK(usec,clk) ((usec) * (clk)) argument
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dbcm2835_systimer.c293 bcm_systimer_delay(int usec, void *arg) in bcm_systimer_delay() argument
302 counts = usec * (bcm_systimer_tc.tc_frequency / 1000000) + 1; in bcm_systimer_delay()
/f-stack/freebsd/arm/versatile/
H A Dsp804.c321 sp804_timer_delay(int usec, void *arg) in sp804_timer_delay() argument
328 counts = usec * ((sc->tc.tc_frequency / 1000000) + 1); in sp804_timer_delay()
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Domap3-devkit8000-lcd-common.dtsi69 ti,settle-delay-usec = /bits/ 16 <150>;
H A Dimx7d-pico-hobbit.dts79 ti,settle-delay-usec = /bits/ 16 <150>;
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-access.h202 CVMX_FUNCTION void cvmx_wait_usec(uint64_t usec);
H A Dcvmx-access-native.h648 static inline void cvmx_wait_usec(uint64_t usec) in cvmx_wait_usec() argument
650 uint64_t done = cvmx_get_cycle() + usec * cvmx_clock_get_rate(CVMX_CLOCK_CORE) / 1000000; in cvmx_wait_usec()
/f-stack/freebsd/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h372 #define udelay(usec) DELAY(usec) argument
/f-stack/freebsd/arm/ti/am335x/
H A Dam335x_dmtimer.c388 am335x_dmtimer_delay(int usec, void *arg) in am335x_dmtimer_delay() argument
395 counts = (usec + 1) * (sc->sysclk_freq / 1000000); in am335x_dmtimer_delay()
/f-stack/freebsd/arm/freescale/imx/
H A Dimx_gpt.c404 imx_gpt_do_delay(int usec, void *arg) in imx_gpt_do_delay() argument
417 ticks = 1 + ((uint64_t)usec * sc->clkfreq) / 1000000; in imx_gpt_do_delay()
H A Dimx_epit.c168 epit_do_delay(int usec, void *arg) in epit_do_delay() argument
181 ticks = 1 + ((uint64_t)usec * sc->clkfreq) / 1000000; in epit_do_delay()
/f-stack/app/redis-5.0.5/src/
H A Dintset.c306 static long long usec(void) { in usec() function
468 start = usec(); in intsetTest()
471 num,size,usec()-start); in intsetTest()
/f-stack/freebsd/arm/allwinner/
H A Da10_timer.c449 a10_timer_delay(int usec, void *arg) in a10_timer_delay() argument
455 end = now + (sc->timer0_freq / 1000000) * (usec + 1); in a10_timer_delay()

12