Lines Matching refs:tx_ring
84 static struct epic_tx_desc tx_ring[TX_RING_SIZE];
241 outl(virt_to_bus(&tx_ring), ptcdar);
277 tx_ring[i].status = 0; /* Owned by CPU */
278 tx_ring[i].bufaddr = virt_to_bus(p + (PKT_BUF_SZ * i));
279 tx_ring[i].control = TD_STDFLAGS;
280 tx_ring[i].next = virt_to_bus(&(tx_ring[i + 1]) );
282 tx_ring[i-1].next = virt_to_bus(&tx_ring[0]);
305 if ((tx_ring[entry].status & TRING_OWN) == TRING_OWN) {
307 tx_ring[entry].status);
313 txp = (char*)tx_ring[entry].bufaddr;
328 tx_ring[entry].txlength = (len >= 60 ? len : 60);
329 tx_ring[entry].buflength = len;
330 tx_ring[entry].status = TRING_OWN; /* Pass ownership to the chip. */
338 while ((tx_ring[entry].status & TRING_OWN) && timer2_running())
341 if ((tx_ring[entry].status & TRING_OWN) != 0)
343 tx_ring[entry].status);