Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Djoin.c93 __le64 tsf_val; in mwifiex_cmd_append_tsf_tlv() local
104 tsf_tlv.header.len = cpu_to_le16(2 * sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
110 tsf_val = cpu_to_le64(bss_desc->fw_tsf); in mwifiex_cmd_append_tsf_tlv()
111 memcpy(*buffer, &tsf_val, sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
112 *buffer += sizeof(tsf_val); in mwifiex_cmd_append_tsf_tlv()
114 tsf_val = cpu_to_le64(bss_desc->timestamp); in mwifiex_cmd_append_tsf_tlv()
120 memcpy(*buffer, &tsf_val, sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
121 *buffer += sizeof(tsf_val); in mwifiex_cmd_append_tsf_tlv()
123 return sizeof(tsf_tlv.header) + (2 * sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dchannel.c350 cur_tsf = (u32) cur->tsf_val + in ath_chanctx_adjust_tbtt_delta()
353 prev_tsf = prev->last_beacon - (u32) prev->tsf_val + cur_tsf; in ath_chanctx_adjust_tbtt_delta()
366 prev->tsf_val += offset; in ath_chanctx_adjust_tbtt_delta()
684 !sc->cur_chan->tsf_val) in ath_chanctx_event()
693 tsf_time -= (u32) sc->cur_chan->tsf_val + in ath_chanctx_event()
1281 sc->cur_chan->tsf_val = ath9k_hw_gettsf64(sc->sc_ah); in ath_chanctx_set_next()
H A Dbeacon.c294 avp->chanctx->tsf_val += tsfadjust; in ath9k_beacon_ensure_primary_slot()
297 ath9k_hw_settsf64(sc->sc_ah, avp->chanctx->tsf_val + offset); in ath9k_beacon_ensure_primary_slot()
H A Dmain.c249 if (sc->cur_chan->tsf_val) { in ath_complete_reset()
254 ath9k_hw_settsf64(ah, sc->cur_chan->tsf_val + offset); in ath_complete_reset()
1957 tsf = sc->cur_chan->tsf_val + in ath9k_get_tsf()
1980 avp->chanctx->tsf_val = tsf; in ath9k_set_tsf()
1996 avp->chanctx->tsf_val = 0; in ath9k_reset_tsf()
H A Dath9k.h341 u64 tsf_val; member