/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | common-beacon.c | 21 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf, in ath9k_get_next_tbtt() argument 26 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time); in ath9k_get_next_tbtt() 28 div_u64_rem(tsf, divisor, &offset); in ath9k_get_next_tbtt() 30 return (u32) tsf + divisor - offset; in ath9k_get_next_tbtt() 47 u64 tsf; in ath9k_cmn_beacon_config_sta() local 69 tsf = ath9k_hw_gettsf64(ah); in ath9k_cmn_beacon_config_sta() 70 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval); in ath9k_cmn_beacon_config_sta() 77 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval); in ath9k_cmn_beacon_config_sta()
|
D | common-spectral.c | 140 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() 499 struct ath_rx_status *rs, u64 tsf) in ath_cmn_process_fft() argument 653 tsf, freq, chan_type); in ath_cmn_process_fft() 666 tsf, freq, chan_type); in ath_cmn_process_fft()
|
D | htc_drv_beacon.c | 268 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()
|
D | common-spectral.h | 164 struct ath_rx_status *rs, u64 tsf); 182 struct ath_rx_status *rs, u64 tsf) in ath_cmn_process_fft() argument
|
D | channel.c | 1430 u32 tsf, target_tsf; in ath9k_update_p2p_ps_timer() local 1437 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_update_p2p_ps_timer() 1445 if (target_tsf - tsf < ATH_P2P_PS_STOP_TIME) in ath9k_update_p2p_ps_timer() 1446 target_tsf = tsf + ATH_P2P_PS_STOP_TIME; in ath9k_update_p2p_ps_timer() 1449 __func__, avp->noa.absent, tsf, target_tsf, in ath9k_update_p2p_ps_timer() 1450 (target_tsf - tsf) / 1000); in ath9k_update_p2p_ps_timer() 1458 u32 tsf; in ath9k_update_p2p_ps() local 1471 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_update_p2p_ps() 1472 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps() 1562 u32 tsf; in ath9k_p2p_ps_timer() local [all …]
|
D | beacon.c | 312 u64 tsf; in ath9k_beacon_choose_slot() local 323 tsf = ath9k_hw_gettsf64(sc->sc_ah); in ath9k_beacon_choose_slot() 324 tsf += TU_TO_USEC(sc->sc_ah->config.sw_beacon_response_time); in ath9k_beacon_choose_slot() 325 tsftu = TSF_TO_TU((tsf * ATH_BCBUF) >>32, tsf * ATH_BCBUF); in ath9k_beacon_choose_slot() 329 slot, tsf, tsftu / ATH_BCBUF); in ath9k_beacon_choose_slot()
|
D | recv.c | 788 u64 tsf) in ath9k_process_tsf() argument 790 u32 tsf_lower = tsf & 0xffffffff; in ath9k_process_tsf() 792 rxs->mactime = (tsf & ~0xffffffffULL) | rs->rs_tstamp; in ath9k_process_tsf() 811 bool *decrypt_error, u64 tsf) in ath9k_rx_skb_preprocess() argument 862 ath9k_process_tsf(rx_stats, rx_status, tsf); in ath9k_rx_skb_preprocess() 1082 u64 tsf = 0; in ath_rx_tasklet() local 1095 tsf = ath9k_hw_gettsf64(ah); in ath_rx_tasklet() 1126 &decrypt_error, tsf); in ath_rx_tasklet()
|
/Linux-v4.19/drivers/staging/vt6656/ |
D | card.c | 572 u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval) in vnt_get_next_tbtt() argument 582 do_div(tsf, beacon_int); in vnt_get_next_tbtt() 583 tsf += 1; in vnt_get_next_tbtt() 584 tsf *= beacon_int; in vnt_get_next_tbtt() 587 return tsf; in vnt_get_next_tbtt() 641 void vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, in vnt_update_next_tbtt() argument 646 tsf = vnt_get_next_tbtt(tsf, beacon_interval); in vnt_update_next_tbtt() 648 data[0] = (u8)tsf; in vnt_update_next_tbtt() 649 data[1] = (u8)(tsf >> 8); in vnt_update_next_tbtt() 650 data[2] = (u8)(tsf >> 16); in vnt_update_next_tbtt() [all …]
|
D | card.h | 38 void vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, 40 u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval);
|
D | int.h | 34 __le64 tsf; member
|
/Linux-v4.19/include/trace/events/ |
D | ufs.h | 261 TP_PROTO(const char *dev_name, const char *str, void *hdr, void *tsf), 263 TP_ARGS(dev_name, str, hdr, tsf), 269 __array(unsigned char, tsf, 16) 276 memcpy(__entry->tsf, tsf, sizeof(__entry->tsf)); 283 __print_hex(__entry->tsf, sizeof(__entry->tsf))
|
/Linux-v4.19/drivers/net/wireless/ath/ |
D | spectral_common.h | 61 __be64 tsf; member 75 __be64 tsf; member 103 __be64 tsf; member
|
/Linux-v4.19/drivers/net/wireless/broadcom/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() 340 B43legacy_DEBUGFS_FOPS(tsf, tsf_read_file, tsf_write_file, 1); 437 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 …]
|
/Linux-v4.19/net/mac80211/ |
D | mesh_sync.c | 55 u64 tsf; in mesh_sync_adjust_tsf() local 76 tsf = drv_get_tsf(local, sdata); in mesh_sync_adjust_tsf() 77 if (tsf != -1ULL) in mesh_sync_adjust_tsf() 78 drv_set_tsf(local, sdata, tsf + tsfdelta); in mesh_sync_adjust_tsf()
|
D | debugfs_netdev.c | 528 u64 tsf; in ieee80211_if_fmt_tsf() local 530 tsf = drv_get_tsf(local, (struct ieee80211_sub_if_data *)sdata); in ieee80211_if_fmt_tsf() 532 return scnprintf(buf, buflen, "0x%016llx\n", (unsigned long long) tsf); in ieee80211_if_fmt_tsf() 539 unsigned long long tsf; in ieee80211_if_parse_tsf() local 558 ret = kstrtoull(buf, 10, &tsf); in ieee80211_if_parse_tsf() 562 drv_offset_tsf(local, sdata, tsf_is_delta * tsf); in ieee80211_if_parse_tsf() 565 tsf_is_delta * tsf); in ieee80211_if_parse_tsf() 568 tsf = drv_get_tsf(local, sdata) + in ieee80211_if_parse_tsf() 569 tsf_is_delta * tsf; in ieee80211_if_parse_tsf() 570 drv_set_tsf(local, sdata, tsf); in ieee80211_if_parse_tsf() [all …]
|
D | driver-ops.c | 205 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()
|
D | util.c | 3269 ieee80211_extend_noa_desc(struct ieee80211_noa_data *data, u32 tsf, int i) in ieee80211_extend_noa_desc() argument 3271 s32 end = data->desc[i].start + data->desc[i].duration - (tsf + 1); in ieee80211_extend_noa_desc() 3301 ieee80211_extend_absent_time(struct ieee80211_noa_data *data, u32 tsf, in ieee80211_extend_absent_time() argument 3313 if (ieee80211_extend_noa_desc(data, tsf + *offset, i)) in ieee80211_extend_absent_time() 3316 cur = data->desc[i].start - tsf; in ieee80211_extend_absent_time() 3320 cur = data->desc[i].start + data->desc[i].duration - tsf; in ieee80211_extend_absent_time() 3329 ieee80211_get_noa_absent_time(struct ieee80211_noa_data *data, u32 tsf) in ieee80211_get_noa_absent_time() argument 3339 ieee80211_extend_absent_time(data, tsf, &offset); in ieee80211_get_noa_absent_time() 3341 if (!ieee80211_extend_absent_time(data, tsf, &offset)) in ieee80211_get_noa_absent_time() 3350 void ieee80211_update_p2p_noa(struct ieee80211_noa_data *data, u32 tsf) in ieee80211_update_p2p_noa() argument [all …]
|
D | ibss.c | 42 const u16 capability, u64 tsf, in ieee80211_ibss_build_presp() argument 85 mgmt->u.beacon.timestamp = cpu_to_le64(tsf); in ieee80211_ibss_build_presp() 224 const u16 capability, u64 tsf, in __ieee80211_sta_join_ibss() argument 320 capability, tsf, &chandef, in __ieee80211_sta_join_ibss() 411 u64 tsf; in ieee80211_sta_join_ibss() local 474 tsf = ies->tsf; in ieee80211_sta_join_ibss() 482 tsf, false); in ieee80211_sta_join_ibss() 493 u64 tsf; in ieee80211_ibss_csa_beacon() local 513 tsf = ies->tsf; in ieee80211_ibss_csa_beacon() 523 capability, tsf, &ifibss->chandef, in ieee80211_ibss_csa_beacon()
|
/Linux-v4.19/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
|
/Linux-v4.19/drivers/net/wireless/broadcom/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);
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | offload.h | 92 __le64 tsf; member
|
/Linux-v4.19/drivers/net/wireless/ath/carl9170/ |
D | fwcmd.h | 300 __le32 tsf[2]; member 327 struct carl9170_tsf_rsp tsf; member
|
/Linux-v4.19/drivers/net/wireless/ath/ath5k/ |
D | base.c | 203 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 …]
|