Home
last modified time | relevance | path

Searched refs:rx_new (Results 1 – 16 of 16) sorted by relevance

/linux-2.4.37.9/drivers/net/
D7990.c114 lp->rx_new = lp->tx_new = 0; in lance_init_ring()
257 if (i == lp->rx_new) in lance_rx()
268 for (rd = &ib->brx_ring [lp->rx_new]; /* For each Rx ring we own... */ in lance_rx()
270 rd = &ib->brx_ring [lp->rx_new]) { in lance_rx()
296 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx()
304 (unsigned char *)&(ib->rx_buf [lp->rx_new][0]), in lance_rx()
316 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx()
Dsgiseeq.c98 unsigned int rx_new, tx_new; member
160 sp->rx_new = sp->tx_new = 0; in seeq_init_ring()
231 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); in sgiseeq_dump_rings()
291 hregs->rx_ndptr = PHYSADDR(&sp->srings.rx_desc[sp->rx_new]); in rx_maybe_restart()
296 #define for_each_rx(rd, sp) for((rd) = &(sp)->srings.rx_desc[(sp)->rx_new]; \
298 (rd) = &(sp)->srings.rx_desc[(sp)->rx_new])
309 unsigned int orig_end = PREV_RX(sp->rx_new); in sgiseeq_rx()
351 sp->rx_new = NEXT_RX(sp->rx_new); in sgiseeq_rx()
354 sp->srings.rx_desc[PREV_RX(sp->rx_new)].rdma.cntinfo |= HPCDMA_EOR; in sgiseeq_rx()
Da2065.c121 int rx_new, tx_new; member
187 lp->rx_new = lp->tx_new = 0; in lance_init_ring()
290 if (i == lp->rx_new) in lance_rx()
301 for (rd = &ib->brx_ring [lp->rx_new]; in lance_rx()
303 rd = &ib->brx_ring [lp->rx_new]) { in lance_rx()
329 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx()
337 (unsigned char *)&(ib->rx_buf [lp->rx_new][0]), in lance_rx()
349 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx()
Ddeclance.c252 int rx_new, tx_new; member
445 lp->rx_new = lp->tx_new = 0; in lance_init_ring()
547 if (i == lp->rx_new) in lance_rx()
558 for (rd = &ib->brx_ring[lp->rx_new]; in lance_rx()
560 rd = &ib->brx_ring[lp->rx_new]) { in lance_rx()
590 lp->rx_new = (lp->rx_new + 1) & RX_RING_MOD_MASK; in lance_rx()
600 (char *)lp->rx_buf_ptr_cpu[lp->rx_new], in lance_rx()
613 lp->rx_new = (lp->rx_new + 1) & RX_RING_MOD_MASK; in lance_rx()
Dsunlance.c244 int rx_new, tx_new; member
329 lp->rx_new = lp->tx_new = 0; in lance_init_ring_dvma()
385 lp->rx_new = lp->tx_new = 0; in lance_init_ring_pio()
512 int len, entry = lp->rx_new; in lance_rx_dvma()
542 lp->rx_new = RX_NEXT(entry); in lance_rx_dvma()
566 lp->rx_new = entry; in lance_rx_dvma()
688 entry = lp->rx_new; in lance_rx_pio()
716 lp->rx_new = RX_NEXT(entry); in lance_rx_pio()
738 lp->rx_new = entry; in lance_rx_pio()
D7990.h111 int rx_new, tx_new; member
Ddepca.c401 int rx_new, tx_new; /* The next free ring entry */ member
806 lp->rx_new = lp->tx_new = 0; in depca_init_ring()
950 for (entry = lp->rx_new; !(readl(&lp->rx_ring[entry].base) & R_OWN); entry = lp->rx_new) { in depca_rx()
1033 lp->rx_new = (++lp->rx_new) & lp->rxRingMask; in depca_rx()
Dsunbmac.h318 int rx_new, tx_new, rx_old, tx_old; member
Dsunqe.h339 int rx_new, rx_old; /* RX ring extents */ member
Dsunqe.c124 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0; in qe_init_rings()
410 int elem = qep->rx_new, drops = 0; in qe_rx()
453 qep->rx_new = elem; in qe_rx()
Dsunhme.h420 int rx_new, tx_new, rx_old, tx_old; member
Dsunbmac.c214 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; in bigmac_init_rings()
797 int elem = bp->rx_new, drops = 0; in bigmac_rx()
875 bp->rx_new = elem; in bigmac_rx()
Dsungem.c364 gp->rx_new = gp->rx_old = 0; in gem_rxmac_reset()
653 cluster_start = curr = (gp->rx_new & ~(4 - 1)); in gem_post_rxds()
686 gp->dev->name, readl(gp->regs + RXDMA_DONE), gp->rx_new); in gem_rx()
688 entry = gp->rx_new; in gem_rx()
788 gp->rx_new = entry; in gem_rx()
1494 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0; in gem_init_rings()
Dsungem.h961 int rx_new, rx_old; member
Dde4x5.c795 int rx_new, rx_old; /* RX descriptor ring pointers */ member
1506 lp->rx_new = lp->rx_old = 0; in de4x5_sw_reset()
1702 for (entry=lp->rx_new; (s32)le32_to_cpu(lp->rx_ring[entry].status)>=0; in de4x5_rx()
1703 entry=lp->rx_new) { in de4x5_rx()
1765 lp->rx_new = (++lp->rx_new) % lp->rxRingSize; in de4x5_rx()
1894 for (; (s32)le32_to_cpu(lp->rx_ring[lp->rx_new].status)>=0;) { in de4x5_rx_ovfc()
1895 lp->rx_ring[lp->rx_new].status = cpu_to_le32(R_OWN); in de4x5_rx_ovfc()
1896 lp->rx_new = (++lp->rx_new % lp->rxRingSize); in de4x5_rx_ovfc()
3759 lp->rx_new = lp->rx_old = 0; in de4x5_rst_desc_ring()
Dsunhme.c1278 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; in happy_meal_init_rings()
2011 int elem = hp->rx_new, drops = 0; in happy_meal_rx()
2101 hp->rx_new = elem; in happy_meal_rx()