| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | common-beacon.c | 22 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf, in ath9k_get_next_tbtt() argument 27 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time); in ath9k_get_next_tbtt() 29 div_u64_rem(tsf, divisor, &offset); in ath9k_get_next_tbtt() 31 return (u32) tsf + divisor - offset; in ath9k_get_next_tbtt() 48 u64 tsf; in ath9k_cmn_beacon_config_sta() local 70 tsf = ath9k_hw_gettsf64(ah); in ath9k_cmn_beacon_config_sta() 71 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval); in ath9k_cmn_beacon_config_sta() 78 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval); in ath9k_cmn_beacon_config_sta()
|
| H A D | common-spectral.c | 129 u8 *sample_buf, u64 tsf, u16 freq, int chan_type); 135 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_fft() argument 170 fft_sample_20.tsf = __cpu_to_be64(tsf); in ath_cmn_process_ht20_fft() 239 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_40_fft() argument 309 fft_sample_40.tsf = __cpu_to_be64(tsf); in ath_cmn_process_ht20_40_fft() 470 struct ath_rx_status *rs, u64 tsf) in ath_cmn_process_fft() argument 625 tsf, freq, chan_type); in ath_cmn_process_fft() 643 tsf, freq, chan_type); in ath_cmn_process_fft()
|
| H A D | channel.c | 1425 u32 tsf, target_tsf; in ath9k_update_p2p_ps_timer() local 1432 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_update_p2p_ps_timer() 1440 if (target_tsf - tsf < ATH_P2P_PS_STOP_TIME) in ath9k_update_p2p_ps_timer() 1441 target_tsf = tsf + ATH_P2P_PS_STOP_TIME; in ath9k_update_p2p_ps_timer() 1444 __func__, avp->noa.absent, tsf, target_tsf, in ath9k_update_p2p_ps_timer() 1445 (target_tsf - tsf) / 1000); in ath9k_update_p2p_ps_timer() 1453 u32 tsf; in ath9k_update_p2p_ps() local 1466 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_update_p2p_ps() 1467 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps() 1557 u32 tsf; in ath9k_p2p_ps_timer() local [all …]
|
| H A D | common-spectral.h | 181 struct ath_rx_status *rs, u64 tsf); 199 struct ath_rx_status *rs, u64 tsf) in ath_cmn_process_fft() argument
|
| H A D | wmi.h | 40 __be64 tsf; member
|
| H A D | main.c | 1949 u64 tsf; in ath9k_get_tsf() local 1955 tsf = ath9k_hw_gettsf64(sc->sc_ah); in ath9k_get_tsf() 1957 tsf = sc->cur_chan->tsf_val + in ath9k_get_tsf() 1960 tsf += le64_to_cpu(avp->tsf_adjust); in ath9k_get_tsf() 1964 return tsf; in ath9k_get_tsf() 1969 u64 tsf) in ath9k_set_tsf() argument 1976 tsf -= le64_to_cpu(avp->tsf_adjust); in ath9k_set_tsf() 1979 ath9k_hw_settsf64(sc->sc_ah, tsf); in ath9k_set_tsf() 1980 avp->chanctx->tsf_val = tsf; in ath9k_set_tsf()
|
| /linux/drivers/net/wireless/ath/ |
| H A D | spectral_common.h | 62 __be64 tsf; member 76 __be64 tsf; member 104 __be64 tsf; member 123 __be32 tsf; member
|
| /linux/drivers/ufs/core/ |
| H A D | ufs_trace.h | 81 #define show_ufs_cmd_trace_tsf(tsf) \ argument 82 __print_symbolic(tsf, UFS_CMD_TRACE_TSF_TYPES) 350 void *tsf, enum ufs_trace_tsf_t tsf_t), 352 TP_ARGS(hba, str_t, hdr, tsf, tsf_t), 358 __array(unsigned char, tsf, 16) 366 memcpy(__entry->tsf, tsf, sizeof(__entry->tsf)); 375 __print_hex(__entry->tsf, sizeof(__entry->tsf))
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | spectral.h | 41 size_t bin_len, u64 tsf); 53 size_t bin_len, u64 tsf) in ath10k_spectral_process_fft() argument
|
| H A D | spectral.c | 66 size_t bin_len, u64 tsf) in ath10k_spectral_process_fft() argument 139 fft_sample->tsf = __cpu_to_be64(tsf); in ath10k_spectral_process_fft()
|
| /linux/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | main.h | 87 void b43legacy_tsf_read(struct b43legacy_wldev *dev, u64 *tsf); 88 void b43legacy_tsf_write(struct b43legacy_wldev *dev, u64 tsf);
|
| H A D | main.c | 388 void b43legacy_tsf_read(struct b43legacy_wldev *dev, u64 *tsf) in b43legacy_tsf_read() argument 410 *tsf = high; in b43legacy_tsf_read() 411 *tsf <<= 32; in b43legacy_tsf_read() 412 *tsf |= low; in b43legacy_tsf_read() 434 *tsf = v3; in b43legacy_tsf_read() 435 *tsf <<= 48; in b43legacy_tsf_read() 438 *tsf |= tmp; in b43legacy_tsf_read() 441 *tsf |= tmp; in b43legacy_tsf_read() 442 *tsf |= v0; in b43legacy_tsf_read() 464 static void b43legacy_tsf_write_locked(struct b43legacy_wldev *dev, u64 tsf) in b43legacy_tsf_write_locked() argument [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | main.h | 63 void b43_tsf_read(struct b43_wldev *dev, u64 * tsf); 64 void b43_tsf_write(struct b43_wldev *dev, u64 tsf);
|
| /linux/net/wireless/tests/ |
| H A D | scan.c | 347 u64 tsf = 0x1000000000000000ULL; in test_inform_bss_ssid_only() local 364 CFG80211_BSS_FTYPE_PRESP, bssid, tsf, in test_inform_bss_ssid_only() 383 KUNIT_EXPECT_EQ(test, ies->tsf, tsf); in test_inform_bss_ssid_only() 455 u64 tsf = 0x1000000000000000ULL; in KUNIT_ARRAY_PARAM_DESC() local 609 CFG80211_BSS_FTYPE_PRESP, bssid, tsf, in KUNIT_ARRAY_PARAM_DESC() 650 KUNIT_EXPECT_EQ(test, ies->tsf, tsf + le64_to_cpu(sta_prof.tsf_offset)); in KUNIT_ARRAY_PARAM_DESC()
|
| /linux/drivers/net/wireless/ath/carl9170/ |
| H A D | fwcmd.h | 300 __le32 tsf[2]; member 327 struct carl9170_tsf_rsp tsf; member
|
| /linux/net/mac80211/ |
| H A D | ibss.c | 40 const u16 capability, u64 tsf, in ieee80211_ibss_build_presp() argument 82 mgmt->u.beacon.timestamp = cpu_to_le64(tsf); in ieee80211_ibss_build_presp() 215 const u16 capability, u64 tsf, in __ieee80211_sta_join_ibss() argument 308 capability, tsf, &chanreq.oper, in __ieee80211_sta_join_ibss() 394 u64 tsf; in ieee80211_sta_join_ibss() local 449 tsf = ies->tsf; in ieee80211_sta_join_ibss() 457 tsf, false); in ieee80211_sta_join_ibss() 469 u64 tsf; in ieee80211_ibss_csa_beacon() local 486 tsf in ieee80211_ibss_csa_beacon() [all...] |
| H A D | driver-ops.c | 267 u64 tsf) in drv_set_tsf() argument 275 trace_drv_set_tsf(local, sdata, tsf); in drv_set_tsf() 277 local->ops->set_tsf(&local->hw, &sdata->vif, tsf); in drv_set_tsf()
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | base.c | 202 u64 tsf = ath5k_hw_get_tsf64(ah); in ath5k_extend_tsf() local 204 if ((tsf & 0x7fff) < rstamp) in ath5k_extend_tsf() 205 tsf -= 0x8000; in ath5k_extend_tsf() 207 return (tsf & ~0x7fff) | rstamp; in ath5k_extend_tsf() 1288 u64 tsf, bc_tstamp; in ath5k_check_ibss_tsf() local 1298 tsf = ath5k_hw_get_tsf64(ah); in ath5k_check_ibss_tsf() 1300 hw_tu = TSF_TO_TU(tsf); in ath5k_check_ibss_tsf() 1307 (unsigned long long)tsf); in ath5k_check_ibss_tsf() 1324 (unsigned long long)tsf); in ath5k_check_ibss_tsf() 1325 rxs->mactime = tsf; in ath5k_check_ibss_tsf() [all …]
|
| H A D | debug.c | 182 u64 tsf; in read_file_beacon() local 212 tsf = ath5k_hw_get_tsf64(ah); in read_file_beacon() 215 (unsigned long long)tsf, TSF_TO_TU(tsf)); in read_file_beacon()
|
| /linux/drivers/media/pci/ngene/ |
| H A D | ngene-cards.c | 1034 .tsf = {3, 3}, 1048 .tsf = {3, 3}, 1063 .tsf = {3, 3}, 1078 .tsf = {3, 3}, 1094 .tsf = {3, 3}, 1113 .tsf = { 4, 4 },
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2400pci.c | 1216 u64 tsf; in rt2400pci_fill_rxdone() local 1239 tsf = rt2x00dev->ops->hw->get_tsf(rt2x00dev->hw, NULL); in rt2400pci_fill_rxdone() 1241 rx_high = upper_32_bits(tsf); in rt2400pci_fill_rxdone() 1243 if ((u32)tsf <= rx_low) in rt2400pci_fill_rxdone() 1687 u64 tsf; in rt2400pci_get_tsf() local 1691 tsf = (u64) rt2x00_get_field32(reg, CSR17_HIGH_TSFTIMER) << 32; in rt2400pci_get_tsf() 1693 tsf |= rt2x00_get_field32(reg, CSR16_LOW_TSFTIMER); in rt2400pci_get_tsf() 1695 return tsf; in rt2400pci_get_tsf()
|
| /linux/net/wireless/ |
| H A D | scan.c | 1841 if (new->tsf - old->tsf < USEC_PER_SEC) in cfg80211_check_stuck_ecsa() 2198 u64 tsf; member 2349 ies->tsf = data->tsf; in cfg80211_inform_single_bss_data() 2481 .tsf = tx_data->tsf, in cfg80211_merge_profile() 3045 data.tsf = tx_data->tsf + in cfg80211_parse_ml_elem_sta_data() 3207 const u8 *bssid, u64 tsf, u1 in cfg80211_parse_ml_sta_data() 3219 cfg80211_inform_bss_data(struct wiphy * wiphy,struct cfg80211_inform_bss * data,enum cfg80211_bss_frame_type ftype,const u8 * bssid,u64 tsf,u16 capability,u16 beacon_interval,const u8 * ie,size_t ielen,gfp_t gfp) cfg80211_inform_bss_data() argument 3270 u64 tsf; cfg80211_inform_bss_frame_data() local [all...] |
| /linux/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_wlan_util.c | 1668 u64 tsf = 0; in adaptive_early_32k() local 1677 tsf = le32_to_cpu(*(pbuf + 1)); in adaptive_early_32k() 1678 tsf = tsf << 32; in adaptive_early_32k() 1679 tsf |= le32_to_cpu(*pbuf); in adaptive_early_32k() 1683 delay_ms = do_div(tsf, (pmlmeinfo->bcn_interval * 1024)); in adaptive_early_32k()
|
| /linux/drivers/net/wireless/zydas/zd1211rw/ |
| H A D | zd_chip.c | 1534 u64 tsf; in zd_chip_get_tsf() local 1543 tsf = values[1]; in zd_chip_get_tsf() 1544 tsf = (tsf << 32) | values[0]; in zd_chip_get_tsf() 1546 return tsf; in zd_chip_get_tsf()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | mac80211_if.c | 925 u64 tsf; in brcms_ops_get_tsf() local 928 tsf = brcms_c_tsf_get(wl->wlc); in brcms_ops_get_tsf() 931 return tsf; in brcms_ops_get_tsf() 935 struct ieee80211_vif *vif, u64 tsf) in brcms_ops_set_tsf() argument 940 brcms_c_tsf_set(wl->wlc, tsf); in brcms_ops_set_tsf()
|