HomeSort by: relevance | last modified time | path
    Searched defs:tsf (Results 1 - 19 of 19) sorted by relevancy

  /src/external/bsd/ntp/dist/tests/libntp/
timespecops.c 28 static u_int32 my_tsf_to_tick(u_int32 tsf);
201 my_tsf_to_tick(u_int32 tsf)
206 return (u_int32)(( ((u_int64)(tsf)) * 1000000000 + 0x80000000) >> 32);
208 return (u_int32)(double(tsf) / 4.294967296 + 0.5);
694 u_int32 tsf; local
695 for (tsf = 0; tsf < ~((u_int32)(1000)); tsf += 1000) {
696 struct timespec E = timespec_init(1, my_tsf_to_tick(tsf));
697 l_fp a = l_fp_init(1, tsf);
    [all...]
timevalops.c 23 static u_int32 my_tsf_to_tick(u_int32 tsf);
193 my_tsf_to_tick(u_int32 tsf)
197 return (u_int32)( ((u_int64)(tsf) * 1000000 + 0x80000000) >> 32); //CHECK ME!!!
199 return (u_int32)(double(tsf) / 4294.967296 + 0.5);
696 u_int32 tsf = 0; local
698 for (tsf = 0; tsf < ~((u_int32)(1000)); tsf += 1000) {
699 struct timeval E = timeval_init(1, my_tsf_to_tick(tsf));
700 l_fp a = l_fp_init(1, tsf);
    [all...]
  /src/external/bsd/wpa/dist/src/drivers/
driver_nl80211_scan.c 805 r->tsf = nla_get_u64(bss[NL80211_BSS_TSF]);
807 u64 tsf = nla_get_u64(bss[NL80211_BSS_BEACON_TSF]); local
808 if (tsf > r->tsf) {
809 r->tsf = tsf;
driver.h 350 * @tsf: Timestamp
357 * of TSF of the BSS specified by %tsf_bssid.
358 * @tsf_bssid: The BSS that %parent_tsf TSF time refers to.
387 u64 tsf; member in struct:wpa_scan_res
6427 * @scan_start_tsf: Time when the scan started in terms of TSF of the
  /src/external/bsd/wpa/dist/wpa_supplicant/
bss.h 112 u64 tsf; member in struct:wpa_bss
  /src/sys/net80211/
ieee80211_node.h 132 u_int64_t tsf; member in union:ieee80211_node::__anon7125
  /src/sys/dev/ic/
arn5008.c 729 uint64_t tsf; local
733 /* Extend the 15-bit timestamp from Rx descriptor to 64-bit TSF. */
735 tsf = AR_READ(sc, AR_TSF_U32);
736 tsf = tsf << 32 | AR_READ(sc, AR_TSF_L32);
737 if ((tsf & 0x7fff) < tstamp)
738 tsf -= 0x8000;
739 tsf = (tsf & ~0x7fff) | tstamp;
742 tap->wr_tsft = htole64(tsf);
    [all...]
arn9003.c 880 uint64_t tsf; local
884 /* Extend the 15-bit timestamp from Rx status to 64-bit TSF. */
886 tsf = AR_READ(sc, AR_TSF_U32);
887 tsf = tsf << 32 | AR_READ(sc, AR_TSF_L32);
888 if ((tsf & 0x7fff) < tstamp)
889 tsf -= 0x8000;
890 tsf = (tsf & ~0x7fff) | tstamp;
893 tap->wr_tsft = htole64(tsf);
    [all...]
bwfm.c 2284 uint64_t tsf; local
2286 tsf = 0;
2310 scan.sp_tstamp = (uint8_t *)&tsf;
ath.c 922 u_int64_t tsf = ath_hal_gettsf64(sc->sc_ah); local
925 "%s: tsf %" PRIu64 " lastrx %" PRId64
927 __func__, tsf, tsf - lastrx, lastrx,
936 if (tsf - lastrx > ic->ic_bmisstimeout*1024) {
1446 u_int64_t tsf; local
1449 tsf = ath_hal_gettsf64(ah);
1451 tsf += 100;
1453 tstamp[0] = htole32(tsf & 0xffffffff);
1454 tstamp[1] = htole32(tsf >> 32)
2478 u_int64_t tsf; local
2977 u_int64_t tsf = ath_extend_tsf(rstamp, local
3052 u_int64_t tsf; local
3984 u_int64_t tsf = ath_hal_gettsf64(ah); local
    [all...]
rtw.c 3720 /* Extend a 32-bit TSF timestamp to a 64-bit timestamp. */
3748 uint64_t tsf = rtw_tsf_extend(&sc->sc_regs, rstamp); local
3749 if (le64toh(ni->ni_tstamp.tsf) >= tsf)
  /src/sys/dev/pci/
if_rtwn.c 1176 uint64_t tsf; local
1180 /* Enable TSF synchronization. */
1187 /* Set initial TSF. */
1188 tsf = ni->ni_tstamp.tsf;
1189 tsf = le64toh(tsf);
1190 tsf = tsf - (tsf % (ni->ni_intval * IEEE80211_DUR_TU))
    [all...]
if_wpi.c 2521 struct wpi_cmd_tsf tsf; local
2524 memset(&tsf, 0, sizeof tsf);
2525 memcpy(&tsf.tstamp, ni->ni_tstamp.data, sizeof (uint64_t));
2526 tsf.bintval = htole16(ni->ni_intval);
2527 tsf.lintval = htole16(10);
2531 mod = le64toh(tsf.tstamp) % val;
2532 tsf.binitval = htole32((uint32_t)(val - mod));
2534 DPRINTF(("TSF bintval=%u tstamp=%" PRIu64 ", init=%u\n",
2535 ni->ni_intval, le64toh(tsf.tstamp), (uint32_t)(val - mod)))
    [all...]
if_wpireg.h 574 uint64_t tsf; member in struct:wpi_stop_scan
if_iwm.c 6318 uint64_t tsf; local
6321 tsf = le64toh(ni->ni_tstamp.tsf);
6325 sta->dtim_tsf = htole64(tsf + dtim_off);
8248 device_printf(sc->sc_dev, "%08X | tsf low\n", t.tsf_low);
8249 device_printf(sc->sc_dev, "%08X | tsf hi\n", t.tsf_hi);
if_iwnreg.h 1287 uint64_t tsf; member in struct:iwn_stop_scan
1448 uint32_t tsf; member in struct:iwn_fw_dump
if_iwmreg.h 663 * received during scan, are reported in TSF of the mac specified in the
2499 * @timestamp: TSF in usecs.
3126 * @timestamp: TSF at on air rise
3699 * enum iwm_tsf_id - TSF hw timer ID
3700 * @IWM_TSF_ID_A: use TSF A
3701 * @IWM_TSF_ID_B: use TSF B
3702 * @IWM_TSF_ID_C: use TSF C
3703 * @IWM_TSF_ID_D: use TSF D
3704 * @IWM_NUM_TSF_IDS: number of TSF timers available
3717 * @beacon_tsf: beacon transmit time in TSF
5103 uint64_t tsf; member in struct:iwm_beacon_notif
    [all...]
  /src/sys/dev/usb/
if_urtwn.c 1777 uint64_t tsf; local
1783 /* Enable TSF synchronization. */
1787 /* Correct TSF */
1791 /* Set initial TSF. */
1792 tsf = ni->ni_tstamp.tsf;
1793 tsf = le64toh(tsf);
1794 tsf = tsf - (tsf % (ni->ni_intval * IEEE80211_DUR_TU))
    [all...]
  /src/external/bsd/wpa/dist/src/common/
ieee802_11_defs.h 2066 u8 tsf[8]; /* Event TSF */ member in struct:wnm_event_report_element::__anon5985::__anon5986
2070 u8 tsf[8]; /* Event TSF */ member in struct:wnm_event_report_element::__anon5985::__anon5987
2228 * (in TSF of the BSS requesting the measurement) */
2235 le32 parent_tsf; /* Parent TSF */

Completed in 104 milliseconds