Lines Matching refs:td_ring
339 struct dma_desc *td_ring; /* transmit descriptor ring */ member
433 td = &lp->td_ring[idx]; in korina_send_packet()
479 lp->td_ring[chain_prev].control &= in korina_send_packet()
482 lp->td_ring[chain_prev].link = korina_tx_dma(lp, idx); in korina_send_packet()
504 lp->td_ring[chain_prev].control &= in korina_send_packet()
506 lp->td_ring[chain_prev].link = korina_tx_dma(lp, idx); in korina_send_packet()
767 struct dma_desc *td = &lp->td_ring[lp->tx_next_done]; in korina_tx()
780 devcs = lp->td_ring[lp->tx_next_done].devcs; in korina_tx()
828 lp->td_ring[lp->tx_next_done].control = DMA_DESC_IOF; in korina_tx()
829 lp->td_ring[lp->tx_next_done].devcs = ETH_TX_FD | ETH_TX_LD; in korina_tx()
830 lp->td_ring[lp->tx_next_done].link = 0; in korina_tx()
831 lp->td_ring[lp->tx_next_done].ca = 0; in korina_tx()
836 td = &lp->td_ring[lp->tx_next_done]; in korina_tx()
996 lp->td_ring[i].control = DMA_DESC_IOF; in korina_alloc_ring()
997 lp->td_ring[i].devcs = ETH_TX_FD | ETH_TX_LD; in korina_alloc_ring()
998 lp->td_ring[i].ca = 0; in korina_alloc_ring()
999 lp->td_ring[i].link = 0; in korina_alloc_ring()
1052 lp->td_ring[i].control = 0; in korina_free_ring()
1338 lp->td_ring = dmam_alloc_coherent(&pdev->dev, TD_RING_SIZE, in korina_probe()
1340 if (!lp->td_ring) in korina_probe()