Lines Matching defs:ah
21 #include "ah.h"
31 ar5210IsInterruptPending(struct ath_hal *ah)
33 return (OS_REG_READ(ah, AR_INTPEND) ? AH_TRUE : AH_FALSE);
42 ar5210GetPendingInterrupts(struct ath_hal *ah, HAL_INT *masked)
46 struct ath_hal_5210 *ahp = AH5210(ah);
49 isr = OS_REG_READ(ah, AR_ISR);
75 AH_PRIVATE(ah)->ah_fatalState[0] = isr;
83 ar5210GetInterrupts(struct ath_hal *ah)
85 return AH5210(ah)->ah_maskReg;
89 ar5210SetInterrupts(struct ath_hal *ah, HAL_INT ints)
91 struct ath_hal_5210 *ahp = AH5210(ah);
95 HALDEBUG(ah, HAL_DEBUG_INTERRUPT, "%s: 0x%x => 0x%x\n",
104 HALDEBUG(ah, HAL_DEBUG_INTERRUPT, "%s: disable IER\n", __func__);
105 OS_REG_WRITE(ah, AR_IER, AR_IER_DISABLE);
123 HALDEBUG(ah, HAL_DEBUG_INTERRUPT, "%s: new IMR 0x%x\n", __func__, mask);
124 OS_REG_WRITE(ah, AR_IMR, mask);
129 HALDEBUG(ah, HAL_DEBUG_INTERRUPT, "%s: enable IER\n", __func__);
130 OS_REG_WRITE(ah, AR_IER, AR_IER_ENABLE);