Lines Matching refs:rx_next_done
350 int rx_next_done; member
598 struct dma_desc *rd = &lp->rd_ring[lp->rx_next_done]; in korina_rx()
605 skb = lp->rx_skb[lp->rx_next_done]; in korina_rx()
650 dma_unmap_single(lp->dmadev, lp->rx_skb_dma[lp->rx_next_done], in korina_rx()
666 lp->rx_skb[lp->rx_next_done] = skb_new; in korina_rx()
667 lp->rx_skb_dma[lp->rx_next_done] = ca; in korina_rx()
673 rd->ca = lp->rx_skb_dma[lp->rx_next_done]; in korina_rx()
677 lp->rd_ring[(lp->rx_next_done - 1) & in korina_rx()
681 lp->rx_next_done = (lp->rx_next_done + 1) & KORINA_RDS_MASK; in korina_rx()
682 rd = &lp->rd_ring[lp->rx_next_done]; in korina_rx()
694 rd->ca = lp->rx_skb_dma[lp->rx_next_done]; in korina_rx()
1027 lp->rx_next_done = 0; in korina_alloc_ring()