Lines Matching full:tsf
36 * a full 64-bit TSF using the specified TSF.
39 ath_extend_tsf15(u_int32_t rstamp, u_int64_t tsf) in ath_extend_tsf15() argument
41 if ((tsf & 0x7fff) < rstamp) in ath_extend_tsf15()
42 tsf -= 0x8000; in ath_extend_tsf15()
44 return ((tsf &~ 0x7fff) | rstamp); in ath_extend_tsf15()
49 * a full 64-bit TSF using the specified TSF.
52 ath_extend_tsf32(u_int32_t rstamp, u_int64_t tsf) in ath_extend_tsf32() argument
54 u_int32_t tsf_low = tsf & 0xffffffff; in ath_extend_tsf32()
55 u_int64_t tsf64 = (tsf & ~0xffffffffULL) | rstamp; in ath_extend_tsf32()
67 * Extend the TSF from the RX descriptor to a full 64 bit TSF.
69 * TSF into the RX descriptor; later versions (AR5416 and up)
70 * include the 32 bit TSF value.
73 ath_extend_tsf(struct ath_softc *sc, u_int32_t rstamp, u_int64_t tsf) in ath_extend_tsf() argument
76 return ath_extend_tsf32(rstamp, tsf); in ath_extend_tsf()
78 return ath_extend_tsf15(rstamp, tsf); in ath_extend_tsf()