/kernel/linux/linux-6.6/drivers/staging/vt6656/ |
H A D | card.c | 258 * tsf - Current TSF counter 261 * tsf - Current TSF counter 266 u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval) in vnt_get_next_tbtt() argument 276 do_div(tsf, beacon_int); in vnt_get_next_tbtt() 277 tsf += 1; in vnt_get_next_tbtt() 278 tsf *= beacon_int; in vnt_get_next_tbtt() 281 return tsf; in vnt_get_next_tbtt() 306 int vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, in vnt_update_next_tbtt() argument 312 tsf = vnt_get_next_tbtt(tsf, beacon_interva in vnt_update_next_tbtt() [all...] |
H A D | card.h | 35 int vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, 37 u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval);
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A 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()
|
H A D | common-spectral.c | 128 u8 *sample_buf, u64 tsf, u16 freq, int chan_type); 134 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_fft() 169 fft_sample_20.tsf = __cpu_to_be64(tsf); in ath_cmn_process_ht20_fft() 238 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_40_fft() 308 fft_sample_40.tsf = __cpu_to_be64(tsf); in ath_cmn_process_ht20_40_fft() 469 struct ath_rx_status *rs, u64 tsf) in ath_cmn_process_fft() 624 tsf, freq, chan_type); in ath_cmn_process_fft() 642 tsf, fre in ath_cmn_process_fft() 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) ath_cmn_process_ht20_fft() 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) ath_cmn_process_ht20_40_fft() argument 468 ath_cmn_process_fft(struct ath_spec_scan_priv *spec_priv, struct ieee80211_hdr *hdr, struct ath_rx_status *rs, u64 tsf) ath_cmn_process_fft() argument [all...] |
H A 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() 281 "Choose slot: %d, tsf: %llu, tsftu: %u, intval: %u\n", in ath9k_htc_choose_bslot() 282 slot, tsf, tsftu, intval); in ath9k_htc_choose_bslot()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A 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()
|
H A D | common-spectral.c | 128 u8 *sample_buf, u64 tsf, u16 freq, int chan_type); 134 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_fft() 169 fft_sample_20.tsf = __cpu_to_be64(tsf); in ath_cmn_process_ht20_fft() 238 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_40_fft() 308 fft_sample_40.tsf = __cpu_to_be64(tsf); in ath_cmn_process_ht20_40_fft() 469 struct ath_rx_status *rs, u64 tsf) in ath_cmn_process_fft() 624 tsf, freq, chan_type); in ath_cmn_process_fft() 642 tsf, fre in ath_cmn_process_fft() 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) ath_cmn_process_ht20_fft() 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) ath_cmn_process_ht20_40_fft() argument 468 ath_cmn_process_fft(struct ath_spec_scan_priv *spec_priv, struct ieee80211_hdr *hdr, struct ath_rx_status *rs, u64 tsf) ath_cmn_process_fft() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
H A D | card.c | 280 * tsf - Current TSF counter 283 * tsf - Current TSF counter 288 u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval) in vnt_get_next_tbtt() argument 298 do_div(tsf, beacon_int); in vnt_get_next_tbtt() 299 tsf += 1; in vnt_get_next_tbtt() 300 tsf *= beacon_int; in vnt_get_next_tbtt() 303 return tsf; in vnt_get_next_tbtt() 328 int vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, in vnt_update_next_tbtt() argument 334 tsf = vnt_get_next_tbtt(tsf, beacon_interva in vnt_update_next_tbtt() [all...] |
H A D | card.h | 38 int vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, 40 u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval);
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
H A D | spectral_common.h | 63 __be64 tsf; member 77 __be64 tsf; member 105 __be64 tsf; member 124 __be32 tsf; member
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | ufs.h | 284 TP_PROTO(const char *dev_name, const char *str, void *hdr, void *tsf), 286 TP_ARGS(dev_name, str, hdr, tsf), 292 __array(unsigned char, tsf, 16) 299 memcpy(__entry->tsf, tsf, sizeof(__entry->tsf)); 306 __print_hex(__entry->tsf, sizeof(__entry->tsf))
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | ufs.h | 80 #define show_ufs_cmd_trace_tsf(tsf) \ 81 __print_symbolic(tsf, UFS_CMD_TRACE_TSF_TYPES) 345 void *tsf, enum ufs_trace_tsf_t tsf_t), 347 TP_ARGS(dev_name, str_t, hdr, tsf, tsf_t), 353 __array(unsigned char, tsf, 16) 361 memcpy(__entry->tsf, tsf, sizeof(__entry->tsf)); 370 __print_hex(__entry->tsf, sizeof(__entry->tsf)) [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
H A D | debugfs.c | 69 u64 tsf; in tsf_read_file() local 71 b43legacy_tsf_read(dev, &tsf); in tsf_read_file() 73 (unsigned int)((tsf & 0xFFFFFFFF00000000ULL) >> 32), in tsf_read_file() 74 (unsigned int)(tsf & 0xFFFFFFFFULL)); in tsf_read_file() 82 u64 tsf; in tsf_write_file() local 84 if (sscanf(buf, "%llu", (unsigned long long *)(&tsf)) != 1) in tsf_write_file() 86 b43legacy_tsf_write(dev, tsf); in tsf_write_file() 327 B43legacy_DEBUGFS_FOPS(tsf, tsf_read_file, tsf_write_file, 1); 407 ADD_FILE(tsf, 0600); in b43legacy_debugfs_add_device()
|
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);
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/ |
H A D | debugfs.c | 69 u64 tsf; in tsf_read_file() local 71 b43legacy_tsf_read(dev, &tsf); in tsf_read_file() 73 (unsigned int)((tsf & 0xFFFFFFFF00000000ULL) >> 32), in tsf_read_file() 74 (unsigned int)(tsf & 0xFFFFFFFFULL)); in tsf_read_file() 82 u64 tsf; in tsf_write_file() local 84 if (sscanf(buf, "%llu", (unsigned long long *)(&tsf)) != 1) in tsf_write_file() 86 b43legacy_tsf_write(dev, tsf); in tsf_write_file() 327 B43legacy_DEBUGFS_FOPS(tsf, tsf_read_file, tsf_write_file, 1); 395 ADD_FILE(tsf, 0600); in b43legacy_debugfs_add_device()
|
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);
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | mesh_sync.c | 12 /* This is not in the standard. It represents a tolerable tsf drift below 52 u64 tsf; in mesh_sync_adjust_tsf() local 73 tsf = drv_get_tsf(local, sdata); in mesh_sync_adjust_tsf() 74 if (tsf != -1ULL) in mesh_sync_adjust_tsf() 75 drv_set_tsf(local, sdata, tsf + tsfdelta); in mesh_sync_adjust_tsf() 98 * have rx timestamps, then use current tsf as an approximation. in mesh_sync_offset_rx_bcn_presp() 178 /* Since ajusting the tsf here would in mesh_sync_offset_adjust_tsf() 180 * to the driver tsf setter, we punt in mesh_sync_offset_adjust_tsf() 181 * the tsf adjustment to the mesh tasklet in mesh_sync_offset_adjust_tsf()
|
H A D | debugfs_netdev.c | 523 u64 tsf; in ieee80211_if_fmt_tsf() local 525 tsf = drv_get_tsf(local, (struct ieee80211_sub_if_data *)sdata); in ieee80211_if_fmt_tsf() 527 return scnprintf(buf, buflen, "0x%016llx\n", (unsigned long long) tsf); in ieee80211_if_fmt_tsf() 534 unsigned long long tsf; in ieee80211_if_parse_tsf() local 553 ret = kstrtoull(buf, 10, &tsf); in ieee80211_if_parse_tsf() 557 drv_offset_tsf(local, sdata, tsf_is_delta * tsf); in ieee80211_if_parse_tsf() 560 tsf_is_delta * tsf); in ieee80211_if_parse_tsf() 563 tsf = drv_get_tsf(local, sdata) + in ieee80211_if_parse_tsf() 564 tsf_is_delta * tsf; in ieee80211_if_parse_tsf() 565 drv_set_tsf(local, sdata, tsf); in ieee80211_if_parse_tsf() 574 IEEE80211_IF_FILE_RW(tsf); global() variable [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | mesh_sync.c | 13 /* This is not in the standard. It represents a tolerable tsf drift below 53 u64 tsf; in mesh_sync_adjust_tsf() local 74 tsf = drv_get_tsf(local, sdata); in mesh_sync_adjust_tsf() 75 if (tsf != -1ULL) in mesh_sync_adjust_tsf() 76 drv_set_tsf(local, sdata, tsf + tsfdelta); in mesh_sync_adjust_tsf() 99 * have rx timestamps, then use current tsf as an approximation. in mesh_sync_offset_rx_bcn_presp() 176 /* Since ajusting the tsf here would in mesh_sync_offset_adjust_tsf() 178 * to the driver tsf setter, we punt in mesh_sync_offset_adjust_tsf() 179 * the tsf adjustment to the mesh tasklet in mesh_sync_offset_adjust_tsf()
|
H A D | debugfs_netdev.c | 548 u64 tsf; in ieee80211_if_fmt_tsf() local 550 tsf = drv_get_tsf(local, (struct ieee80211_sub_if_data *)sdata); in ieee80211_if_fmt_tsf() 552 return scnprintf(buf, buflen, "0x%016llx\n", (unsigned long long) tsf); in ieee80211_if_fmt_tsf() 559 unsigned long long tsf; in ieee80211_if_parse_tsf() local 578 ret = kstrtoull(buf, 10, &tsf); in ieee80211_if_parse_tsf() 582 drv_offset_tsf(local, sdata, tsf_is_delta * tsf); in ieee80211_if_parse_tsf() 585 tsf_is_delta * tsf); in ieee80211_if_parse_tsf() 588 tsf = drv_get_tsf(local, sdata) + in ieee80211_if_parse_tsf() 589 tsf_is_delta * tsf; in ieee80211_if_parse_tsf() 590 drv_set_tsf(local, sdata, tsf); in ieee80211_if_parse_tsf() 599 IEEE80211_IF_FILE_RW(tsf); global() variable [all...] |
/kernel/linux/linux-5.10/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() 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) ath10k_spectral_process_fft() argument
|
/kernel/linux/linux-6.6/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() 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) ath10k_spectral_process_fft() argument
|
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-6.6/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);
|