Searched refs:tsf_upper1 (Results 1 – 2 of 2) sorted by relevance
564 u32 tsf_lower, tsf_upper1, tsf_upper2; in ath5k_hw_get_tsf64() local583 tsf_upper1 = ath5k_hw_reg_read(ah, AR5K_TSF_U32); in ath5k_hw_get_tsf64()587 if (tsf_upper2 == tsf_upper1) in ath5k_hw_get_tsf64()589 tsf_upper1 = tsf_upper2; in ath5k_hw_get_tsf64()596 return ((u64)tsf_upper1 << 32) | tsf_lower; in ath5k_hw_get_tsf64()
3018 u32 tsf_lower, tsf_upper1, tsf_upper2; in ath9k_hw_gettsf64() local3021 tsf_upper1 = REG_READ(ah, AR_TSF_U32); in ath9k_hw_gettsf64()3025 if (tsf_upper2 == tsf_upper1) in ath9k_hw_gettsf64()3027 tsf_upper1 = tsf_upper2; in ath9k_hw_gettsf64()3032 return (((u64)tsf_upper1 << 32) | tsf_lower); in ath9k_hw_gettsf64()