Lines Matching refs:rx_ring
83 static struct epic_rx_desc rx_ring[RX_RING_SIZE];
240 outl(virt_to_bus(&rx_ring), prcdar);
261 rx_ring[i].status = RRING_OWN; /* Owned by Epic chip */
262 rx_ring[i].buflength = PKT_BUF_SZ;
263 rx_ring[i].bufaddr = virt_to_bus(p + (PKT_BUF_SZ * i));
264 rx_ring[i].control = 0;
265 rx_ring[i].next = virt_to_bus(&(rx_ring[i + 1]) );
268 rx_ring[i-1].next = virt_to_bus(&rx_ring[0]);
367 if ((status = rx_ring[entry].status & RRING_OWN) == RRING_OWN)
386 nic->packetlen = rx_ring[entry].rxlength - 4;
387 memcpy(nic->packet, (char*)rx_ring[entry].bufaddr, nic->packetlen);
395 rx_ring[entry].status = RRING_OWN;