Searched refs:rx_ring (Results 1 - 7 of 7) sorted by relevance

/netgear-R7800-V1.0.2.28/target/linux/adm8668/files/arch/mips/adm8668/
H A Dnet_core.c181 tp->rx_ring[i].status = 0x00000000;
182 tp->rx_ring[i].length = cpu_to_le32(PKT_BUF_SZ);
183 tp->rx_ring[i].buffer2 = cpu_to_le32(tp->rx_ring_dma + sizeof(struct tulip_rx_desc) * (i + 1));
188 tp->rx_ring[i-1].length = cpu_to_le32(PKT_BUF_SZ | DESC_RING_WRAP);
189 tp->rx_ring[i-1].buffer2 = cpu_to_le32(tp->rx_ring_dma);
204 tp->rx_ring[i].status = cpu_to_le32(DescOwned); /* Owned by Tulip chip */
205 tp->rx_ring[i].buffer1 = cpu_to_le32(mapping);
335 tp->rx_ring[i].status = 0; /* Not owned by Tulip chip. */
336 tp->rx_ring[i].length = 0;
338 tp->rx_ring[
[all...]
H A Dnet_intr.c35 tp->rx_ring[entry].buffer1 = cpu_to_le32(mapping);
38 tp->rx_ring[entry].status = cpu_to_le32(DescOwned);
59 entry, tp->rx_ring[entry].status);
71 while ( ! (tp->rx_ring[entry].status & cpu_to_le32(DescOwned))) {
72 s32 status = le32_to_cpu(tp->rx_ring[entry].status);
145 le32_to_cpu(tp->rx_ring[entry].buffer1)) {
148 le32_to_cpu(tp->rx_ring[entry].buffer1),
H A Dnet.h193 struct tulip_rx_desc *rx_ring; member in struct:tulip_private
/netgear-R7800-V1.0.2.28/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/
H A Dag71xx_ethtool.c76 er->rx_pending = ag->rx_ring.size;
127 ag->rx_ring.size = rx_size;
128 ag->rx_ring.mask = rx_size - 1;
H A Dag71xx_main.c205 struct ag71xx_ring *ring = &ag->rx_ring;
228 struct ag71xx_ring *ring = &ag->rx_ring;
276 ret = ag71xx_ring_alloc(&ag->rx_ring);
287 ag71xx_ring_free(&ag->rx_ring);
619 ag71xx_wr(ag, AG71XX_REG_RX_DESC, ag->rx_ring.descs_dma);
895 struct ag71xx_ring *ring = &ag->rx_ring;
1023 struct ag71xx_ring *rx_ring; local
1036 rx_ring = &ag->rx_ring;
1037 if (unlikely(rx_ring
[all...]
H A Dag71xx_debugfs.c230 return read_file_ring(file, user_buf, count, ppos, ag, &ag->rx_ring,
258 debugfs_create_file("rx_ring", S_IRUGO, ag->debug.debugfs_dir,
H A Dag71xx.h162 struct ag71xx_ring rx_ring; member in struct:ag71xx

Completed in 58 milliseconds