Lines Matching refs:rx_edma
114 struct ath_rx_edma *rx_edma; in ath_rx_edma_buf_link() local
118 rx_edma = &sc->rx.rx_edma[qtype]; in ath_rx_edma_buf_link()
119 if (skb_queue_len(&rx_edma->rx_fifo) >= rx_edma->rx_fifo_hwsize) in ath_rx_edma_buf_link()
133 __skb_queue_tail(&rx_edma->rx_fifo, skb); in ath_rx_edma_buf_link()
159 struct ath_rx_edma *rx_edma; in ath_rx_remove_buffer() local
162 rx_edma = &sc->rx.rx_edma[qtype]; in ath_rx_remove_buffer()
164 while ((skb = __skb_dequeue(&rx_edma->rx_fifo)) != NULL) { in ath_rx_remove_buffer()
192 static void ath_rx_edma_init_queue(struct ath_rx_edma *rx_edma, int size) in ath_rx_edma_init_queue() argument
194 __skb_queue_head_init(&rx_edma->rx_fifo); in ath_rx_edma_init_queue()
195 rx_edma->rx_fifo_hwsize = size; in ath_rx_edma_init_queue()
210 ath_rx_edma_init_queue(&sc->rx.rx_edma[ATH9K_RX_QUEUE_LP], in ath_rx_edma_init()
212 ath_rx_edma_init_queue(&sc->rx.rx_edma[ATH9K_RX_QUEUE_HP], in ath_rx_edma_init()
632 struct ath_rx_edma *rx_edma = &sc->rx.rx_edma[qtype]; in ath_edma_get_buffers() local
639 skb = skb_peek(&rx_edma->rx_fifo); in ath_edma_get_buffers()
657 __skb_unlink(skb, &rx_edma->rx_fifo); in ath_edma_get_buffers()
663 skb = skb_peek(&rx_edma->rx_fifo); in ath_edma_get_buffers()
668 __skb_unlink(skb, &rx_edma->rx_fifo); in ath_edma_get_buffers()