• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/ath9k/

Lines Matching defs:ah

21 static void ar9002_hw_rx_enable(struct ath_hw *ah)
23 REG_WRITE(ah, AR_CR, AR_CR_RXE);
36 static bool ar9002_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked)
40 struct ath9k_hw_capabilities *pCap = &ah->caps;
43 struct ath_common *common = ath9k_hw_common(ah);
45 if (!AR_SREV_9100(ah)) {
46 if (REG_READ(ah, AR_INTR_ASYNC_CAUSE) & AR_INTR_MAC_IRQ) {
47 if ((REG_READ(ah, AR_RTC_STATUS) & AR_RTC_STATUS_M)
49 isr = REG_READ(ah, AR_ISR);
53 sync_cause = REG_READ(ah, AR_INTR_SYNC_CAUSE) &
62 isr = REG_READ(ah, AR_ISR);
68 isr2 = REG_READ(ah, AR_ISR_S2);
85 isr = REG_READ(ah, AR_ISR_RAC);
93 if (ah->config.rx_intr_mitigation) {
107 s0_s = REG_READ(ah, AR_ISR_S0_S);
108 ah->intr_txqs |= MS(s0_s, AR_ISR_S0_QCU_TXOK);
109 ah->intr_txqs |= MS(s0_s, AR_ISR_S0_QCU_TXDESC);
111 s1_s = REG_READ(ah, AR_ISR_S1_S);
112 ah->intr_txqs |= MS(s1_s, AR_ISR_S1_QCU_TXERR);
113 ah->intr_txqs |= MS(s1_s, AR_ISR_S1_QCU_TXEOL);
121 if (!AR_SREV_9100(ah)) {
123 u32 isr5 = REG_READ(ah, AR_ISR_S5_S);
132 if (AR_SREV_9100(ah))
138 s5_s = REG_READ(ah, AR_ISR_S5_S);
140 ah->intr_gen_timer_trigger =
143 ah->intr_gen_timer_thresh =
146 if (ah->intr_gen_timer_trigger)
172 REG_WRITE(ah, AR_RC, AR_RC_HOSTIF);
173 REG_WRITE(ah, AR_RC, 0);
181 REG_WRITE(ah, AR_INTR_SYNC_CAUSE_CLR, sync_cause);
182 (void) REG_READ(ah, AR_INTR_SYNC_CAUSE_CLR);
188 static void ar9002_hw_fill_txdesc(struct ath_hw *ah, void *ds, u32 seglen,
217 static int ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds,
238 ath9k_hw_updatetxtriglevel(ah, true);
249 ath9k_hw_updatetxtriglevel(ah, true);
253 ath9k_hw_updatetxtriglevel(ah, true);
296 static void ar9002_hw_set11n_txdesc(struct ath_hw *ah, void *ds,
303 txPower += ah->txpower_indexoffset;
324 if (AR_SREV_9285(ah) || AR_SREV_9271(ah)) {
332 static void ar9002_hw_set11n_ratescenario(struct ath_hw *ah, void *ds,
387 static void ar9002_hw_set11n_aggr_first(struct ath_hw *ah, void *ds,
397 static void ar9002_hw_set11n_aggr_middle(struct ath_hw *ah, void *ds,
411 static void ar9002_hw_set11n_aggr_last(struct ath_hw *ah, void *ds)
420 static void ar9002_hw_clr11n_aggr(struct ath_hw *ah, void *ds)
427 static void ar9002_hw_set11n_burstduration(struct ath_hw *ah, void *ds,
436 static void ar9002_hw_set11n_virtualmorefrag(struct ath_hw *ah, void *ds,
447 void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds,
451 struct ath9k_hw_capabilities *pCap = &ah->caps;
463 void ar9002_hw_attach_mac_ops(struct ath_hw *ah)
465 struct ath_hw_ops *ops = ath9k_hw_ops(ah);