Home
last modified time | relevance | path

Searched refs:tsf_val (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/wireless/mwifiex/
Djoin.c105 __le64 tsf_val; in mwifiex_cmd_append_tsf_tlv() local
116 tsf_tlv.header.len = cpu_to_le16(2 * sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
122 tsf_val = cpu_to_le64(bss_desc->fw_tsf); in mwifiex_cmd_append_tsf_tlv()
123 memcpy(*buffer, &tsf_val, sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
124 *buffer += sizeof(tsf_val); in mwifiex_cmd_append_tsf_tlv()
126 tsf_val = cpu_to_le64(bss_desc->timestamp); in mwifiex_cmd_append_tsf_tlv()
132 memcpy(*buffer, &tsf_val, sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
133 *buffer += sizeof(tsf_val); in mwifiex_cmd_append_tsf_tlv()
135 return sizeof(tsf_tlv.header) + (2 * sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dchannel.c332 cur_tsf = (u32) cur->tsf_val + in ath_chanctx_adjust_tbtt_delta()
335 prev_tsf = prev->last_beacon - (u32) prev->tsf_val + cur_tsf; in ath_chanctx_adjust_tbtt_delta()
348 prev->tsf_val += offset; in ath_chanctx_adjust_tbtt_delta()
663 !sc->cur_chan->tsf_val) in ath_chanctx_event()
672 tsf_time -= (u32) sc->cur_chan->tsf_val + in ath_chanctx_event()
1258 sc->cur_chan->tsf_val = ath9k_hw_gettsf64(sc->sc_ah); in ath_chanctx_set_next()
Dath9k.h336 u64 tsf_val; member
Dmain.c245 if (sc->cur_chan->tsf_val) { in ath_complete_reset()
250 ath9k_hw_settsf64(ah, sc->cur_chan->tsf_val + offset); in ath_complete_reset()