| /drivers/net/wireless/ath/ath9k/ |
| 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()
|
| 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()
|
| 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() 282 slot, tsf, tsftu, intval); in ath9k_htc_choose_bslot()
|
| 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() 1441 target_tsf = tsf + ATH_P2P_PS_STOP_TIME; 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() 1557 u32 tsf; in ath9k_p2p_ps_timer() local 1566 tsf = ath9k_hw_gettsf32(sc->sc_ah); in ath9k_p2p_ps_timer() 1568 tsf += ATH_P2P_PS_STOP_TIME; in ath9k_p2p_ps_timer() 1570 tsf -= ATH_P2P_PS_STOP_TIME; in ath9k_p2p_ps_timer() [all …]
|
| 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
|
| A 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()
|
| A D | recv.c | 789 u64 tsf) in ath9k_process_tsf() argument 791 u32 tsf_lower = tsf & 0xffffffff; in ath9k_process_tsf() 793 rxs->mactime = (tsf & ~0xffffffffULL) | rs->rs_tstamp; in ath9k_process_tsf() 812 bool *decrypt_error, u64 tsf) in ath9k_rx_skb_preprocess() argument 867 ath9k_process_tsf(rx_stats, rx_status, tsf); in ath9k_rx_skb_preprocess() 1073 u64 tsf = 0; in ath_rx_tasklet() local 1086 tsf = ath9k_hw_gettsf64(ah); in ath_rx_tasklet() 1117 &decrypt_error, tsf); in ath_rx_tasklet()
|
| /drivers/net/wireless/broadcom/b43legacy/ |
| A D | debugfs.c | 68 u64 tsf; in tsf_read_file() local 70 b43legacy_tsf_read(dev, &tsf); in tsf_read_file() 72 (unsigned int)((tsf & 0xFFFFFFFF00000000ULL) >> 32), in tsf_read_file() 73 (unsigned int)(tsf & 0xFFFFFFFFULL)); in tsf_read_file() 81 u64 tsf; in tsf_write_file() local 83 if (sscanf(buf, "%llu", (unsigned long long *)(&tsf)) != 1) in tsf_write_file() 85 b43legacy_tsf_write(dev, tsf); in tsf_write_file() 323 B43legacy_DEBUGFS_FOPS(tsf, tsf_read_file, tsf_write_file, 1); 391 ADD_FILE(tsf, 0600); in b43legacy_debugfs_add_device()
|
| 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);
|
| A D | main.c | 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() 471 u32 lo = (tsf & 0x00000000FFFFFFFFULL); in b43legacy_tsf_write_locked() 480 u16 v0 = (tsf & 0x000000000000FFFFULL); in b43legacy_tsf_write_locked() [all …]
|
| /drivers/net/wireless/ath/ |
| A D | spectral_common.h | 62 __be64 tsf; member 76 __be64 tsf; member 104 __be64 tsf; member 123 __be32 tsf; member
|
| /drivers/ufs/core/ |
| 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))
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | ps.c | 489 u64 tsf; in rtw89_p2p_noa_once_recalc() local 495 ret = rtw89_mac_port_get_tsf(rtwdev, rtwvif_link, &tsf); in rtw89_p2p_noa_once_recalc() 522 tmp = (tsf & GENMASK_ULL(63, 32)) + tmp; in rtw89_p2p_noa_once_recalc() 523 if (unlikely(tmp <= tsf)) in rtw89_p2p_noa_once_recalc() 527 tmp = (tsf & GENMASK_ULL(63, 32)) | start_time; in rtw89_p2p_noa_once_recalc() 538 if (noa_once->tsf_end > tsf) { in rtw89_p2p_noa_once_recalc() 543 clr_delay_us = min_t(u64, tsf_end - tsf, UINT_MAX); in rtw89_p2p_noa_once_recalc() 545 if (tsf_begin <= tsf) { in rtw89_p2p_noa_once_recalc() 550 set_delay_us = tsf_begin - tsf; in rtw89_p2p_noa_once_recalc()
|
| A D | chan.c | 636 struct rtw89_mcc_role *role, u64 tsf) in rtw89_mcc_get_tbtt_ofst() argument 645 } else if (tsf < sync_tsf) { in rtw89_mcc_get_tbtt_ofst() 825 u64 tsf, tsf_lmt; in rtw89_mcc_fill_role_limit() local 868 tsf_lmt = (tsf & GENMASK_ULL(63, 32)) | start_time; in rtw89_mcc_fill_role_limit() 869 if (tsf_lmt < tsf) in rtw89_mcc_fill_role_limit() 870 tsf_lmt += roundup_u64(tsf - tsf_lmt, interval); in rtw89_mcc_fill_role_limit() 1698 u64 tsf, start_tsf; in rtw89_mcc_fill_start_tsf() local 1705 ret = __mrc_fw_req_tsf(rtwdev, &tsf, &tsf_aux); in rtw89_mcc_fill_start_tsf() 1707 ret = __mcc_fw_req_tsf(rtwdev, &tsf, &tsf_aux); in rtw89_mcc_fill_start_tsf() 1712 min_time = tsf; in rtw89_mcc_fill_start_tsf() [all …]
|
| /drivers/net/wireless/ath/ath10k/ |
| A D | spectral.h | 41 size_t bin_len, u64 tsf); 53 size_t bin_len, u64 tsf) in ath10k_spectral_process_fft() argument
|
| /drivers/net/wireless/broadcom/b43/ |
| 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);
|
| /drivers/net/wireless/mediatek/mt76/ |
| A D | mt76x02_usb_core.c | 149 u64 tsf, time; in mt76x02u_restart_pre_tbtt_timer() local 157 tsf = (u64)dw0 << 32 | dw1; in mt76x02u_restart_pre_tbtt_timer() 158 dev_dbg(dev->mt76.dev, "TSF: %llu us TBTT %u us\n", tsf, tbtt); in mt76x02u_restart_pre_tbtt_timer()
|
| A D | mt792x_core.c | 250 } tsf; in mt792x_get_tsf() local 258 tsf.t32[0] = mt76_rr(dev, MT_LPON_UTTR0(0)); in mt792x_get_tsf() 259 tsf.t32[1] = mt76_rr(dev, MT_LPON_UTTR1(0)); in mt792x_get_tsf() 263 return tsf.t64; in mt792x_get_tsf() 276 } tsf = { .t64 = timestamp, }; in mt792x_set_tsf() local 282 mt76_wr(dev, MT_LPON_UTTR0(0), tsf.t32[0]); in mt792x_set_tsf() 283 mt76_wr(dev, MT_LPON_UTTR1(0), tsf.t32[1]); in mt792x_set_tsf()
|
| /drivers/net/wireless/mediatek/mt76/mt7615/ |
| A D | main.c | 904 } tsf; in mt7615_get_tsf() local 915 tsf.t32[0] = mt76_rr(dev, MT_LPON_UTTR0); in mt7615_get_tsf() 916 tsf.t32[1] = mt76_rr(dev, MT_LPON_UTTR1); in mt7615_get_tsf() 920 return tsf.t64; in mt7615_get_tsf() 932 } tsf = { .t64 = timestamp, }; in mt7615_set_tsf() local 941 mt76_wr(dev, MT_LPON_UTTR0, tsf.t32[0]); in mt7615_set_tsf() 942 mt76_wr(dev, MT_LPON_UTTR1, tsf.t32[1]); in mt7615_set_tsf() 958 } tsf = { .t64 = timestamp, }; in mt7615_offset_tsf() local 967 mt76_wr(dev, MT_LPON_UTTR0, tsf.t32[0]); in mt7615_offset_tsf() 968 mt76_wr(dev, MT_LPON_UTTR1, tsf.t32[1]); in mt7615_offset_tsf()
|
| /drivers/net/wireless/intel/iwlwifi/fw/api/ |
| A D | tx.h | 838 __le64 tsf; member 851 __le64 tsf; member 865 __le64 tsf; member
|
| A D | offload.h | 54 __le64 tsf; member
|
| /drivers/net/wireless/ath/ath5k/ |
| A D | base.c | 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 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() 2015 u32 tsftu = TSF_TO_TU(tsf); in ath5k_beacon_send() 2244 TSF_TO_TU(tsf), in ath5k_tasklet_beacon() [all …]
|
| /drivers/net/wireless/ath/carl9170/ |
| A D | fwcmd.h | 300 __le32 tsf[2]; member 327 struct carl9170_tsf_rsp tsf; member
|
| /drivers/net/wireless/mediatek/mt76/mt7915/ |
| A D | main.c | 1010 } tsf; in __mt7915_get_tsf() local 1024 tsf.t32[0] = mt76_rr(dev, MT_LPON_UTTR0(band)); in __mt7915_get_tsf() 1025 tsf.t32[1] = mt76_rr(dev, MT_LPON_UTTR1(band)); in __mt7915_get_tsf() 1027 return tsf.t64; in __mt7915_get_tsf() 1055 } tsf = { .t64 = timestamp, }; in mt7915_set_tsf() local 1062 mt76_wr(dev, MT_LPON_UTTR0(band), tsf.t32[0]); in mt7915_set_tsf() 1063 mt76_wr(dev, MT_LPON_UTTR1(band), tsf.t32[1]); in mt7915_set_tsf() 1086 } tsf = { .t64 = timestamp, }; in mt7915_offset_tsf() local 1093 mt76_wr(dev, MT_LPON_UTTR0(band), tsf.t32[0]); in mt7915_offset_tsf() 1094 mt76_wr(dev, MT_LPON_UTTR1(band), tsf.t32[1]); in mt7915_offset_tsf()
|
| /drivers/media/pci/ngene/ |
| 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 },
|