Lines Matching refs:rx_next_done
350 int rx_next_done; member
599 struct dma_desc *rd = &lp->rd_ring[lp->rx_next_done]; in korina_rx()
606 skb = lp->rx_skb[lp->rx_next_done]; in korina_rx()
651 dma_unmap_single(lp->dmadev, lp->rx_skb_dma[lp->rx_next_done], in korina_rx()
667 lp->rx_skb[lp->rx_next_done] = skb_new; in korina_rx()
668 lp->rx_skb_dma[lp->rx_next_done] = ca; in korina_rx()
674 rd->ca = lp->rx_skb_dma[lp->rx_next_done]; in korina_rx()
678 lp->rd_ring[(lp->rx_next_done - 1) & in korina_rx()
682 lp->rx_next_done = (lp->rx_next_done + 1) & KORINA_RDS_MASK; in korina_rx()
683 rd = &lp->rd_ring[lp->rx_next_done]; in korina_rx()
695 rd->ca = lp->rx_skb_dma[lp->rx_next_done]; in korina_rx()
1028 lp->rx_next_done = 0; in korina_alloc_ring()