/freebsd-11-stable/sys/dev/usb/net/ |
H A D | if_smsc.c | 337 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 D | lio_request_manager.c | 336 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 D | via_dmablit.c | 354 } 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 D | drm_os_freebsd.h | 454 #define jiffies ticks 511 start_jiffies = ticks; 533 elapsed_jiffies = ticks - start_jiffies;
|
/freebsd-11-stable/sys/dev/cyapa/ |
H A D | cyapa.c | 254 "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 D | cfe_api.c | 362 xiocb.plist.xiocb_time.ticks = 0; 366 return xiocb.plist.xiocb_time.ticks;
|
/freebsd-11-stable/sys/dev/ath/ath_rate/amrr/ |
H A D | amrr.c | 184 ticks - amn->amn_ticks > amn->amn_interval) { 186 amn->amn_ticks = ticks;
|
/freebsd-11-stable/sys/dev/ath/ath_rate/onoe/ |
H A D | onoe.c | 177 if (on->on_interval != 0 && ticks - on->on_ticks > on->on_interval) { 179 on->on_ticks = ticks;
|
/freebsd-11-stable/sys/ddb/ |
H A D | db_ps.c | 420 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 D | boot0cfg.c | 62 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 D | hv_storvsc_drv_freebsd.c | 1314 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 D | hptrr_os_bsd.c | 230 return ticks * (1000000 / hz);
|
/freebsd-11-stable/sys/compat/ndis/ |
H A D | subr_hal.c | 387 return ((uint64_t)ticks);
|
/freebsd-11-stable/sys/kern/ |
H A D | subr_param.c | 111 "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 D | sched_ule.c | 96 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 D | subr_taskqueue.c | 339 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 D | regulator.c | 330 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 D | kernel.h | 66 extern volatile int ticks;
|
H A D | soundcard.h | 1466 #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 D | ieee80211_scan_sta.c | 375 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 D | ieee80211_ht.c | 883 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 D | boot0.S | 162 /* 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 D | boot2.c | 55 #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 D | tcp_timewait.c | 667 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 D | mlx5_health.c | 244 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;
|