HomeSort by: relevance | last modified time | path
    Searched refs:usec (Results 1 - 25 of 50) sorted by relevancy

1 2

  /src/sys/external/bsd/drm2/include/linux/
delay.h 44 udelay(unsigned int usec)
46 DELAY(usec);
jiffies.h 87 usecs_to_jiffies(unsigned int usec)
90 .tv_sec = usec / 1000000,
91 .tv_usec = usec % 1000000,
ktime.h 83 ktime_add_us(ktime_t kt, int64_t usec)
85 return ktime_add_ns(kt, 1000 * usec);
  /src/sys/arch/arm/at91/
at91st.c 105 /* convert specified number of ticks to usec, and round up */
120 /* it will be used when usec < USEC_PER_TICK */
121 static uint32_t usec_to_timer_count(uint32_t usec)
125 /* convert specified number of usec to timer ticks, and round up */
126 result = (AT91_SCLK * usec) / 1000000;
128 if ((result * 1000000) != (usec * AT91_SCLK))
250 static void udelay(unsigned int usec);
307 /* Refine the usec field using current timer count */
350 static void udelay(unsigned int usec)
355 usec = (usec * 1000 + AT91_SCLK - 1) / AT91_SCLK + 1
    [all...]
at91tctmr.c 116 /* it will be used when usec < USEC_PER_TICK */
118 usec_to_timer_count(uint32_t usec)
122 /* convert specified number of usec to timer ticks, and round up */
123 result = (AT91_SCLK * usec) / 1000000;
125 if ((result * 1000000) != (usec * AT91_SCLK))
271 static void udelay(unsigned int usec);
297 static void udelay(unsigned int usec)
304 if (usec > 0) {
332 if (usec <= diff)
336 usec -= diff
    [all...]
  /src/lib/librpcsvc/
spray.x 59 unsigned int usec;
  /src/tests/include/sys/
t_types.c 50 useconds_t usec; local in function:ATF_TC_BODY
72 usec = 1000000;
73 ATF_REQUIRE(usec > 0);
  /src/sys/arch/amiga/stand/bootblock/boot/
amigaio.h 56 usec; member in struct:TimerIO
  /src/sys/dev/nor/
cfi_0002.c 102 * cfi_0002_time_write_nbyte - maximum usec delay waiting for write buffer
109 u_long usec = 1UL << shft; local in function:cfi_0002_time_write_nbyte
110 return usec;
114 * cfi_0002_time_erase_blk - maximum usec delay waiting for erase block
121 u_long usec = 1000UL << shft; local in function:cfi_0002_time_erase_blk
122 return usec;
126 * cfi_0002_time_erase_all - maximum usec delay waiting for erase chip
133 u_long usec = 1000UL << shft; local in function:cfi_0002_time_erase_all
134 return usec;
138 * cfi_0002_time_dflt - maximum usec delay to use waiting for read
    [all...]
  /src/sys/kern/
subr_time_arith.c 102 long sec, usec; local in function:tvtohz
125 usec = tv->tv_usec;
127 KASSERT(usec >= 0);
128 KASSERT(usec < 1000000);
136 if (sec < 0 || (sec == 0 && usec == 0)) {
144 ticks = (((sec * 1000000) + (unsigned long)usec + (tick - 1))
148 (((unsigned long)usec + (tick - 1)) / tick) + 1;
  /src/sys/arch/alpha/alpha/
qemu.c 76 qemu_delay(unsigned long usec)
81 /* convert request from usec to nsec */
82 const unsigned long nsec = usec * 1000;
83 KASSERT(nsec > usec);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bus/
nouveau_nvkm_subdev_bus_hwsq.c 174 u8 shift = 0, usec = nsec / 1000; local in function:nvkm_hwsq_nsec
175 while (usec & ~3) {
176 usec >>= 2;
181 hwsq_cmd(hwsq, 1, (u8[]){ 0x00 | (shift << 2) | usec });
  /src/sys/arch/virt68k/virt68k/
clock.c 102 * Statistics clock interval and variance, in usec. Variance must be a
145 delay(unsigned int usec)
148 (*clock_delay_func)(clock_delay_dev, usec);
223 aprint_normal("Initialzing %s: freq=%u Hz, interval=%u usec\n",
  /src/sys/dev/goldfish/
gfrtc.c 115 gfrtc_delay(device_t dev, unsigned int usec)
124 min_ns = (uint64_t)usec * 1000;
  /src/sys/arch/shark/isa/
clock.c 227 u_short isa_timer_lsb_table[256]; /* timer->usec conversion for LSB */
426 /* it can take a long time (1 usec or longer) just for
444 /* a Musec = 2^20 usec */
446 usec = n & ((1 << 20) - 1); local in function:delay
449 (usec * (TIMER_MUSECFREQ >> 20)) +
450 ((usec * ((TIMER_MUSECFREQ & ((1 <<20) - 1)) >>10)) >>10) +
451 ((usec * (TIMER_MUSECFREQ & ((1 << 10) - 1))) >> 20);
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
imx6qdl-skov-cpu-revc.dtsi 25 ti,settle-delay-usec = /bits/ 16 <15>;
omap3-devkit8000-lcd-common.dtsi 69 ti,settle-delay-usec = /bits/ 16 <150>;
  /src/sys/arch/arm/ixp12x0/
ixp12x0_clk.c 313 int usec; local in function:delay
321 usec = usecs % 10000;
324 + (TIMER_FREQUENCY / 100) * usec / 10000;
  /src/sys/arch/hpcmips/vr/
rtc.c 282 uint64_t sec, usec; local in function:vrrtc_get
297 usec = (timel % ETIME_L_HZ);
298 usec *= 1000000;
299 usec /= ETIME_L_HZ;
300 tvp->tv_usec = usec;
  /src/sys/arch/arm/sa11x0/
sa11x0_ost.c 311 int csec, usec; local in function:delay
314 usec = usecs % 10000;
317 + (TIMER_FREQUENCY / 100) * usec / 10000;
  /src/libexec/rpc.sprayd/
sprayd.c 145 scum.clock.usec = get.tv_usec;
  /src/usr.sbin/spray/
spray.c 171 (host_stats.clock.usec / 1000000.0);
  /src/sys/dev/ic/
aic79xx_osm.h 194 ahd_timer_reset(ahd_timer_t *timer, u_int usec, ahd_callback_t *func, void *arg)
196 callout_reset(timer, (usec * hz)/1000000, func, arg);
200 ahd_scb_timer_reset(struct scb *scb, u_int usec)
204 (usec * hz)/1000000, ahd_timeout, scb);
aic7xxx_osm.h 211 ahc_timer_reset(ahc_timer_t *timer, u_int usec, ahc_callback_t *func, void *arg)
213 callout_reset(timer, (usec * hz)/1000000, func, arg);
217 ahc_scb_timer_reset(struct scb *scb, u_int usec)
221 (usec * hz)/1000000, ahc_timeout, scb);
  /src/sys/external/bsd/vchiq/dist/interface/compat/
vchi_bsd.h 218 #define udelay(usec) DELAY(usec)

Completed in 21 milliseconds

1 2