Searched refs:tsf (Results 1 - 25 of 116) sorted by relevance

12345

/linux-master/drivers/staging/vt6656/
H A Dcard.c258 * tsf - Current TSF counter
261 * tsf - Current TSF counter
266 u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval) argument
276 do_div(tsf, beacon_int);
277 tsf += 1;
278 tsf *= beacon_int;
281 return tsf;
306 int vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, argument
312 tsf = vnt_get_next_tbtt(tsf, beacon_interva
[all...]
H A Dcard.h35 int vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf,
37 u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval);
H A Dusbpipe.h32 __le64 tsf; member in struct:vnt_interrupt_data
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dcommon-beacon.c21 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf, argument
26 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time);
28 div_u64_rem(tsf, divisor, &offset);
30 return (u32) tsf + divisor - offset;
47 u64 tsf; local
69 tsf = ath9k_hw_gettsf64(ah);
70 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval);
77 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval);
H A Dcommon-spectral.h181 struct ath_rx_status *rs, u64 tsf);
199 struct ath_rx_status *rs, u64 tsf)
197 ath_cmn_process_fft(struct ath_spec_scan_priv *spec_priv, struct ieee80211_hdr *hdr, struct ath_rx_status *rs, u64 tsf) argument
H A Dhtc_drv_beacon.c268 u64 tsf; local
275 tsf = be64_to_cpu(swba->tsf);
276 tsftu = TSF_TO_TU(tsf >> 32, tsf);
281 "Choose slot: %d, tsf: %llu, tsftu: %u, intval: %u\n",
282 slot, tsf, tsftu, intval);
H A Dcommon-spectral.c128 u8 *sample_buf, u64 tsf, u16 freq, int chan_type);
134 u64 tsf, u16 freq, int chan_type)
169 fft_sample_20.tsf = __cpu_to_be64(tsf);
238 u64 tsf, u16 freq, int chan_type)
308 fft_sample_40.tsf = __cpu_to_be64(tsf);
469 struct ath_rx_status *rs, u64 tsf)
624 tsf, freq, chan_type);
642 tsf, fre
131 ath_cmn_process_ht20_fft(struct ath_rx_status *rs, struct ath_spec_scan_priv *spec_priv, u8 *sample_buf, u64 tsf, u16 freq, int chan_type) argument
235 ath_cmn_process_ht20_40_fft(struct ath_rx_status *rs, struct ath_spec_scan_priv *spec_priv, u8 *sample_buf, u64 tsf, u16 freq, int chan_type) argument
468 ath_cmn_process_fft(struct ath_spec_scan_priv *spec_priv, struct ieee80211_hdr *hdr, struct ath_rx_status *rs, u64 tsf) argument
[all...]
H A Dbeacon.c312 u64 tsf; local
317 ath_dbg(common, BEACON, "slot 0, tsf: %llu\n",
323 tsf = ath9k_hw_gettsf64(sc->sc_ah);
324 tsf += TU_TO_USEC(sc->sc_ah->config.sw_beacon_response_time);
325 tsftu = TSF_TO_TU((tsf * ATH_BCBUF) >>32, tsf * ATH_BCBUF);
328 ath_dbg(common, BEACON, "slot: %d tsf: %llu tsftu: %u\n",
329 slot, tsf, tsftu / ATH_BCBUF);
H A Dchannel.c1430 u32 tsf, target_tsf; local
1437 tsf = ath9k_hw_gettsf32(sc->sc_ah);
1445 if (target_tsf - tsf < ATH_P2P_PS_STOP_TIME)
1446 target_tsf = tsf + ATH_P2P_PS_STOP_TIME;
1448 ath_dbg(common, CHAN_CTX, "%s absent %d tsf 0x%08X next_tsf 0x%08X (%dms)\n",
1449 __func__, avp->noa.absent, tsf, target_tsf,
1450 (target_tsf - tsf) / 1000);
1458 u32 tsf; local
1471 tsf = ath9k_hw_gettsf32(sc->sc_ah);
1472 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf);
1562 u32 tsf; local
[all...]
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dspectral.h41 size_t bin_len, u64 tsf);
53 size_t bin_len, u64 tsf)
50 ath10k_spectral_process_fft(struct ath10k *ar, struct wmi_phyerr_ev_arg *phyerr, const struct phyerr_fft_report *fftr, size_t bin_len, u64 tsf) argument
H A Dspectral.c66 size_t bin_len, u64 tsf)
139 fft_sample->tsf = __cpu_to_be64(tsf);
63 ath10k_spectral_process_fft(struct ath10k *ar, struct wmi_phyerr_ev_arg *phyerr, const struct phyerr_fft_report *fftr, size_t bin_len, u64 tsf) argument
/linux-master/drivers/net/wireless/ath/
H A Dspectral_common.h62 __be64 tsf; member in struct:fft_sample_ht20
76 __be64 tsf; member in struct:fft_sample_ht20_40
104 __be64 tsf; member in struct:fft_sample_ath10k
123 __be32 tsf; member in struct:fft_sample_ath11k
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Doffload.h45 * @tsf: TSF on air rise
54 __le64 tsf; member in struct:iwl_stored_beacon_notif_common
H A Dtx.h820 __le64 tsf; member in struct:iwl_beacon_notif
827 * @tsf: last beacon tsf
833 __le64 tsf; member in struct:iwl_extended_beacon_notif_v5
841 * @tsf: last beacon tsf
847 __le64 tsf; member in struct:iwl_extended_beacon_notif
/linux-master/net/mac80211/
H A Dmesh_sync.c13 /* This is not in the standard. It represents a tolerable tsf drift below
55 u64 tsf; local
76 tsf = drv_get_tsf(local, sdata);
77 if (tsf != -1ULL)
78 drv_set_tsf(local, sdata, tsf + tsfdelta);
101 * have rx timestamps, then use current tsf as an approximation.
178 /* Since ajusting the tsf here would
180 * to the driver tsf setter, we punt
181 * the tsf adjustment to the mesh tasklet
H A Ddebugfs_netdev.c660 u64 tsf; local
662 tsf = drv_get_tsf(local, (struct ieee80211_sub_if_data *)sdata);
664 return scnprintf(buf, buflen, "0x%016llx\n", (unsigned long long) tsf);
671 unsigned long long tsf; local
690 ret = kstrtoull(buf, 10, &tsf);
694 drv_offset_tsf(local, sdata, tsf_is_delta * tsf);
697 tsf_is_delta * tsf);
700 tsf = drv_get_tsf(local, sdata) +
701 tsf_is_delta * tsf;
702 drv_set_tsf(local, sdata, tsf);
711 IEEE80211_IF_FILE_RW(tsf); variable
[all...]
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dmain.h63 void b43_tsf_read(struct b43_wldev *dev, u64 * tsf);
64 void b43_tsf_write(struct b43_wldev *dev, u64 tsf);
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Dmain.h87 void b43legacy_tsf_read(struct b43legacy_wldev *dev, u64 *tsf);
88 void b43legacy_tsf_write(struct b43legacy_wldev *dev, u64 tsf);
H A Ddebugfs.c69 u64 tsf; local
71 b43legacy_tsf_read(dev, &tsf);
73 (unsigned int)((tsf & 0xFFFFFFFF00000000ULL) >> 32),
74 (unsigned int)(tsf & 0xFFFFFFFFULL));
82 u64 tsf; local
84 if (sscanf(buf, "%llu", (unsigned long long *)(&tsf)) != 1)
86 b43legacy_tsf_write(dev, tsf);
327 B43legacy_DEBUGFS_FOPS(tsf, tsf_read_file, tsf_write_file, 1);
395 ADD_FILE(tsf, 0600);
/linux-master/include/trace/events/
H A Dufs.h80 #define show_ufs_cmd_trace_tsf(tsf) \
81 __print_symbolic(tsf, UFS_CMD_TRACE_TSF_TYPES)
346 void *tsf, enum ufs_trace_tsf_t tsf_t),
348 TP_ARGS(dev_name, str_t, hdr, tsf, tsf_t),
354 __array(unsigned char, tsf, 16)
362 memcpy(__entry->tsf, tsf, sizeof(__entry->tsf));
371 __print_hex(__entry->tsf, sizeof(__entry->tsf))
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_usb_core.c149 u64 tsf, time; local
157 tsf = (u64)dw0 << 32 | dw1;
158 dev_dbg(dev->mt76.dev, "TSF: %llu us TBTT %u us\n", tsf, tbtt);
H A Dmt792x_core.c185 } tsf; local
193 tsf.t32[0] = mt76_rr(dev, MT_LPON_UTTR0(0));
194 tsf.t32[1] = mt76_rr(dev, MT_LPON_UTTR1(0));
198 return tsf.t64;
211 } tsf = { .t64 = timestamp, }; local
217 mt76_wr(dev, MT_LPON_UTTR0(0), tsf.t32[0]);
218 mt76_wr(dev, MT_LPON_UTTR1(0), tsf.t32[1]);
/linux-master/drivers/net/wireless/ath/carl9170/
H A Dfwcmd.h300 __le32 tsf[2]; member in union:carl9170_tsf_rsp::__anon1608
327 struct carl9170_tsf_rsp tsf; member in union:carl9170_rsp::__anon1609
/linux-master/net/wireless/tests/
H A Dscan.c347 u64 tsf = 0x1000000000000000ULL; local
364 CFG80211_BSS_FTYPE_PRESP, bssid, tsf,
383 KUNIT_EXPECT_EQ(test, ies->tsf, tsf);
455 u64 tsf = 0x1000000000000000ULL; local
609 CFG80211_BSS_FTYPE_PRESP, bssid, tsf,
650 KUNIT_EXPECT_EQ(test, ies->tsf, tsf + le64_to_cpu(sta_prof.tsf_offset));
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmain.c917 } tsf; local
928 tsf.t32[0] = mt76_rr(dev, MT_LPON_UTTR0);
929 tsf.t32[1] = mt76_rr(dev, MT_LPON_UTTR1);
933 return tsf.t64;
945 } tsf = { .t64 = timestamp, }; local
954 mt76_wr(dev, MT_LPON_UTTR0, tsf.t32[0]);
955 mt76_wr(dev, MT_LPON_UTTR1, tsf.t32[1]);
971 } tsf = { .t64 = timestamp, }; local
980 mt76_wr(dev, MT_LPON_UTTR0, tsf.t32[0]);
981 mt76_wr(dev, MT_LPON_UTTR1, tsf
[all...]

Completed in 304 milliseconds

12345