| /f-stack/dpdk/drivers/net/enic/base/ |
| H A D | vnic_enet.h | 10 #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 D | mpcore_timer.c | 499 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 D | generic_timer.c | 112 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 D | platform.c | 209 platform_delay(int usec, void *arg __unused) in platform_delay() argument 213 for (; usec > 0; usec--) in platform_delay()
|
| /f-stack/lib/ |
| H A D | ff_glue.c | 419 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 D | ff_dpdk_pcap.c | 47 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 D | kern_clock.c | 535 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 D | timer.c | 131 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 D | jz4780_timer.c | 272 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 D | lp872x.txt | 14 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 D | test.c | 41 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 D | xattrtest.c | 320 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 D | ncsw_ext.h | 153 #define USEC_TO_CLK(usec,clk) ((usec) * (clk)) argument
|
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_systimer.c | 293 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 D | sp804.c | 321 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 D | omap3-devkit8000-lcd-common.dtsi | 69 ti,settle-delay-usec = /bits/ 16 <150>;
|
| H A D | imx7d-pico-hobbit.dts | 79 ti,settle-delay-usec = /bits/ 16 <150>;
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-access.h | 202 CVMX_FUNCTION void cvmx_wait_usec(uint64_t usec);
|
| H A D | cvmx-access-native.h | 648 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 D | vchi_bsd.h | 372 #define udelay(usec) DELAY(usec) argument
|
| /f-stack/freebsd/arm/ti/am335x/ |
| H A D | am335x_dmtimer.c | 388 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 D | imx_gpt.c | 404 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 D | imx_epit.c | 168 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 D | intset.c | 306 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 D | a10_timer.c | 449 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()
|