Home
last modified time | relevance | path

Searched refs:tsf_upper1 (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wireless/ath/ath5k/
Dpcu.c563 u32 tsf_lower, tsf_upper1, tsf_upper2; in ath5k_hw_get_tsf64() local
582 tsf_upper1 = ath5k_hw_reg_read(ah, AR5K_TSF_U32); in ath5k_hw_get_tsf64()
586 if (tsf_upper2 == tsf_upper1) in ath5k_hw_get_tsf64()
588 tsf_upper1 = tsf_upper2; in ath5k_hw_get_tsf64()
595 return ((u64)tsf_upper1 << 32) | tsf_lower; in ath5k_hw_get_tsf64()
/drivers/net/wireless/ath/ath9k/
Dhw.c2911 u32 tsf_lower, tsf_upper1, tsf_upper2; in ath9k_hw_gettsf64() local
2914 tsf_upper1 = REG_READ(ah, AR_TSF_U32); in ath9k_hw_gettsf64()
2918 if (tsf_upper2 == tsf_upper1) in ath9k_hw_gettsf64()
2920 tsf_upper1 = tsf_upper2; in ath9k_hw_gettsf64()
2925 return (((u64)tsf_upper1 << 32) | tsf_lower); in ath9k_hw_gettsf64()