Searched refs:now (Results 251 - 275 of 672) sorted by path

<<11121314151617181920>>

/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300.h1527 extern void ar9300_set_coverage_class(struct ath_hal *ah, u_int8_t coverageclass, int now);
H A Dar9300_misc.c514 ar9300_set_coverage_class(struct ath_hal *ah, u_int8_t coverageclass, int now) argument
/freebsd-11-stable/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.c232 unsigned long start, now; local
240 now = jiffies;
241 if (timeout < (now - start)) {
246 timeout -= (now - start);
247 start = now;
/freebsd-11-stable/sys/dev/acpica/
H A Dacpi_hpet.c209 uint32_t fdiv, now; local
226 now = bus_read_4(sc->mem_res, HPET_MAIN_COUNTER);
228 t->next = now + fdiv;
244 now = bus_read_4(sc->mem_res, HPET_MAIN_COUNTER);
245 if ((int32_t)(now - t->next + HPET_MIN_CYCLES) >= 0) {
272 uint32_t now; local
301 now = bus_read_4(sc->mem_res, HPET_MAIN_COUNTER);
302 if ((int32_t)((now + t->div / 2) - t->next) > 0)
303 t->next = now + t->div / 2;
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_misc.c551 ar5210SetCoverageClass(struct ath_hal *ah, uint8_t coverageclass, int now) argument
H A Dar5210_recv.c219 uint32_t now, rstamp; local
237 now = (OS_REG_READ(ah, AR_TSF_L32) >> 10) & 0xffff;
238 if ((now & 0x1fff) < rstamp)
239 rstamp |= (now - 0x2000) & 0xffff;
241 rstamp |= now;
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_misc.c553 ar5211SetCoverageClass(struct ath_hal *ah, uint8_t coverageclass, int now) argument
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_misc.c587 ar5212SetCoverageClass(struct ath_hal *ah, uint8_t coverageclass, int now) argument
594 if (now) {
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_misc.c206 ar5416SetCoverageClass(struct ath_hal *ah, uint8_t coverageclass, int now) argument
209 ar5212SetCoverageClass(ah, coverageclass, now);
575 /* Only support disabling RIFS delay for now */
/freebsd-11-stable/sys/dev/bwn/
H A Dif_bwn_phy_g.c750 unsigned long expire, now; local
759 BWN_GETTIME(now);
761 expire = now - BWN_LO_PWRVEC_EXPIRE;
769 expire = now - BWN_LO_CALIB_EXPIRE;
/freebsd-11-stable/sys/dev/cfi/
H A Dcfi_core.c496 sbintime_t now; local
506 now = sbinuptime();
537 now > start + sc->sc_typical_timeouts[cmd]) {
546 if (now > start + sc->sc_max_timeouts[cmd]) {
/freebsd-11-stable/sys/dev/dpt/
H A Ddpt.h1228 struct timeval now; local
1230 microtime(&now);
1231 return(now);
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_irq.c465 struct timeval now; local
467 microtime(&now);
468 vblwait->reply.tval_sec = now.tv_sec;
469 vblwait->reply.tval_usec = now.tv_usec;
H A Dvia_irq.c95 static unsigned time_diff(struct timeval *now, struct timeval *then) argument
97 return (now->tv_usec >= then->tv_usec) ?
98 now->tv_usec - then->tv_usec :
99 1000000 - (then->tv_usec - now->tv_usec);
353 struct timeval now; local
387 microtime(&now);
388 irqwait->reply.tval_sec = now.tv_sec;
389 irqwait->reply.tval_usec = now.tv_usec;
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_irq.c66 * This IOCTL is deprecated, and will now return EINVAL for any busid not equal
327 * For now, no driver we have use that.
695 struct timeval now; local
697 microtime(&now);
700 now = ktime_sub(now, ktime_get_monotonic_offset());
703 return now;
802 unsigned long seq, struct timeval *now)
806 e->event.tv_sec = now->tv_sec;
807 e->event.tv_usec = now
800 send_vblank_event(struct drm_device *dev, struct drm_pending_vblank_event *e, unsigned long seq, struct timeval *now) argument
828 struct timeval now; local
985 struct timeval now; local
1114 struct timeval now; local
1277 struct timeval now; local
1307 struct timeval now; local
[all...]
/freebsd-11-stable/sys/dev/drm2/i915/
H A Di915_gem.c269 /* drop reference from allocate - handle holds it now */
1064 struct timespec before, now, wait_time={1,0}; local
1129 getrawmonotonic(&now);
1136 timespecsub(&now, &before);
1137 timespecsub(timeout, &now);
3399 /* It should now be out of any other write domains, and we can update
3474 * Just set it to the CPU cache for now.
3622 /* It should now be out of any other write domains, and we can update
3693 /* It should now be out of any other write domains, and we can update
4156 /* Cancel the retire work handler, which should be idle now
[all...]
H A Dintel_pm.c2547 /* Clear the DBG now so we don't confuse earlier errors */
2873 unsigned long now = jiffies_to_msecs(jiffies), diff1; local
2878 diff1 = now - dev_priv->ips.last_time1;
2916 dev_priv->ips.last_time1 = now;
3097 struct timespec now, diff1; local
3104 nanotime(&now);
3105 diff1 = now;
3123 dev_priv->ips.last_time2 = now;
3338 * Tells the intel_ips driver that the i915 driver is now loaded, if
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_display.c277 struct timeval now; local
335 e->event.sequence = drm_vblank_count_and_time(rdev->ddev, crtc_id, &now);
336 e->event.tv_sec = now.tv_sec;
337 e->event.tv_usec = now.tv_usec;
1508 /* WARNING: Right now this can't happen but
/freebsd-11-stable/sys/dev/mpr/
H A Dmpr.c1046 struct timeval now; local
1078 getmicrotime(&now);
1079 time_in_msec = (now.tv_sec * 1000 + now.tv_usec/1000);
1498 /* XXX default to some debugging for now */
2012 * The locking is overly broad and simplistic, but easy to deal with for now.
2041 /* increment the replypostindex now, so that event handlers
2487 * now the PRP List pointer.
/freebsd-11-stable/sys/dev/mps/
H A Dmps.c1022 struct timeval now; local
1052 getmicrotime(&now);
1053 time_in_msec = (now.tv_sec * 1000 + now.tv_usec/1000);
1357 /* XXX default to some debugging for now */
1863 * The locking is overly broad and simplistic, but easy to deal with for now.
1892 /* increment the replypostindex now, so that event handlers
2315 * Add the item then a chain. Do the chain now,
/freebsd-11-stable/sys/dev/nge/
H A Dif_nge.c1701 struct nge_stats now, *stats, *nstats; local
1706 stats = &now;
/freebsd-11-stable/sys/dev/patm/
H A Dif_patm_tx.c1234 u_int now; /* current place in TST */ local
1243 now = patm_nor_read(sc, IDT_NOR_NOW) >> 2;
1244 if (now >= sc->tst_base[act] && now <= sc->tst_jump[act]) {
/freebsd-11-stable/sys/dev/sfxge/
H A Dsfxge_port.c62 clock_t now; local
76 now = ticks;
77 if ((unsigned int)(now - port->mac_stats.update_time) < min_ticks) {
82 port->mac_stats.update_time = now;
573 clock_t now; local
584 now = ticks;
585 if ((unsigned int)(now - port->phy_stats.update_time) < (unsigned int)hz) {
590 port->phy_stats.update_time = now;
827 /* Don't know the module type, but assume SR for now. */
831 /* Don't know the module type, but assume SR for now
[all...]
/freebsd-11-stable/sys/dev/sound/
H A Dclone.c403 struct timespec now; local
411 snd_timestamp(&now);
418 !SND_CLONE_EXPIRED(c, &now, &c->tsp))
432 SND_CLONE_EXPIRED(c, &now, &ce->tsp))) {
614 struct timespec now; local
642 snd_timestamp(&now);
768 ce->tsp = now;
776 c->tsp = now;
792 ce->tsp = now;
795 c->tsp = now;
[all...]
/freebsd-11-stable/sys/dev/sound/midi/
H A Dsequencer.c321 struct timeval now; local
326 getmicrotime(&now);
327 timevalsub(&now, &t->timerstop);
328 timevaladd(&t->timersub, &now);
348 struct timeval now, when; local
376 getmicrotime(&now);
377 timevalsub(&now, &t->timersub);
378 timevalsub(&when, &now);
406 struct timeval now; local
411 now
[all...]

Completed in 574 milliseconds

<<11121314151617181920>>