/drivers/net/wireless/ath/ath9k/ |
D | common-beacon.c | 22 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 …]
|
D | htc_drv_beacon.c | 266 u64 tsf; in ath9k_htc_choose_bslot() local 273 tsf = be64_to_cpu(swba->tsf); in ath9k_htc_choose_bslot() 274 tsftu = TSF_TO_TU(tsf >> 32, tsf); in ath9k_htc_choose_bslot() 280 slot, tsf, tsftu, intval); in ath9k_htc_choose_bslot()
|
D | spectral.h | 135 struct ath_rx_status *rs, u64 tsf); 139 struct ath_rx_status *rs, u64 tsf) in ath_process_fft() argument
|
D | channel.c | 1240 s32 tsf, target_tsf; in ath9k_update_p2p_ps_timer() local 1247 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_update_p2p_ps_timer() 1253 if (target_tsf - tsf < ATH_P2P_PS_STOP_TIME) in ath9k_update_p2p_ps_timer() 1254 target_tsf = tsf + ATH_P2P_PS_STOP_TIME; in ath9k_update_p2p_ps_timer() 1262 u32 tsf; in ath9k_update_p2p_ps() local 1271 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_update_p2p_ps() 1272 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps() 1362 u32 tsf; in ath9k_p2p_ps_timer() local 1371 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_p2p_ps_timer() 1373 tsf += ATH_P2P_PS_STOP_TIME; in ath9k_p2p_ps_timer() [all …]
|
D | beacon.c | 253 u64 tsf; in ath9k_beacon_choose_slot() local 264 tsf = ath9k_hw_gettsf64(sc->sc_ah); in ath9k_beacon_choose_slot() 265 tsf += TU_TO_USEC(sc->sc_ah->config.sw_beacon_response_time); in ath9k_beacon_choose_slot() 266 tsftu = TSF_TO_TU((tsf * ATH_BCBUF) >>32, tsf * ATH_BCBUF); in ath9k_beacon_choose_slot() 270 slot, tsf, tsftu / ATH_BCBUF); in ath9k_beacon_choose_slot()
|
D | spectral.c | 41 struct ath_rx_status *rs, u64 tsf) in ath_process_fft() argument 172 fft_sample_40.tsf = __cpu_to_be64(tsf); in ath_process_fft() 197 fft_sample_20.tsf = __cpu_to_be64(tsf); in ath_process_fft()
|
D | recv.c | 790 u64 tsf) in ath9k_process_tsf() argument 792 u32 tsf_lower = tsf & 0xffffffff; in ath9k_process_tsf() 794 rxs->mactime = (tsf & ~0xffffffffULL) | rs->rs_tstamp; in ath9k_process_tsf() 813 bool *decrypt_error, u64 tsf) in ath9k_rx_skb_preprocess() argument 864 ath9k_process_tsf(rx_stats, rx_status, tsf); in ath9k_rx_skb_preprocess() 1009 u64 tsf = 0; in ath_rx_tasklet() local 1022 tsf = ath9k_hw_gettsf64(ah); in ath_rx_tasklet() 1053 &decrypt_error, tsf); in ath_rx_tasklet()
|
D | wmi.h | 40 __be64 tsf; member
|
/drivers/staging/vt6656/ |
D | card.c | 613 u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval) in vnt_get_next_tbtt() argument 623 do_div(tsf, beacon_int); in vnt_get_next_tbtt() 624 tsf += 1; in vnt_get_next_tbtt() 625 tsf *= beacon_int; in vnt_get_next_tbtt() 628 return tsf; in vnt_get_next_tbtt() 682 void vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, in vnt_update_next_tbtt() argument 687 tsf = vnt_get_next_tbtt(tsf, beacon_interval); in vnt_update_next_tbtt() 689 data[0] = (u8)tsf; in vnt_update_next_tbtt() 690 data[1] = (u8)(tsf >> 8); in vnt_update_next_tbtt() 691 data[2] = (u8)(tsf >> 16); in vnt_update_next_tbtt() [all …]
|
D | int.h | 48 __le64 tsf; member
|
/drivers/net/wireless/b43legacy/ |
D | debugfs.c | 82 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()
|
D | main.h | 100 void b43legacy_tsf_read(struct b43legacy_wldev *dev, u64 *tsf); 101 void b43legacy_tsf_write(struct b43legacy_wldev *dev, u64 tsf);
|
D | main.c | 409 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 …]
|
/drivers/net/wireless/ath/ |
D | spectral_common.h | 61 __be64 tsf; member 75 __be64 tsf; member 103 __be64 tsf; member
|
/drivers/net/wireless/ath/ath10k/ |
D | spectral.h | 52 size_t bin_len, u64 tsf); 64 size_t bin_len, u64 tsf) in ath10k_spectral_process_fft() argument
|
D | spectral.c | 61 size_t bin_len, u64 tsf) in ath10k_spectral_process_fft() argument 147 fft_sample->tsf = __cpu_to_be64(tsf); in ath10k_spectral_process_fft()
|
D | wmi.c | 1687 u64 tsf) in ath10k_dfs_radar_report() argument 1720 tsf64 = tsf & (~0xFFFFFFFFULL); in ath10k_dfs_radar_report() 1765 u64 tsf) in ath10k_dfs_fft_report() argument 1802 u64 tsf) in ath10k_wmi_event_dfs() argument 1814 __le32_to_cpu(event->hdr.tsf_timestamp), tsf, buf_len); in ath10k_wmi_event_dfs() 1845 ath10k_dfs_radar_report(ar, event, rr, tsf); in ath10k_wmi_event_dfs() 1855 res = ath10k_dfs_fft_report(ar, event, fftr, tsf); in ath10k_wmi_event_dfs() 1868 u64 tsf) in ath10k_wmi_event_spectral_scan() argument 1907 tsf); in ath10k_wmi_event_spectral_scan() 1925 u64 tsf; in ath10k_wmi_event_phyerr() local [all …]
|
/drivers/net/wireless/b43/ |
D | main.h | 76 void b43_tsf_read(struct b43_wldev *dev, u64 * tsf); 77 void b43_tsf_write(struct b43_wldev *dev, u64 tsf);
|
/drivers/media/pci/ngene/ |
D | ngene-cards.c | 625 .tsf = {3, 3}, 639 .tsf = {3, 3}, 654 .tsf = {3, 3}, 669 .tsf = {3, 3}, 685 .tsf = {3, 3}, 704 .tsf = { 4, 4 },
|
/drivers/net/wireless/ath/ath5k/ |
D | base.c | 189 u64 tsf = ath5k_hw_get_tsf64(ah); in ath5k_extend_tsf() local 191 if ((tsf & 0x7fff) < rstamp) in ath5k_extend_tsf() 192 tsf -= 0x8000; in ath5k_extend_tsf() 194 return (tsf & ~0x7fff) | rstamp; in ath5k_extend_tsf() 1230 u64 tsf, bc_tstamp; in ath5k_check_ibss_tsf() local 1240 tsf = ath5k_hw_get_tsf64(ah); in ath5k_check_ibss_tsf() 1242 hw_tu = TSF_TO_TU(tsf); in ath5k_check_ibss_tsf() 1249 (unsigned long long)tsf); in ath5k_check_ibss_tsf() 1266 (unsigned long long)tsf); in ath5k_check_ibss_tsf() 1267 rxs->mactime = tsf; in ath5k_check_ibss_tsf() [all …]
|
/drivers/net/wireless/ath/carl9170/ |
D | fwcmd.h | 292 __le32 tsf[2]; member 319 struct carl9170_tsf_rsp tsf; member
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | fw-api-tx.h | 537 __le64 tsf; member 550 __le64 tsf; member
|
D | mac-ctxt.c | 1258 u64 tsf; in iwl_mvm_rx_beacon_notif() local 1266 tsf = le64_to_cpu(beacon->tsf); in iwl_mvm_rx_beacon_notif() 1272 tsf = le64_to_cpu(beacon->tsf); in iwl_mvm_rx_beacon_notif() 1279 beacon_notify_hdr->failure_frame, tsf, in iwl_mvm_rx_beacon_notif()
|
/drivers/net/wireless/rt2x00/ |
D | rt2400pci.c | 1224 u64 tsf; in rt2400pci_fill_rxdone() local 1247 tsf = rt2x00dev->ops->hw->get_tsf(rt2x00dev->hw, NULL); in rt2400pci_fill_rxdone() 1249 rx_high = upper_32_bits(tsf); in rt2400pci_fill_rxdone() 1251 if ((u32)tsf <= rx_low) in rt2400pci_fill_rxdone() 1695 u64 tsf; in rt2400pci_get_tsf() local 1699 tsf = (u64) rt2x00_get_field32(reg, CSR17_HIGH_TSFTIMER) << 32; in rt2400pci_get_tsf() 1701 tsf |= rt2x00_get_field32(reg, CSR16_LOW_TSFTIMER); in rt2400pci_get_tsf() 1703 return tsf; in rt2400pci_get_tsf()
|
/drivers/staging/rtl8723au/include/ |
D | wlan_bssdef.h | 97 u64 tsf; member
|