Lines Matching refs:common
41 struct ath_common *common = ath9k_hw_common(ah); in ath_rx_buf_link() local
60 common->rx_bufsize, in ath_rx_buf_link()
91 struct ath_common *common = ath9k_hw_common(ah); in ath_opmode_init() local
100 ath_hw_setbssidmask(common); in ath_opmode_init()
141 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_rx_addbuffer_edma() local
145 ath_dbg(common, QUEUE, "No free rx buf available\n"); in ath_rx_addbuffer_edma()
174 struct ath_common *common = ath9k_hw_common(ah); in ath_rx_edma_cleanup() local
183 common->rx_bufsize, in ath_rx_edma_cleanup()
200 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_rx_edma_init() local
207 ath9k_hw_set_rx_bufsize(ah, common->rx_bufsize - in ath_rx_edma_init()
223 skb = ath_rxbuf_alloc(common, common->rx_bufsize, GFP_KERNEL); in ath_rx_edma_init()
229 memset(skb->data, 0, common->rx_bufsize); in ath_rx_edma_init()
233 common->rx_bufsize, in ath_rx_edma_init()
240 ath_err(common, in ath_rx_edma_init()
273 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_rx_init() local
280 common->rx_bufsize = IEEE80211_MAX_MPDU_LEN / 2 + in ath_rx_init()
286 ath_dbg(common, CONFIG, "cachelsz %u rxbufsize %u\n", in ath_rx_init()
287 common->cachelsz, common->rx_bufsize); in ath_rx_init()
294 ath_err(common, in ath_rx_init()
301 skb = ath_rxbuf_alloc(common, common->rx_bufsize, in ath_rx_init()
310 common->rx_bufsize, in ath_rx_init()
317 ath_err(common, in ath_rx_init()
334 struct ath_common *common = ath9k_hw_common(ah); in ath_rx_cleanup() local
347 common->rx_bufsize, in ath_rx_cleanup()
377 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_calcrxfilter() local
433 test_bit(ATH_OP_SCANNING, &common->op_flags)) in ath_calcrxfilter()
541 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_rx_ps_beacon() local
551 ath_dbg(common, PS, in ath_rx_ps_beacon()
576 ath_dbg(common, PS, in ath_rx_ps_beacon()
589 ath_dbg(common, PS, "PS wait for CAB frames timed out\n"); in ath_rx_ps_beacon()
596 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_rx_ps() local
614 ath_dbg(common, PS, in ath_rx_ps()
620 ath_dbg(common, PS, in ath_rx_ps()
636 struct ath_common *common = ath9k_hw_common(ah); in ath_edma_get_buffers() local
649 common->rx_bufsize, DMA_FROM_DEVICE); in ath_edma_get_buffers()
655 common->rx_bufsize, DMA_FROM_DEVICE); in ath_edma_get_buffers()
701 struct ath_common *common = ath9k_hw_common(ah); in ath_get_next_rx_buf() local
783 common->rx_bufsize, in ath_get_next_rx_buf()
818 struct ath_common *common = ath9k_hw_common(ah); in ath9k_rx_skb_preprocess() local
844 if (rx_stats->rs_datalen > (common->rx_bufsize - ah->caps.rx_status_len)) { in ath9k_rx_skb_preprocess()
885 if (!ath9k_cmn_rx_accept(common, hdr, rx_status, rx_stats, decrypt_error, in ath9k_rx_skb_preprocess()
892 if (ath_is_mybeacon(common, hdr)) { in ath9k_rx_skb_preprocess()
903 if (ath9k_cmn_process_rate(common, hw, rx_stats, rx_status)) { in ath9k_rx_skb_preprocess()
908 ath_dbg(common, ANY, "unsupported hw bitrate detected 0x%02x using 1 Mbit\n", in ath9k_rx_skb_preprocess()
920 ath9k_cmn_process_rssi(common, hw, rx_stats, rx_status); in ath9k_rx_skb_preprocess()
955 struct ath_common *common = ath9k_hw_common(ah); in ath9k_antenna_check() local
972 if (common->bt_ant_diversity) in ath9k_antenna_check()
1003 struct ath_common *common = ath9k_hw_common(ah); in ath_rx_tasklet() local
1060 requeue_skb = ath_rxbuf_alloc(common, common->rx_bufsize, GFP_ATOMIC); in ath_rx_tasklet()
1073 common->rx_bufsize, dma_type); in ath_rx_tasklet()
1081 common->rx_bufsize, dma_type); in ath_rx_tasklet()
1091 ath9k_cmn_rx_skb_postprocess(common, hdr_skb, &rs, in ath_rx_tasklet()