Lines Matching refs:tx_ring
443 struct tx_desc *tx_ring; member
1188 rp->tx_ring = ring + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring()
1204 rp->tx_ring = NULL; in free_ring()
1330 rp->tx_ring[i].tx_status = 0; in alloc_tbufs()
1331 rp->tx_ring[i].desc_length = cpu_to_le32(TXDESC); in alloc_tbufs()
1333 rp->tx_ring[i].next_desc = cpu_to_le32(next); in alloc_tbufs()
1337 rp->tx_ring[i-1].next_desc = cpu_to_le32(rp->tx_ring_dma); in alloc_tbufs()
1349 rp->tx_ring[i].tx_status = 0; in free_tbufs()
1350 rp->tx_ring[i].desc_length = cpu_to_le32(TXDESC); in free_tbufs()
1351 rp->tx_ring[i].addr = cpu_to_le32(0xBADF00D0); /* An invalid address. */ in free_tbufs()
1822 rp->tx_ring[entry].addr = cpu_to_le32(rp->tx_bufs_dma + in rhine_start_tx()
1835 rp->tx_ring[entry].addr = cpu_to_le32(rp->tx_skbuff_dma[entry]); in rhine_start_tx()
1838 rp->tx_ring[entry].desc_length = in rhine_start_tx()
1847 rp->tx_ring[entry].tx_status = cpu_to_le32((vid_pcp) << 16); in rhine_start_tx()
1849 rp->tx_ring[entry].desc_length |= cpu_to_le32(0x020000); in rhine_start_tx()
1852 rp->tx_ring[entry].tx_status = 0; in rhine_start_tx()
1857 rp->tx_ring[entry].tx_status |= cpu_to_le32(DescOwn); in rhine_start_tx()
1950 u32 txstatus = le32_to_cpu(rp->tx_ring[entry].tx_status); in rhine_tx()
1972 rp->tx_ring[entry].tx_status = cpu_to_le32(DescOwn); in rhine_tx()
2182 if (rp->tx_ring[entry].desc_length & cpu_to_le32(0x020000)) in rhine_restart_tx()