Searched refs:ticks (Results 76 - 100 of 204) sorted by relevance

123456789

/freebsd-11-stable/sys/dev/usb/net/
H A Dif_smsc.c337 start_ticks = (usb_ticks_t)ticks;
345 } while (((usb_ticks_t)(ticks - start_ticks)) < max_ticks);
392 start_ticks = (usb_ticks_t)ticks;
400 } while (((usb_ticks_t)(ticks - start_ticks)) < max_ticks);
1312 start_ticks = ticks;
1316 } while ((bmcr & BMCR_RESET) && ((ticks - start_ticks) < max_ticks));
1318 if (((usb_ticks_t)(ticks - start_ticks)) >= max_ticks) {
/freebsd-11-stable/sys/dev/liquidio/base/
H A Dlio_request_manager.c336 iq->last_db_time = ticks;
526 iq->last_db_time = ticks;
553 /* If ticks - last_db_time < db_timeout do nothing */
555 if (!lio_check_timeout(ticks, next_time))
558 iq->last_db_time = ticks;
721 sc->timeout = ticks + lio_ms_to_ticks(sc->wait_time);
/freebsd-11-stable/sys/dev/drm/
H A Dvia_dmablit.c354 } else if (blitq->is_active && (ticks >= blitq->end)) {
362 blitq->end = ticks + DRM_HZ;
371 blitq->end = ticks + DRM_HZ;
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_os_freebsd.h454 #define jiffies ticks
511 start_jiffies = ticks;
533 elapsed_jiffies = ticks - start_jiffies;
/freebsd-11-stable/sys/dev/cyapa/
H A Dcyapa.c254 "Minimum ticks before cursor position is changed");
258 "Wait N ticks before starting to scroll");
262 "Prevent cursor move on single finger for N ticks after scroll");
1186 last_reset = ticks;
1210 (unsigned)(ticks - last_reset) > TIME_TO_RESET)) {
1212 last_reset = ticks;
1518 sc->active_tick = ticks;
1522 } else if ((unsigned)(ticks - sc->active_tick) >= TIME_TO_IDLE) {
1523 sc->active_tick = ticks - TIME_TO_IDLE; /* prevent overflow */
/freebsd-11-stable/sys/dev/cfe/
H A Dcfe_api.c362 xiocb.plist.xiocb_time.ticks = 0;
366 return xiocb.plist.xiocb_time.ticks;
/freebsd-11-stable/sys/dev/ath/ath_rate/amrr/
H A Damrr.c184 ticks - amn->amn_ticks > amn->amn_interval) {
186 amn->amn_ticks = ticks;
/freebsd-11-stable/sys/dev/ath/ath_rate/onoe/
H A Donoe.c177 if (on->on_interval != 0 && ticks - on->on_ticks > on->on_interval) {
179 on->on_ticks = ticks;
/freebsd-11-stable/sys/ddb/
H A Ddb_ps.c420 delta = (u_int)ticks - (u_int)td->td_swvoltick;
425 delta = (u_int)ticks - (u_int)td->td_swinvoltick;
/freebsd-11-stable/usr.sbin/boot0cfg/
H A Dboot0cfg.c62 int ticks; member in struct:opt_offsets
76 #define OFF_TICKS (b0_ofs[b0_ver].ticks) /* clock ticks */
461 printf("version=%d.%d drive=0x%x mask=0x%x ticks=%u",
606 " [-o options] [-s slice] [-t ticks] disk");
/freebsd-11-stable/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c1314 ticks, __func__);
1318 ticks, __func__, (ret == 0)?
1334 ticks, __func__, sc->hs_frozen,
1361 ticks, reqp, ccb->ccb_h.timeout / 1000);
1377 ticks, reqp, ccb->ccb_h.timeout * (reqp->retries+1) / 1000,
2125 "waking up timer handler if any.\n", ticks);
2133 "stopping timer if any.\n", ticks);
2290 ticks, reqp->softc);
/freebsd-11-stable/sys/dev/hptrr/
H A Dhptrr_os_bsd.c230 return ticks * (1000000 / hz);
/freebsd-11-stable/sys/compat/ndis/
H A Dsubr_hal.c387 return ((uint64_t)ticks);
/freebsd-11-stable/sys/kern/
H A Dsubr_param.c111 "Number of clock ticks per second");
176 * Arrange for ticks to wrap 10 minutes after boot to help catch
179 ticks = INT_MAX - (hz * 10 * 60);
H A Dsched_ule.c96 u_int ts_slptime; /* Number of ticks we vol. slept */
97 u_int ts_runtime; /* Number of ticks we were running */
137 * SCHED_TICK_TARG: Number of hz ticks to average the cpu usage across.
138 * SCHED_TICK_MAX: Maximum number of ticks before scaling back.
140 * SCHED_TICK_HZ: Compute the number of hz ticks for a given ticks count.
141 * SCHED_TICK_TOTAL: Gives the amount of time we've been recording ticks.
153 * by the ratio of ticks to the tick total. NHALF priorities at the start
159 * PRI_TICKS: Compute a priority in PRI_RANGE from the ticks count and total.
193 #define SCHED_SLICE_DEFAULT_DIVISOR 10 /* ~94 ms, 12 stathz ticks
[all...]
H A Dsubr_taskqueue.c339 struct timeout_task *ttask, int ticks)
342 return (taskqueue_enqueue_timeout_sbt(queue, ttask, ticks * tick_sbt,
338 taskqueue_enqueue_timeout(struct taskqueue *queue, struct timeout_task *ttask, int ticks) argument
/freebsd-11-stable/sys/dev/extres/regulator/
H A Dregulator.c330 int ticks; local
334 ticks = (usec * hz + 999999) / 1000000;
336 if (cold || ticks < 2)
339 pause("REGULATOR", ticks);
/freebsd-11-stable/sys/sys/
H A Dkernel.h66 extern volatile int ticks;
H A Dsoundcard.h1466 #define SEQ_WAIT_TIME(ticks) _TIMER_EVENT(TMR_WAIT_ABS, ticks)
1467 #define SEQ_DELTA_TIME(ticks) _TIMER_EVENT(TMR_WAIT_REL, ticks)
/freebsd-11-stable/sys/net80211/
H A Dieee80211_scan_sta.c375 if (se->se_fails && (ticks - se->se_lastfail) > STA_FAILS_AGE*hz) {
381 se->se_lastupdate = ticks; /* update time */
1348 if (ieee80211_time_after(ticks, ic->ic_lastscan + vap->iv_scanvalid)) {
1358 ieee80211_time_after(ticks, ic->ic_lastdata + vap->iv_bgscanidle))
1429 se->base.se_age = ticks - se->se_lastupdate;
1450 se->se_lastfail = ticks;
1472 se->se_lastassoc = ticks;
H A Dieee80211_ht.c883 if (ticks - rap->rxa_age > ieee80211_ampdu_age) {
900 rap->rxa_age = ticks;
1142 if (ticks - rap->rxa_age > ieee80211_ampdu_age) {
1375 ic->ic_lastnonht = ticks;
1402 ieee80211_time_after(ticks, ic->ic_lastnonht + IEEE80211_NONHT_PRESENT_AGE)) {
1718 tap->txa_lastsample = ticks;
1781 tap->txa_nextrequest = ticks + ieee80211_addba_timeout;
2162 ieee80211_time_after(ticks, tap->txa_nextrequest)) {
2219 if (tap->txa_nextrequest <= ticks)
2220 tap->txa_nextrequest = ticks
[all...]
/freebsd-11-stable/stand/i386/boot0/
H A Dboot0.S162 /* ticks is at a fixed position */
163 .set _TICKS, (PRT_OFF - 0x200 - 2) # Timeout ticks
673 ticks: .word TICKS # Delay label
/freebsd-11-stable/stand/i386/boot2/
H A Dboot2.c55 #define SECOND 18 /* Circa that many ticks in a second. */
609 keyhit(unsigned ticks) argument
622 if ((uint32_t)(t1 - t0) >= ticks)
/freebsd-11-stable/sys/netinet/
H A Dtcp_timewait.c667 tw->tw_time = ticks + 2 * tcp_msl;
728 if (tw == NULL || (!reuse && (tw->tw_time - ticks) > 0)) {
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c244 delta = ticks - health->last_reset_req;
252 * In principle, ticks may be 0. Setting it to off by one (-1)
255 health->last_reset_req = ticks ? : -1;

Completed in 391 milliseconds

123456789