Lines Matching refs:tx_ring
444 struct tx_desc *tx_ring; member
1190 rp->tx_ring = ring + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring()
1206 rp->tx_ring = NULL; in free_ring()
1291 rp->tx_ring[i].tx_status = 0; in alloc_tbufs()
1292 rp->tx_ring[i].desc_length = cpu_to_le32(TXDESC); in alloc_tbufs()
1294 rp->tx_ring[i].next_desc = cpu_to_le32(next); in alloc_tbufs()
1298 rp->tx_ring[i-1].next_desc = cpu_to_le32(rp->tx_ring_dma); in alloc_tbufs()
1310 rp->tx_ring[i].tx_status = 0; in free_tbufs()
1311 rp->tx_ring[i].desc_length = cpu_to_le32(TXDESC); in free_tbufs()
1312 rp->tx_ring[i].addr = cpu_to_le32(0xBADF00D0); /* An invalid address. */ in free_tbufs()
1769 rp->tx_ring[entry].addr = cpu_to_le32(rp->tx_bufs_dma + in rhine_start_tx()
1782 rp->tx_ring[entry].addr = cpu_to_le32(rp->tx_skbuff_dma[entry]); in rhine_start_tx()
1785 rp->tx_ring[entry].desc_length = in rhine_start_tx()
1794 rp->tx_ring[entry].tx_status = cpu_to_le32((vid_pcp) << 16); in rhine_start_tx()
1796 rp->tx_ring[entry].desc_length |= cpu_to_le32(0x020000); in rhine_start_tx()
1799 rp->tx_ring[entry].tx_status = 0; in rhine_start_tx()
1804 rp->tx_ring[entry].tx_status |= cpu_to_le32(DescOwn); in rhine_start_tx()
1875 txstatus = le32_to_cpu(rp->tx_ring[entry].tx_status); in rhine_tx()
1896 rp->tx_ring[entry].tx_status = cpu_to_le32(DescOwn); in rhine_tx()
2106 if (rp->tx_ring[entry].desc_length & cpu_to_le32(0x020000)) in rhine_restart_tx()