Lines Matching refs:ah

40 	struct ath_hw *ah = sc->sc_ah;  in ath_rx_buf_link()  local
41 struct ath_common *common = ath9k_hw_common(ah); in ath_rx_buf_link()
59 ath9k_hw_setuprxdesc(ah, ds, in ath_rx_buf_link()
66 ath9k_hw_putrxbuf(ah, bf->bf_daddr); in ath_rx_buf_link()
90 struct ath_hw *ah = sc->sc_ah; in ath_opmode_init() local
91 struct ath_common *common = ath9k_hw_common(ah); in ath_opmode_init()
97 ath9k_hw_setrxfilter(ah, rfilt); in ath_opmode_init()
103 ath9k_hw_setopmode(ah); in ath_opmode_init()
107 ath9k_hw_setmcastfilter(ah, mfilt[0], mfilt[1]); in ath_opmode_init()
113 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_buf_link() local
127 memset(skb->data, 0, ah->caps.rx_status_len); in ath_rx_edma_buf_link()
129 ah->caps.rx_status_len, DMA_TO_DEVICE); in ath_rx_edma_buf_link()
132 ath9k_hw_addrxbuf_edma(ah, bf->bf_buf_addr, qtype); in ath_rx_edma_buf_link()
173 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_cleanup() local
174 struct ath_common *common = ath9k_hw_common(ah); in ath_rx_edma_cleanup()
201 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_init() local
207 ath9k_hw_set_rx_bufsize(ah, common->rx_bufsize - in ath_rx_edma_init()
208 ah->caps.rx_status_len); in ath_rx_edma_init()
211 ah->caps.rx_lp_qdepth); in ath_rx_edma_init()
213 ah->caps.rx_hp_qdepth); in ath_rx_edma_init()
333 struct ath_hw *ah = sc->sc_ah; in ath_rx_cleanup() local
334 struct ath_common *common = ath9k_hw_common(ah); in ath_rx_cleanup()
444 struct ath_hw *ah = sc->sc_ah; in ath_startrecv() local
447 if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath_startrecv()
466 ath9k_hw_putrxbuf(ah, bf->bf_daddr); in ath_startrecv()
467 ath9k_hw_rxena(ah); in ath_startrecv()
471 ath9k_hw_startpcureceive(ah, sc->cur_chan->offchannel); in ath_startrecv()
483 struct ath_hw *ah = sc->sc_ah; in ath_stoprecv() local
486 ath9k_hw_abortpcurecv(ah); in ath_stoprecv()
487 ath9k_hw_setrxfilter(ah, 0); in ath_stoprecv()
488 stopped = ath9k_hw_stopdmarecv(ah, &reset); in ath_stoprecv()
497 if (!(ah->ah_flags & AH_UNPLUGGED) && in ath_stoprecv()
635 struct ath_hw *ah = sc->sc_ah; in ath_edma_get_buffers() local
636 struct ath_common *common = ath9k_hw_common(ah); in ath_edma_get_buffers()
651 ret = ath9k_hw_process_rxdesc_edma(ah, rs, skb->data); in ath_edma_get_buffers()
700 struct ath_hw *ah = sc->sc_ah; in ath_get_next_rx_buf() local
701 struct ath_common *common = ath9k_hw_common(ah); in ath_get_next_rx_buf()
728 ret = ath9k_hw_rxprocdesc(ah, ds, rs); in ath_get_next_rx_buf()
754 ret = ath9k_hw_rxprocdesc(ah, tds, &trs); in ath_get_next_rx_buf()
762 ret = ath9k_hw_rxprocdesc(ah, ds, rs); in ath_get_next_rx_buf()
817 struct ath_hw *ah = sc->sc_ah; in ath9k_rx_skb_preprocess() local
818 struct ath_common *common = ath9k_hw_common(ah); in ath9k_rx_skb_preprocess()
844 if (rx_stats->rs_datalen > (common->rx_bufsize - ah->caps.rx_status_len)) { in ath9k_rx_skb_preprocess()
863 hdr = (struct ieee80211_hdr *) (skb->data + ah->caps.rx_status_len); in ath9k_rx_skb_preprocess()
900 if (WARN_ON(!ah->curchan)) in ath9k_rx_skb_preprocess()
922 rx_status->band = ah->curchan->chan->band; in ath9k_rx_skb_preprocess()
923 rx_status->freq = ah->curchan->chan->center_freq; in ath9k_rx_skb_preprocess()
953 struct ath_hw *ah = sc->sc_ah; in ath9k_antenna_check() local
954 struct ath9k_hw_capabilities *pCap = &ah->caps; in ath9k_antenna_check()
955 struct ath_common *common = ath9k_hw_common(ah); in ath9k_antenna_check()
957 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB)) in ath9k_antenna_check()
1002 struct ath_hw *ah = sc->sc_ah; in ath_rx_tasklet() local
1003 struct ath_common *common = ath9k_hw_common(ah); in ath_rx_tasklet()
1008 bool edma = !!(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA); in ath_rx_tasklet()
1023 tsf = ath9k_hw_gettsf64(ah); in ath_rx_tasklet()
1086 skb_put(skb, rs.rs_datalen + ah->caps.rx_status_len); in ath_rx_tasklet()
1087 if (ah->caps.rx_status_len) in ath_rx_tasklet()
1088 skb_pull(skb, ah->caps.rx_status_len); in ath_rx_tasklet()
1161 ath9k_hw_rxena(ah); in ath_rx_tasklet()
1170 if (!(ah->imask & ATH9K_INT_RXEOL)) { in ath_rx_tasklet()
1171 ah->imask |= (ATH9K_INT_RXEOL | ATH9K_INT_RXORN); in ath_rx_tasklet()
1172 ath9k_hw_set_interrupts(ah); in ath_rx_tasklet()