Lines Matching refs:rx_ring
231 struct w840_rx_desc rx_ring[RX_RING_SIZE];
313 writel(virt_to_bus(w840private.rx_ring), ioaddr + RxRingPtr);
452 memcpy(nic->packet, le32desc_to_virt(w840private.rx_ring[entry].buffer1), pkt_len);
456 w840private.rx_ring[entry].status = DescOwn;
474 w840private.rx_head_desc = &w840private.rx_ring[entry];
915 w840private.rx_head_desc = &w840private.rx_ring[0];
922 w840private.rx_ring[i].length = w840private.rx_buf_sz;
923 w840private.rx_ring[i].status = 0;
924 w840private.rx_ring[i].next_desc = virt_to_le32desc(&w840private.rx_ring[i+1]);
926 w840private.rx_ring[i].buffer1 = virt_to_le32desc(p + (PKT_BUF_SZ * i));
927 w840private.rx_ring[i].status = DescOwn | DescIntr;
931 w840private.rx_ring[i-1].length |= DescEndRing;
932 w840private.rx_ring[i-1].next_desc = virt_to_le32desc(&w840private.rx_ring[0]);