Lines Matching refs:rd_ring
340 struct dma_desc *rd_ring; /* receive descriptor ring */ member
598 struct dma_desc *rd = &lp->rd_ring[lp->rx_next_done]; in korina_rx()
677 lp->rd_ring[(lp->rx_next_done - 1) & in korina_rx()
682 rd = &lp->rd_ring[lp->rx_next_done]; in korina_rx()
695 writel(korina_rx_dma(lp, rd - lp->rd_ring), in korina_rx()
1010 lp->rd_ring[i].control = DMA_DESC_IOD | in korina_alloc_ring()
1012 lp->rd_ring[i].devcs = 0; in korina_alloc_ring()
1017 lp->rd_ring[i].ca = ca; in korina_alloc_ring()
1019 lp->rd_ring[i].link = korina_rx_dma(lp, i + 1); in korina_alloc_ring()
1024 lp->rd_ring[i - 1].link = lp->rd_dma; in korina_alloc_ring()
1025 lp->rd_ring[i - 1].control |= DMA_DESC_COD; in korina_alloc_ring()
1041 lp->rd_ring[i].control = 0; in korina_free_ring()
1343 lp->rd_ring = dmam_alloc_coherent(&pdev->dev, RD_RING_SIZE, in korina_probe()
1345 if (!lp->rd_ring) in korina_probe()