Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9002_mac.c38 u32 sync_cause = 0; in ar9002_hw_get_isr() local
50 sync_cause = REG_READ(ah, AR_INTR_SYNC_CAUSE(ah)) & in ar9002_hw_get_isr()
55 if (!isr && !sync_cause) in ar9002_hw_get_isr()
173 if (sync_cause) { in ar9002_hw_get_isr()
175 *sync_cause_p = sync_cause; in ar9002_hw_get_isr()
177 (sync_cause & in ar9002_hw_get_isr()
182 if (sync_cause & AR_INTR_SYNC_HOST1_FATAL) { in ar9002_hw_get_isr()
186 if (sync_cause & AR_INTR_SYNC_HOST1_PERR) { in ar9002_hw_get_isr()
192 if (sync_cause & AR_INTR_SYNC_RADM_CPL_TIMEOUT) { in ar9002_hw_get_isr()
199 if (sync_cause & AR_INTR_SYNC_LOCAL_TIMEOUT) { in ar9002_hw_get_isr()
[all …]
H A Dar9003_mac.c190 u32 sync_cause = 0, async_cause, async_mask = AR_INTR_MAC_IRQ; in ar9003_hw_get_isr() local
205 sync_cause = REG_READ(ah, AR_INTR_SYNC_CAUSE(ah)) & AR_INTR_SYNC_DEFAULT; in ar9003_hw_get_isr()
209 if (!isr && !sync_cause && !async_cause) in ar9003_hw_get_isr()
318 if (sync_cause) { in ar9003_hw_get_isr()
320 *sync_cause_p = sync_cause; in ar9003_hw_get_isr()
322 (sync_cause & in ar9003_hw_get_isr()
327 if (sync_cause & AR_INTR_SYNC_HOST1_FATAL) { in ar9003_hw_get_isr()
331 if (sync_cause & AR_INTR_SYNC_HOST1_PERR) { in ar9003_hw_get_isr()
338 if (sync_cause & AR_INTR_SYNC_RADM_CPL_TIMEOUT) { in ar9003_hw_get_isr()
344 if (sync_cause & AR_INTR_SYNC_LOCAL_TIMEOUT) in ar9003_hw_get_isr()
[all …]
H A Ddebug.c31 if (sync_cause) in ath9k_debug_sync_cause()
33 if (sync_cause & AR_INTR_SYNC_RTC_IRQ) in ath9k_debug_sync_cause()
35 if (sync_cause & AR_INTR_SYNC_MAC_IRQ) in ath9k_debug_sync_cause()
39 if (sync_cause & AR_INTR_SYNC_APB_TIMEOUT) in ath9k_debug_sync_cause()
43 if (sync_cause & AR_INTR_SYNC_HOST1_FATAL) in ath9k_debug_sync_cause()
45 if (sync_cause & AR_INTR_SYNC_HOST1_PERR) in ath9k_debug_sync_cause()
49 if (sync_cause & AR_INTR_SYNC_RADM_CPL_EP) in ath9k_debug_sync_cause()
59 if (sync_cause & AR_INTR_SYNC_LOCAL_TIMEOUT) in ath9k_debug_sync_cause()
61 if (sync_cause & AR_INTR_SYNC_PM_ACCESS) in ath9k_debug_sync_cause()
63 if (sync_cause & AR_INTR_SYNC_MAC_AWAKE) in ath9k_debug_sync_cause()
[all …]
H A Ddebug.h278 void ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause);
313 ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause) in ath9k_debug_sync_cause() argument
H A Dmain.c510 u32 sync_cause = 0; in ath_isr() local
531 ath9k_hw_getisr(ah, &status, &sync_cause); /* NB: clears ISR too */ in ath_isr()
532 ath9k_debug_sync_cause(sc, sync_cause); in ath_isr()