Lines Matching defs:ah
23 #include "ah.h"
33 ar5210IsInterruptPending(struct ath_hal *ah)
35 return (OS_REG_READ(ah, AR_INTPEND) ? AH_TRUE : AH_FALSE);
44 ar5210GetPendingInterrupts(struct ath_hal *ah, HAL_INT *masked)
48 struct ath_hal_5210 *ahp = AH5210(ah);
51 isr = OS_REG_READ(ah, AR_ISR);
77 AH_PRIVATE(ah)->ah_fatalState[0] = isr;
85 ar5210GetInterrupts(struct ath_hal *ah)
87 return AH5210(ah)->ah_maskReg;
91 ar5210SetInterrupts(struct ath_hal *ah, HAL_INT ints)
93 struct ath_hal_5210 *ahp = AH5210(ah);
97 HALDEBUG(ah, HAL_DEBUG_INTERRUPT, "%s: 0x%x => 0x%x\n",
106 HALDEBUG(ah, HAL_DEBUG_INTERRUPT, "%s: disable IER\n", __func__);
107 OS_REG_WRITE(ah, AR_IER, AR_IER_DISABLE);
125 HALDEBUG(ah, HAL_DEBUG_INTERRUPT, "%s: new IMR 0x%x\n", __func__, mask);
126 OS_REG_WRITE(ah, AR_IMR, mask);
131 HALDEBUG(ah, HAL_DEBUG_INTERRUPT, "%s: enable IER\n", __func__);
132 OS_REG_WRITE(ah, AR_IER, AR_IER_ENABLE);