Lines Matching refs:tx_ring
109 volatile struct netdev_desc tx_ring[TX_RING_SIZE] __attribute__ ((aligned (4)));
170 writel(virt_to_bus(dev->tx_ring), dev->ioaddr + TxRingPtr);
281 txp = (char*)(dev->tx_ring[entry].addr);
297 dev->tx_ring[entry].cmd_status = cpu_to_le32(DescOwn | len);
309 desc_status = dev->tx_ring[entry].cmd_status;
412 dev->tx_ring[i].next_desc = virt_to_le32desc(&dev->tx_ring[i+1]);
413 dev->tx_ring[i].cmd_status = 0;
415 dev->tx_ring[i-1].next_desc = virt_to_le32desc(&dev->tx_ring[0]);
418 dev->tx_ring[i].addr = (u32)(&tx_packet[PKT_BUF_SZ * i]);