Home
last modified time | relevance | path

Searched refs:tsf (Results 1 – 95 of 95) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dcommon-beacon.c22 static u32 ath9k_mod_tsf64_tu(u64 tsf, u32 div_tu) in ath9k_mod_tsf64_tu() argument
26 tsf_mod = tsf & (BIT(10) - 1); in ath9k_mod_tsf64_tu()
27 tsf_hi = tsf >> 32; in ath9k_mod_tsf64_tu()
28 tsf_lo = ((u32) tsf) >> 10; in ath9k_mod_tsf64_tu()
36 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf, in ath9k_get_next_tbtt() argument
41 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time); in ath9k_get_next_tbtt()
42 offset = ath9k_mod_tsf64_tu(tsf, interval); in ath9k_get_next_tbtt()
44 return (u32) tsf + TU_TO_USEC(interval) - offset; in ath9k_get_next_tbtt()
61 u64 tsf; in ath9k_cmn_beacon_config_sta() local
83 tsf = ath9k_hw_gettsf64(ah); in ath9k_cmn_beacon_config_sta()
[all …]
Dhtc_drv_beacon.c268 u64 tsf; in ath9k_htc_choose_bslot() local
275 tsf = be64_to_cpu(swba->tsf); in ath9k_htc_choose_bslot()
276 tsftu = TSF_TO_TU(tsf >> 32, tsf); in ath9k_htc_choose_bslot()
282 slot, tsf, tsftu, intval); in ath9k_htc_choose_bslot()
Dcommon-spectral.c140 u8 *sample_buf, u64 tsf, u16 freq, int chan_type);
146 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_fft() argument
182 fft_sample_20.tsf = __cpu_to_be64(tsf); in ath_cmn_process_ht20_fft()
250 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_40_fft() argument
322 fft_sample_40.tsf = __cpu_to_be64(tsf); in ath_cmn_process_ht20_40_fft()
497 struct ath_rx_status *rs, u64 tsf) in ath_cmn_process_fft() argument
648 tsf, freq, chan_type); in ath_cmn_process_fft()
661 tsf, freq, chan_type); in ath_cmn_process_fft()
Dbeacon.c254 u64 tsf; in ath9k_beacon_choose_slot() local
265 tsf = ath9k_hw_gettsf64(sc->sc_ah); in ath9k_beacon_choose_slot()
266 tsf += TU_TO_USEC(sc->sc_ah->config.sw_beacon_response_time); in ath9k_beacon_choose_slot()
267 tsftu = TSF_TO_TU((tsf * ATH_BCBUF) >>32, tsf * ATH_BCBUF); in ath9k_beacon_choose_slot()
271 slot, tsf, tsftu / ATH_BCBUF); in ath9k_beacon_choose_slot()
Dchannel.c1405 s32 tsf, target_tsf; in ath9k_update_p2p_ps_timer() local
1412 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_update_p2p_ps_timer()
1418 if (target_tsf - tsf < ATH_P2P_PS_STOP_TIME) in ath9k_update_p2p_ps_timer()
1419 target_tsf = tsf + ATH_P2P_PS_STOP_TIME; in ath9k_update_p2p_ps_timer()
1427 u32 tsf; in ath9k_update_p2p_ps() local
1436 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_update_p2p_ps()
1437 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps()
1527 u32 tsf; in ath9k_p2p_ps_timer() local
1536 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_p2p_ps_timer()
1538 tsf += ATH_P2P_PS_STOP_TIME; in ath9k_p2p_ps_timer()
[all …]
Drecv.c785 u64 tsf) in ath9k_process_tsf() argument
787 u32 tsf_lower = tsf & 0xffffffff; in ath9k_process_tsf()
789 rxs->mactime = (tsf & ~0xffffffffULL) | rs->rs_tstamp; in ath9k_process_tsf()
808 bool *decrypt_error, u64 tsf) in ath9k_rx_skb_preprocess() argument
859 ath9k_process_tsf(rx_stats, rx_status, tsf); in ath9k_rx_skb_preprocess()
1004 u64 tsf = 0; in ath_rx_tasklet() local
1017 tsf = ath9k_hw_gettsf64(ah); in ath_rx_tasklet()
1048 &decrypt_error, tsf); in ath_rx_tasklet()
Dcommon-spectral.h163 struct ath_rx_status *rs, u64 tsf);
Dwmi.h40 __be64 tsf; member
Dar9003_mci.c1282 u32 value = 0, tsf; in ar9003_mci_state() local
1348 tsf = ath9k_hw_gettsf32(ah); in ar9003_mci_state()
1349 if ((tsf - mci->last_recovery) <= MCI_RECOVERY_DUR_TSF) { in ar9003_mci_state()
1355 mci->last_recovery = tsf; in ar9003_mci_state()
Dhtc_drv_main.c1623 u64 tsf; in ath9k_htc_get_tsf() local
1627 tsf = ath9k_hw_gettsf64(priv->ah); in ath9k_htc_get_tsf()
1631 return tsf; in ath9k_htc_get_tsf()
1635 struct ieee80211_vif *vif, u64 tsf) in ath9k_htc_set_tsf() argument
1641 ath9k_hw_settsf64(priv->ah, tsf); in ath9k_htc_set_tsf()
Dhw.c1823 u64 tsf = 0; in ath9k_hw_reset() local
1868 tsf = ath9k_hw_gettsf64(ah); in ath9k_hw_reset()
1903 ath9k_hw_settsf64(ah, tsf + usec); in ath9k_hw_reset()
1926 if (AR_SREV_9100(ah) && (ath9k_hw_gettsf64(ah) < tsf)) { in ath9k_hw_reset()
1927 tsf += 1500; in ath9k_hw_reset()
1928 ath9k_hw_settsf64(ah, tsf); in ath9k_hw_reset()
Dmain.c1824 u64 tsf; in ath9k_get_tsf() local
1828 tsf = ath9k_hw_gettsf64(sc->sc_ah); in ath9k_get_tsf()
1832 return tsf; in ath9k_get_tsf()
1837 u64 tsf) in ath9k_set_tsf() argument
1843 ath9k_hw_settsf64(sc->sc_ah, tsf); in ath9k_set_tsf()
/linux-4.4.14/drivers/staging/vt6656/
Dcard.c612 u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval) in vnt_get_next_tbtt() argument
622 do_div(tsf, beacon_int); in vnt_get_next_tbtt()
623 tsf += 1; in vnt_get_next_tbtt()
624 tsf *= beacon_int; in vnt_get_next_tbtt()
627 return tsf; in vnt_get_next_tbtt()
681 void vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, in vnt_update_next_tbtt() argument
686 tsf = vnt_get_next_tbtt(tsf, beacon_interval); in vnt_update_next_tbtt()
688 data[0] = (u8)tsf; in vnt_update_next_tbtt()
689 data[1] = (u8)(tsf >> 8); in vnt_update_next_tbtt()
690 data[2] = (u8)(tsf >> 16); in vnt_update_next_tbtt()
[all …]
Dint.h48 __le64 tsf; member
Dint.c165 priv->current_tsf = le64_to_cpu(int_data->tsf); in vnt_int_process_data()
Dmain_usb.c898 u64 tsf) in vnt_set_tsf() argument
902 vnt_update_next_tbtt(priv, tsf, vif->bss_conf.beacon_int); in vnt_set_tsf()
/linux-4.4.14/drivers/net/wireless/ath/
Dspectral_common.h61 __be64 tsf; member
75 __be64 tsf; member
103 __be64 tsf; member
/linux-4.4.14/drivers/net/wireless/b43legacy/
Ddebugfs.c82 u64 tsf; in tsf_read_file() local
84 b43legacy_tsf_read(dev, &tsf); in tsf_read_file()
86 (unsigned int)((tsf & 0xFFFFFFFF00000000ULL) >> 32), in tsf_read_file()
87 (unsigned int)(tsf & 0xFFFFFFFFULL)); in tsf_read_file()
95 u64 tsf; in tsf_write_file() local
97 if (sscanf(buf, "%llu", (unsigned long long *)(&tsf)) != 1) in tsf_write_file()
99 b43legacy_tsf_write(dev, tsf); in tsf_write_file()
338 B43legacy_DEBUGFS_FOPS(tsf, tsf_read_file, tsf_write_file, 1);
435 ADD_FILE(tsf, 0600); in b43legacy_debugfs_add_device()
Dmain.h100 void b43legacy_tsf_read(struct b43legacy_wldev *dev, u64 *tsf);
101 void b43legacy_tsf_write(struct b43legacy_wldev *dev, u64 tsf);
Dmain.c409 void b43legacy_tsf_read(struct b43legacy_wldev *dev, u64 *tsf) in b43legacy_tsf_read() argument
431 *tsf = high; in b43legacy_tsf_read()
432 *tsf <<= 32; in b43legacy_tsf_read()
433 *tsf |= low; in b43legacy_tsf_read()
455 *tsf = v3; in b43legacy_tsf_read()
456 *tsf <<= 48; in b43legacy_tsf_read()
459 *tsf |= tmp; in b43legacy_tsf_read()
462 *tsf |= tmp; in b43legacy_tsf_read()
463 *tsf |= v0; in b43legacy_tsf_read()
486 static void b43legacy_tsf_write_locked(struct b43legacy_wldev *dev, u64 tsf) in b43legacy_tsf_write_locked() argument
[all …]
/linux-4.4.14/net/mac80211/
Dmesh_sync.c55 u64 tsf; in mesh_sync_adjust_tbtt() local
73 tsf = drv_get_tsf(local, sdata); in mesh_sync_adjust_tbtt()
74 if (tsf != -1ULL) in mesh_sync_adjust_tbtt()
75 drv_set_tsf(local, sdata, tsf + tsfdelta); in mesh_sync_adjust_tbtt()
Ddebugfs_netdev.c494 u64 tsf; in ieee80211_if_fmt_tsf() local
496 tsf = drv_get_tsf(local, (struct ieee80211_sub_if_data *)sdata); in ieee80211_if_fmt_tsf()
498 return scnprintf(buf, buflen, "0x%016llx\n", (unsigned long long) tsf); in ieee80211_if_fmt_tsf()
505 unsigned long long tsf; in ieee80211_if_parse_tsf() local
524 ret = kstrtoull(buf, 10, &tsf); in ieee80211_if_parse_tsf()
528 tsf = drv_get_tsf(local, sdata) + tsf_is_delta * tsf; in ieee80211_if_parse_tsf()
530 drv_set_tsf(local, sdata, tsf); in ieee80211_if_parse_tsf()
532 "debugfs set TSF to %#018llx\n", tsf); in ieee80211_if_parse_tsf()
539 IEEE80211_IF_FILE_RW(tsf);
648 DEBUGFS_ADD_MODE(tsf, 0600); in add_ibss_files()
[all …]
Ddriver-ops.c205 u64 tsf) in drv_set_tsf() argument
212 trace_drv_set_tsf(local, sdata, tsf); in drv_set_tsf()
214 local->ops->set_tsf(&local->hw, &sdata->vif, tsf); in drv_set_tsf()
Dutil.c2977 ieee80211_extend_noa_desc(struct ieee80211_noa_data *data, u32 tsf, int i) in ieee80211_extend_noa_desc() argument
2979 s32 end = data->desc[i].start + data->desc[i].duration - (tsf + 1); in ieee80211_extend_noa_desc()
3009 ieee80211_extend_absent_time(struct ieee80211_noa_data *data, u32 tsf, in ieee80211_extend_absent_time() argument
3021 if (ieee80211_extend_noa_desc(data, tsf + *offset, i)) in ieee80211_extend_absent_time()
3024 cur = data->desc[i].start - tsf; in ieee80211_extend_absent_time()
3028 cur = data->desc[i].start + data->desc[i].duration - tsf; in ieee80211_extend_absent_time()
3037 ieee80211_get_noa_absent_time(struct ieee80211_noa_data *data, u32 tsf) in ieee80211_get_noa_absent_time() argument
3047 ieee80211_extend_absent_time(data, tsf, &offset); in ieee80211_get_noa_absent_time()
3049 if (!ieee80211_extend_absent_time(data, tsf, &offset)) in ieee80211_get_noa_absent_time()
3058 void ieee80211_update_p2p_noa(struct ieee80211_noa_data *data, u32 tsf) in ieee80211_update_p2p_noa() argument
[all …]
Dibss.c42 const u16 capability, u64 tsf, in ieee80211_ibss_build_presp() argument
83 mgmt->u.beacon.timestamp = cpu_to_le64(tsf); in ieee80211_ibss_build_presp()
222 const u16 capability, u64 tsf, in __ieee80211_sta_join_ibss() argument
318 capability, tsf, &chandef, in __ieee80211_sta_join_ibss()
409 u64 tsf; in ieee80211_sta_join_ibss() local
471 tsf = ies->tsf; in ieee80211_sta_join_ibss()
479 tsf, false); in ieee80211_sta_join_ibss()
490 u64 tsf; in ieee80211_ibss_csa_beacon() local
510 tsf = ies->tsf; in ieee80211_ibss_csa_beacon()
520 capability, tsf, &ifibss->chandef, in ieee80211_ibss_csa_beacon()
Dtrace.h937 u64 tsf),
939 TP_ARGS(local, sdata, tsf),
944 __field(u64, tsf)
950 __entry->tsf = tsf;
955 LOCAL_PR_ARG, VIF_PR_ARG, (unsigned long long)__entry->tsf
Ddriver-ops.h569 u64 tsf);
Dmlme.c4406 sdata->vif.bss_conf.sync_tsf = ies->tsf; in ieee80211_prep_connection()
4419 sdata->vif.bss_conf.sync_tsf = ies->tsf; in ieee80211_prep_connection()
4832 sdata->vif.bss_conf.sync_tsf = beacon_ies->tsf; in ieee80211_mgd_assoc()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dspectral.h52 size_t bin_len, u64 tsf);
64 size_t bin_len, u64 tsf) in ath10k_spectral_process_fft() argument
Dspectral.c62 size_t bin_len, u64 tsf) in ath10k_spectral_process_fft() argument
142 fft_sample->tsf = __cpu_to_be64(tsf); in ath10k_spectral_process_fft()
Dwmi.c3400 u64 tsf) in ath10k_dfs_radar_report() argument
3443 tsf64 = tsf & (~0xFFFFFFFFULL); in ath10k_dfs_radar_report()
3489 u64 tsf) in ath10k_dfs_fft_report() argument
3526 u64 tsf) in ath10k_wmi_event_dfs() argument
3538 phyerr->tsf_timestamp, tsf, buf_len); in ath10k_wmi_event_dfs()
3569 ath10k_dfs_radar_report(ar, phyerr, rr, tsf); in ath10k_wmi_event_dfs()
3579 res = ath10k_dfs_fft_report(ar, phyerr, fftr, tsf); in ath10k_wmi_event_dfs()
3591 u64 tsf) in ath10k_wmi_event_spectral_scan() argument
3630 tsf); in ath10k_wmi_event_spectral_scan()
3770 u64 tsf; in ath10k_wmi_event_phyerr() local
[all …]
Dhtt.h575 __le32 tsf; member
Dwmi.h6295 struct wmi_phyerr_ev_arg *phyerr, u64 tsf);
6298 u64 tsf);
/linux-4.4.14/drivers/net/wireless/b43/
Dmain.h76 void b43_tsf_read(struct b43_wldev *dev, u64 * tsf);
77 void b43_tsf_write(struct b43_wldev *dev, u64 tsf);
Dmain.c608 void b43_tsf_read(struct b43_wldev *dev, u64 *tsf) in b43_tsf_read() argument
619 *tsf = high; in b43_tsf_read()
620 *tsf <<= 32; in b43_tsf_read()
621 *tsf |= low; in b43_tsf_read()
638 static void b43_tsf_write_locked(struct b43_wldev *dev, u64 tsf) in b43_tsf_write_locked() argument
644 low = tsf; in b43_tsf_write_locked()
645 high = (tsf >> 32); in b43_tsf_write_locked()
654 void b43_tsf_write(struct b43_wldev *dev, u64 tsf) in b43_tsf_write() argument
657 b43_tsf_write_locked(dev, tsf); in b43_tsf_write()
3853 u64 tsf; in b43_op_get_tsf() local
[all …]
/linux-4.4.14/drivers/media/pci/ngene/
Dngene-cards.c625 .tsf = {3, 3},
639 .tsf = {3, 3},
654 .tsf = {3, 3},
669 .tsf = {3, 3},
685 .tsf = {3, 3},
704 .tsf = { 4, 4 },
Dngene.h852 u8 tsf[4]; member
Dngene-core.c679 8 * dev->card_info->tsf[stream], 8); in ngene_command_stream_control()
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dfwcmd.h292 __le32 tsf[2]; member
319 struct carl9170_tsf_rsp tsf; member
Dmain.c1160 struct carl9170_tsf_rsp tsf; in carl9170_op_get_tsf() local
1165 0, NULL, sizeof(tsf), &tsf); in carl9170_op_get_tsf()
1170 return le64_to_cpu(tsf.tsf_64); in carl9170_op_get_tsf()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dfw-api-tx.h549 __le64 tsf; member
562 __le64 tsf; member
Dmac-ctxt.c1353 le64_to_cpu(beacon->tsf), in iwl_mvm_rx_beacon_notif()
/linux-4.4.14/drivers/staging/rtl8723au/include/
Dwlan_bssdef.h80 u64 tsf; member
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dbase.c203 u64 tsf = ath5k_hw_get_tsf64(ah); in ath5k_extend_tsf() local
205 if ((tsf & 0x7fff) < rstamp) in ath5k_extend_tsf()
206 tsf -= 0x8000; in ath5k_extend_tsf()
208 return (tsf & ~0x7fff) | rstamp; in ath5k_extend_tsf()
1244 u64 tsf, bc_tstamp; in ath5k_check_ibss_tsf() local
1254 tsf = ath5k_hw_get_tsf64(ah); in ath5k_check_ibss_tsf()
1256 hw_tu = TSF_TO_TU(tsf); in ath5k_check_ibss_tsf()
1263 (unsigned long long)tsf); in ath5k_check_ibss_tsf()
1280 (unsigned long long)tsf); in ath5k_check_ibss_tsf()
1281 rxs->mactime = tsf; in ath5k_check_ibss_tsf()
[all …]
Ddebug.c202 u64 tsf; in read_file_beacon() local
232 tsf = ath5k_hw_get_tsf64(ah); in read_file_beacon()
235 (unsigned long long)tsf, TSF_TO_TU(tsf)); in read_file_beacon()
Dmac80211-ops.c625 ath5k_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf) in ath5k_set_tsf() argument
629 ath5k_hw_set_tsf64(ah, tsf); in ath5k_set_tsf()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2400pci.c1222 u64 tsf; in rt2400pci_fill_rxdone() local
1245 tsf = rt2x00dev->ops->hw->get_tsf(rt2x00dev->hw, NULL); in rt2400pci_fill_rxdone()
1247 rx_high = upper_32_bits(tsf); in rt2400pci_fill_rxdone()
1249 if ((u32)tsf <= rx_low) in rt2400pci_fill_rxdone()
1693 u64 tsf; in rt2400pci_get_tsf() local
1697 tsf = (u64) rt2x00_get_field32(reg, CSR17_HIGH_TSFTIMER) << 32; in rt2400pci_get_tsf()
1699 tsf |= rt2x00_get_field32(reg, CSR16_LOW_TSFTIMER); in rt2400pci_get_tsf()
1701 return tsf; in rt2400pci_get_tsf()
Drt2500pci.c1992 u64 tsf; in rt2500pci_get_tsf() local
1996 tsf = (u64) rt2x00_get_field32(reg, CSR17_HIGH_TSFTIMER) << 32; in rt2500pci_get_tsf()
1998 tsf |= rt2x00_get_field32(reg, CSR16_LOW_TSFTIMER); in rt2500pci_get_tsf()
2000 return tsf; in rt2500pci_get_tsf()
Drt73usb.c2290 u64 tsf; in rt73usb_get_tsf() local
2294 tsf = (u64) rt2x00_get_field32(reg, TXRX_CSR13_HIGH_TSFTIMER) << 32; in rt73usb_get_tsf()
2296 tsf |= rt2x00_get_field32(reg, TXRX_CSR12_LOW_TSFTIMER); in rt73usb_get_tsf()
2298 return tsf; in rt73usb_get_tsf()
Drt61pci.c2953 u64 tsf; in rt61pci_get_tsf() local
2957 tsf = (u64) rt2x00_get_field32(reg, TXRX_CSR13_HIGH_TSFTIMER) << 32; in rt61pci_get_tsf()
2959 tsf |= rt2x00_get_field32(reg, TXRX_CSR12_LOW_TSFTIMER); in rt61pci_get_tsf()
2961 return tsf; in rt61pci_get_tsf()
Drt2800lib.c7925 u64 tsf; in rt2800_get_tsf() local
7929 tsf = (u64) rt2x00_get_field32(reg, TSF_TIMER_DW1_HIGH_WORD) << 32; in rt2800_get_tsf()
7931 tsf |= rt2x00_get_field32(reg, TSF_TIMER_DW0_LOW_WORD); in rt2800_get_tsf()
7933 return tsf; in rt2800_get_tsf()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
Dmac80211_if.c919 u64 tsf; in brcms_ops_get_tsf() local
922 tsf = brcms_c_tsf_get(wl->wlc); in brcms_ops_get_tsf()
925 return tsf; in brcms_ops_get_tsf()
929 struct ieee80211_vif *vif, u64 tsf) in brcms_ops_set_tsf() argument
934 brcms_c_tsf_set(wl->wlc, tsf); in brcms_ops_set_tsf()
Dpub.h323 void brcms_c_tsf_set(struct brcms_c_info *wlc, u64 tsf);
Dmain.c7613 u64 tsf; in brcms_c_tsf_get() local
7617 tsf = tsf_h; in brcms_c_tsf_get()
7618 tsf <<= 32; in brcms_c_tsf_get()
7619 tsf |= tsf_l; in brcms_c_tsf_get()
7621 return tsf; in brcms_c_tsf_get()
7624 void brcms_c_tsf_set(struct brcms_c_info *wlc, u64 tsf) in brcms_c_tsf_set() argument
7630 tsf_l = tsf; in brcms_c_tsf_set()
7631 tsf_h = (tsf >> 32); in brcms_c_tsf_set()
/linux-4.4.14/drivers/net/wireless/zd1211rw/
Dzd_chip.c1547 u64 tsf; in zd_chip_get_tsf() local
1556 tsf = values[1]; in zd_chip_get_tsf()
1557 tsf = (tsf << 32) | values[0]; in zd_chip_get_tsf()
1559 return tsf; in zd_chip_get_tsf()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dcore.c1332 u64 tsf; in rtl_op_get_tsf() local
1334 rtlpriv->cfg->ops->get_hw_reg(hw, HW_VAR_CORRECT_TSF, (u8 *)(&tsf)); in rtl_op_get_tsf()
1335 return tsf; in rtl_op_get_tsf()
1339 struct ieee80211_vif *vif, u64 tsf) in rtl_op_set_tsf() argument
1345 mac->tsf = tsf; in rtl_op_set_tsf()
Dwifi.h1428 u64 tsf; member
1969 u64 tsf; member
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_mlme.c601 pmlmepriv->cur_network.network.tsf = pnetwork->tsf; in rtw_survey_event_cb23a()
611 pmlmepriv->cur_network.network.tsf = in rtw_survey_event_cb23a()
612 ibss_wlan->network.tsf; in rtw_survey_event_cb23a()
1005 cur_network->network.tsf = ptarget_wlan->network.tsf; in rtw_joinbss_update_network23a()
Drtw_ieee80211.c355 pdev_network->tsf = 0; in rtw_generate_ie23a()
Drtw_mlme_ext.c4138 bssid->tsf = get_unaligned_le64(&mgmt->u.beacon.timestamp); in collect_bss_info()
4146 bssid->tsf = 0; in collect_bss_info()
4156 bssid->tsf = get_unaligned_le64(&mgmt->u.probe_resp.timestamp); in collect_bss_info()
4165 bssid->tsf = 0; in collect_bss_info()
/linux-4.4.14/include/net/
Dcfg80211.h1625 u64 tsf; member
4099 const u8 *bssid, u64 tsf, u16 capability,
4108 const u8 *bssid, u64 tsf, u16 capability, in cfg80211_inform_bss_width() argument
4118 return cfg80211_inform_bss_data(wiphy, &data, ftype, bssid, tsf, in cfg80211_inform_bss_width()
4127 const u8 *bssid, u64 tsf, u16 capability, in cfg80211_inform_bss() argument
4137 return cfg80211_inform_bss_data(wiphy, &data, ftype, bssid, tsf, in cfg80211_inform_bss()
Dmac80211.h3376 u64 tsf);
5399 struct ieee80211_noa_data *data, u32 tsf);
5407 void ieee80211_update_p2p_noa(struct ieee80211_noa_data *data, u32 tsf);
/linux-4.4.14/drivers/staging/vt6655/
Ddevice_main.c1518 u64 tsf; in vnt_get_tsf() local
1520 CARDbGetCurrentTSF(priv, &tsf); in vnt_get_tsf()
1522 return tsf; in vnt_get_tsf()
1526 u64 tsf) in vnt_set_tsf() argument
1530 CARDvUpdateNextTBTT(priv, tsf, vif->bss_conf.beacon_int); in vnt_set_tsf()
/linux-4.4.14/net/wireless/
Dscan.c945 const u8 *bssid, u64 tsf, u16 capability, in cfg80211_inform_bss_data() argument
986 ies->tsf = tsf; in cfg80211_inform_bss_data()
1068 ies->tsf = le64_to_cpu(mgmt->u.probe_resp.timestamp); in cfg80211_inform_bss_frame_data()
1596 sprintf(buf, "tsf=%016llx", (unsigned long long)(ies->tsf)); in ieee80211_bss()
Dnl80211.c6725 if (nla_put_u64(msg, NL80211_BSS_TSF, ies->tsf)) in nl80211_send_bss()
6735 if (nla_put_u64(msg, NL80211_BSS_BEACON_TSF, ies->tsf)) in nl80211_send_bss()
/linux-4.4.14/kernel/sched/
Ddebug.c512 void print_numa_stats(struct seq_file *m, int node, unsigned long tsf, in print_numa_stats() argument
516 SEQ_printf(m, "task_private=%lu task_shared=%lu ", tsf, tpf); in print_numa_stats()
Dsched.h1704 print_numa_stats(struct seq_file *m, int node, unsigned long tsf,
Dfair.c8328 unsigned long tsf = 0, tpf = 0, gsf = 0, gpf = 0; in show_numa_stats() local
8332 tsf = p->numa_faults[task_faults_idx(NUMA_MEM, node, 0)]; in show_numa_stats()
8339 print_numa_stats(m, node, tsf, tpf, gsf, gpf); in show_numa_stats()
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c785 struct ieee80211_vif *vif, u64 tsf) in mac80211_hwsim_set_tsf() argument
790 u64 delta = abs(tsf - now); in mac80211_hwsim_set_tsf()
793 if (tsf > now) { in mac80211_hwsim_set_tsf()
1535 u64 tsf = mac80211_hwsim_get_tsf(hw, NULL); in mac80211_hwsim_config() local
1537 u64 until_tbtt = bcn_int - do_div(tsf, bcn_int); in mac80211_hwsim_config()
1606 u64 tsf, until_tbtt; in mac80211_hwsim_bss_info_changed() local
1609 tsf = mac80211_hwsim_get_tsf(hw, vif); in mac80211_hwsim_bss_info_changed()
1611 until_tbtt = bcn_int - do_div(tsf, bcn_int); in mac80211_hwsim_bss_info_changed()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c152 u64 tsf; in rtl92de_get_hw_reg() local
153 u32 *ptsf_low = (u32 *)&tsf; in rtl92de_get_hw_reg()
154 u32 *ptsf_high = ((u32 *)&tsf) + 1; in rtl92de_get_hw_reg()
158 *((u64 *) (val)) = tsf; in rtl92de_get_hw_reg()
456 (u32) (mac->tsf & 0xffffffff)); in rtl92de_set_hw_reg()
458 (u32) ((mac->tsf >> 32) & 0xffffffff)); in rtl92de_set_hw_reg()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c133 u64 tsf; in rtl8723e_get_hw_reg() local
134 u32 *ptsf_low = (u32 *)&tsf; in rtl8723e_get_hw_reg()
135 u32 *ptsf_high = ((u32 *)&tsf) + 1; in rtl8723e_get_hw_reg()
140 *((u64 *)(val)) = tsf; in rtl8723e_get_hw_reg()
501 (u32)(mac->tsf & 0xffffffff)); in rtl8723e_set_hw_reg()
503 (u32)((mac->tsf >> 32) & 0xffffffff)); in rtl8723e_set_hw_reg()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1566 u64 tsf; in rtl92cu_get_hw_reg() local
1567 u32 *ptsf_low = (u32 *)&tsf; in rtl92cu_get_hw_reg()
1568 u32 *ptsf_high = ((u32 *)&tsf) + 1; in rtl92cu_get_hw_reg()
1572 *((u64 *)(val)) = tsf; in rtl92cu_get_hw_reg()
1928 rtl_write_dword(rtlpriv, REG_TSFTR, (u32)(mac->tsf & in rtl92cu_set_hw_reg()
1931 (u32)((mac->tsf >> 32) & 0xffffffff)); in rtl92cu_set_hw_reg()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c133 u64 tsf; in rtl92ce_get_hw_reg() local
134 u32 *ptsf_low = (u32 *)&tsf; in rtl92ce_get_hw_reg()
135 u32 *ptsf_high = ((u32 *)&tsf) + 1; in rtl92ce_get_hw_reg()
140 *((u64 *) (val)) = tsf; in rtl92ce_get_hw_reg()
501 (u32) (mac->tsf & 0xffffffff)); in rtl92ce_set_hw_reg()
503 (u32) ((mac->tsf >> 32) & 0xffffffff)); in rtl92ce_set_hw_reg()
/linux-4.4.14/drivers/staging/rtl8723au/hal/
Drtl8723a_hal_init.c1977 u64 tsf; in hw_var_set_correct_tsf() local
1984 tsf = pmlmeext->TSFValue - in hw_var_set_correct_tsf()
2001 rtl8723au_write32(padapter, reg_tsftr, tsf); in hw_var_set_correct_tsf()
2002 rtl8723au_write32(padapter, reg_tsftr + 4, tsf >> 32); in hw_var_set_correct_tsf()
Drtl8723a_cmd.c400 put_unaligned_le64(cur_network->tsf, in ConstructProbeRsp()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c349 u64 tsf; in rtl88ee_get_hw_reg() local
350 u32 *ptsf_low = (u32 *)&tsf; in rtl88ee_get_hw_reg()
351 u32 *ptsf_high = ((u32 *)&tsf) + 1; in rtl88ee_get_hw_reg()
356 *((u64 *)(val)) = tsf; in rtl88ee_get_hw_reg()
719 (u32)(mac->tsf & 0xffffffff)); in rtl88ee_set_hw_reg()
721 (u32)((mac->tsf >> 32) & 0xffffffff)); in rtl88ee_set_hw_reg()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c341 u64 tsf; in rtl8723be_get_hw_reg() local
342 u32 *ptsf_low = (u32 *)&tsf; in rtl8723be_get_hw_reg()
343 u32 *ptsf_high = ((u32 *)&tsf) + 1; in rtl8723be_get_hw_reg()
348 *((u64 *)(val)) = tsf; in rtl8723be_get_hw_reg()
707 (u32) (mac->tsf & 0xffffffff)); in rtl8723be_set_hw_reg()
709 (u32) ((mac->tsf >> 32) & 0xffffffff)); in rtl8723be_set_hw_reg()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c331 u64 tsf; in rtl92ee_get_hw_reg() local
332 u32 *ptsf_low = (u32 *)&tsf; in rtl92ee_get_hw_reg()
333 u32 *ptsf_high = ((u32 *)&tsf) + 1; in rtl92ee_get_hw_reg()
338 *((u64 *)(val)) = tsf; in rtl92ee_get_hw_reg()
668 (u32)(mac->tsf & 0xffffffff)); in rtl92ee_set_hw_reg()
670 (u32)((mac->tsf >> 32) & 0xffffffff)); in rtl92ee_set_hw_reg()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Drxon.c295 u64 tsf; in iwl_send_rxon_timing() local
343 tsf = priv->timestamp; /* tsf is modifed by do_div: copy it */ in iwl_send_rxon_timing()
345 rem = do_div(tsf, interval_tm); in iwl_send_rxon_timing()
/linux-4.4.14/drivers/staging/rtl8188eu/hal/
Dusb_halinit.c1365 u64 tsf; in SetHwReg8188EU() local
1369tsf = pmlmeext->TSFValue - rtw_modular64(pmlmeext->TSFValue, (pmlmeinfo->bcn_interval*1024)) - 102… in SetHwReg8188EU()
1377 usb_write32(Adapter, REG_TSFTR, tsf); in SetHwReg8188EU()
1378 usb_write32(Adapter, REG_TSFTR+4, tsf>>32); in SetHwReg8188EU()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c65 u64 tsf; in rtl92se_get_hw_reg() local
66 u32 *ptsf_low = (u32 *)&tsf; in rtl92se_get_hw_reg()
67 u32 *ptsf_high = ((u32 *)&tsf) + 1; in rtl92se_get_hw_reg()
72 *((u64 *) (val)) = tsf; in rtl92se_get_hw_reg()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c465 u64 tsf; in rtl8821ae_get_hw_reg() local
466 u32 *ptsf_low = (u32 *)&tsf; in rtl8821ae_get_hw_reg()
467 u32 *ptsf_high = ((u32 *)&tsf) + 1; in rtl8821ae_get_hw_reg()
472 *((u64 *)(val)) = tsf; in rtl8821ae_get_hw_reg()
771 (u32)(mac->tsf & 0xffffffff)); in rtl8821ae_set_hw_reg()
773 (u32)((mac->tsf >> 32) & 0xffffffff)); in rtl8821ae_set_hw_reg()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dwmi.c355 u64 tsf = le64_to_cpu(rx_mgmt_frame->u.beacon.timestamp); in wmi_evt_rx_mgmt() local
362 wil_dbg_wmi(wil, "TSF : 0x%016llx\n", tsf); in wmi_evt_rx_mgmt()
Dwmi.h1054 __le64 tsf; member
Dcfg80211.c133 le64_to_cpu(reply.evt.tsf), reply.evt.status, in wil_cid_fill_sinfo()
Ddebugfs.c1019 le64_to_cpu(reply.evt.tsf), in wil_bf_debugfs_show()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dlibipw.h238 u64 tsf; member
/linux-4.4.14/drivers/staging/wilc1000/
Dhost_interface.c223 u32 tsf; member
1168 *(pu8CurrByte++) = (ptstrJoinBssParam->tsf) & 0xFF; in Handle_Connect()
1169 *(pu8CurrByte++) = ((ptstrJoinBssParam->tsf) >> 8) & 0xFF; in Handle_Connect()
1170 *(pu8CurrByte++) = ((ptstrJoinBssParam->tsf) >> 16) & 0xFF; in Handle_Connect()
1171 *(pu8CurrByte++) = ((ptstrJoinBssParam->tsf) >> 24) & 0xFF; in Handle_Connect()
4806 pNewJoinBssParam->tsf = ptstrNetworkInfo->u32Tsf; in host_int_ParseJoinBssParam()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dsta_ioctl.c154 bss_desc->timestamp = ies->tsf; in mwifiex_fill_new_bss_desc()
Dfw.h1464 __le64 tsf; member
Dscan.c2381 fw_tsf = le64_to_cpu(scan_info_tlv->tsf); in mwifiex_handle_event_ext_scan_report()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
Dcommon.c3642 u64 tsf; in il_send_rxon_timing() local
3671 tsf = il->timestamp; /* tsf is modifed by do_div: copy it */ in il_send_rxon_timing()
3673 rem = do_div(tsf, interval_tm); in il_send_rxon_timing()
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c285 pnetwork->network.tsf, in rtw_cfg80211_inform_bss()
2751 bss->tsf = get_unaligned_le64(&mgmt->u.beacon.timestamp); in rtw_add_beacon()
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib.h634 u64 tsf; member
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211.h705 u64 tsf; member