Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Dpcu.c564 u32 tsf_lower, tsf_upper1, tsf_upper2; in ath5k_hw_get_tsf64() local
583 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()
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dhw.c3020 u32 tsf_lower, tsf_upper1, tsf_upper2; in ath9k_hw_gettsf64() local
3023 tsf_upper1 = REG_READ(ah, AR_TSF_U32); in ath9k_hw_gettsf64()
3027 if (tsf_upper2 == tsf_upper1) in ath9k_hw_gettsf64()
3029 tsf_upper1 = tsf_upper2; in ath9k_hw_gettsf64()
3034 return (((u64)tsf_upper1 << 32) | tsf_lower); in ath9k_hw_gettsf64()