Home
last modified time | relevance | path

Searched refs:ticks (Results 76 – 100 of 238) sorted by relevance

12345678910

/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h219 int wait_for_completion_interruptible_timeout(struct completion *, unsigned long ticks);
368 #define jiffies ticks
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dcpsw.txt39 - cpts_clock_mult : Numerator to convert input clock ticks into nanoseconds
40 - cpts_clock_shift : Denominator to convert input clock ticks into nanoseconds
H A Dti,cpsw-switch.yaml139 Numerator to convert input clock ticks into ns
144 Denominator to convert input clock ticks into ns.
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_schedule.c307 remainder = ticks + timeout; in linux_schedule_timeout()
324 remainder -= ticks; in linux_schedule_timeout()
/freebsd/sys/contrib/device-tree/Bindings/timer/
H A Dsnps,dw-apb-timer.yaml33 - description: Timer ticks reference clock source
/freebsd/contrib/file/magic/Magdir/
H A Dvacuum-cleaner25 # int32_t clock_tick; /* 40: 100 == clock ticks */
/freebsd/sys/kern/
H A Dsubr_counter.c133 now = ticks; in counter_ratecheck()
H A Dsched_ule.c283 #define SCHED_AFFINITY(ts, t) ((ts)->ts_rltick > ticks - ((t) * affinity))
1777 ts0->ts_ltick = ticks; in schedinit()
1778 ts0->ts_ftick = ticks; in schedinit()
1825 int t = ticks; in sched_pctcpu_update()
2200 ts->ts_rltick = ticks - affinity * MAX_CACHE_LEVELS; in sched_switch()
2202 ts->ts_rltick = ticks; in sched_switch()
2336 td->td_slptick = ticks; in sched_sleep()
2369 if (slptick && slptick != ticks) { in sched_wakeup()
2370 ts->ts_slptime += (ticks - slptick) << SCHED_TICK_SHIFT; in sched_wakeup()
3113 PCPU_SET(switchticks, ticks); in sched_ap_entry()
/freebsd/sys/netinet/
H A Dtcp_timer.h155 max(1, min(tp->t_rxtcur, tp->t_acktime + TP_MAXUNACKTIME(tp) - ticks)))
/freebsd/sys/dev/usb/net/
H A Dif_muge.c354 start_ticks = (usb_ticks_t)ticks; in lan78xx_wait_for_bits()
361 } while (((usb_ticks_t)(ticks - start_ticks)) < max_ticks); in lan78xx_wait_for_bits()
418 start_ticks = (usb_ticks_t)ticks; in lan78xx_eeprom_read_raw()
428 } while (((usb_ticks_t)(ticks - start_ticks)) < max_ticks); in lan78xx_eeprom_read_raw()
903 start_ticks = ticks; in lan78xx_phy_init()
908 } while ((bmcr & BMCR_RESET) && ((ticks - start_ticks) < max_ticks)); in lan78xx_phy_init()
910 if (((usb_ticks_t)(ticks - start_ticks)) >= max_ticks) { in lan78xx_phy_init()
/freebsd/sys/net80211/
H A Dieee80211_alq.c156 r->r_timestamp = htobe64(ticks); in ieee80211_alq_log()
H A Dieee80211_scan_sta.c395 if (se->se_fails && (ticks - se->se_lastfail) > STA_FAILS_AGE*hz) { in sta_add()
401 se->se_lastupdate = ticks; /* update time */ in sta_add()
1382 if (ieee80211_time_after(ticks, ic->ic_lastscan + vap->iv_scanvalid)) { in sta_roam_check()
1393 ieee80211_time_after(ticks, ic->ic_lastdata + vap->iv_bgscanidle))) in sta_roam_check()
1464 se->base.se_age = ticks - se->se_lastupdate; in sta_iterate()
1485 se->se_lastfail = ticks; in sta_assoc_fail()
1507 se->se_lastassoc = ticks; in sta_assoc_success()
/freebsd/sys/dev/ath/ath_rate/onoe/
H A Donoe.c180 if (on->on_interval != 0 && ticks - on->on_ticks > on->on_interval) { in ath_rate_tx_complete()
182 on->on_ticks = ticks; in ath_rate_tx_complete()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stats_timing.h38 double ticks() const { return double(value); } in ticks() function
/freebsd/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c1327 ticks, __func__); in storvsc_timeout_test()
1331 ticks, __func__, (ret == 0)? in storvsc_timeout_test()
1347 ticks, __func__, sc->hs_frozen, in storvsc_timeout_test()
1374 ticks, reqp, ccb->ccb_h.timeout / 1000); in storvsc_timeout()
1390 ticks, reqp, ccb->ccb_h.timeout * (reqp->retries+1) / 1000, in storvsc_timeout()
2166 "waking up timer handler if any.\n", ticks); in storvsc_io_done()
2174 "stopping timer if any.\n", ticks); in storvsc_io_done()
2443 ticks, reqp->softc); in storvsc_io_done()
/freebsd/sys/dev/regulator/
H A Dregulator.c512 int ticks; in regnode_delay() local
516 ticks = (usec * hz + 999999) / 1000000; in regnode_delay()
518 if (cold || ticks < 2) in regnode_delay()
521 pause("REGULATOR", ticks); in regnode_delay()
/freebsd/sys/dev/ath/ath_rate/amrr/
H A Damrr.c186 ticks - amn->amn_ticks > amn->amn_interval) { in ath_rate_tx_complete()
188 amn->amn_ticks = ticks; in ath_rate_tx_complete()
/freebsd/sys/dev/axgbe/
H A Dxgbe-dev.c2475 tx_timeout = ticks + (XGBE_DMA_STOP_TIMEOUT * hz); in xgbe_txq_prepare_tx_stop()
2476 while (ticks < tx_timeout) { in xgbe_txq_prepare_tx_stop()
2485 if (ticks >= tx_timeout) in xgbe_txq_prepare_tx_stop()
2516 tx_timeout = ticks + (XGBE_DMA_STOP_TIMEOUT * hz); in xgbe_prepare_tx_stop()
2517 while (ticks < tx_timeout) { in xgbe_prepare_tx_stop()
2527 if (ticks >= tx_timeout) in xgbe_prepare_tx_stop()
2589 rx_timeout = ticks + (XGBE_DMA_STOP_TIMEOUT * hz); in xgbe_prepare_rx_stop()
2590 while (ticks < rx_timeout) { in xgbe_prepare_rx_stop()
2599 if (ticks >= rx_timeout) in xgbe_prepare_rx_stop()
H A Dxgbe-mdio.c560 pdata->an_start = ticks; in xgbe_an73_page_received()
564 if ((int)(ticks - an_timeout) > 0) { in xgbe_an73_page_received()
569 pdata->an_start = ticks; in xgbe_an73_page_received()
1187 pdata->link_check = ticks; in __xgbe_phy_config_aneg()
1298 if ((int)(ticks - link_timeout) > 0) { in xgbe_check_link_timeout()
/freebsd/sys/vm/
H A Dvm_reserv.c379 rv->lasttick = ticks; in vm_reserv_insert()
416 if ((unsigned)(ticks - rv->lasttick) >= PARTPOPSLOP || in vm_reserv_depopulate()
429 rv->lasttick = ticks; in vm_reserv_depopulate()
532 if ((unsigned)(ticks - rv->lasttick) < PARTPOPSLOP && in vm_reserv_populate()
535 rv->lasttick = ticks; in vm_reserv_populate()
/freebsd/sys/sys/
H A Dsmr.h61 int ticks; /* tick of last update (LAZY) */ member
/freebsd/sys/dev/cyapa/
H A Dcyapa.c1259 last_reset = ticks; in cyapa_poll_thread()
1283 (unsigned)(ticks - last_reset) > TIME_TO_RESET)) { in cyapa_poll_thread()
1285 last_reset = ticks; in cyapa_poll_thread()
1623 sc->active_tick = ticks; in cyapa_raw_input()
1627 } else if ((unsigned)(ticks - sc->active_tick) >= TIME_TO_IDLE) { in cyapa_raw_input()
1628 sc->active_tick = ticks - TIME_TO_IDLE; /* prevent overflow */ in cyapa_raw_input()
/freebsd/sys/dev/ath/ath_rate/sample/
H A Dsample.c475 ticks - sn->stats[size_bin][rix].last_tx < ssc->stale_failure_timeout) { in pick_sample_rate()
784 } else if (ticks - ssc->min_switch > sn->ticks_since_switch[size_bin]) { in ath_rate_findrate()
789 __func__, ticks - ssc->min_switch, sn->ticks_since_switch[size_bin]); in ath_rate_findrate()
853 sn->ticks_since_switch[size_bin] = ticks; in ath_rate_findrate()
1028 sn->stats[size_bin][rix0].last_tx = ticks; in update_stats()
1564 ticks - sn->stats[y][rix].last_tx); in sample_stats()
/freebsd/sys/dev/ath/
H A Dif_ath_lna_div.c711 unsigned long ticks, int hz) in ath_lna_rx_comb_scan() argument
768 if (ieee80211_time_after(ticks, antcomb->scan_start_time + in ath_lna_rx_comb_scan()
1010 antcomb->scan_start_time = ticks; in ath_lna_rx_comb_scan()
/freebsd/sys/dev/drm2/
H A Ddrm_os_freebsd.h454 #define jiffies ticks
511 start_jiffies = ticks; in wait_for_completion_interruptible_timeout()
533 elapsed_jiffies = ticks - start_jiffies; in wait_for_completion_interruptible_timeout()

12345678910