/drivers/net/ethernet/amd/ |
D | a2065.c | 110 int rx_new, tx_new; member 159 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]; in lance_rx() 270 rd = &ib->brx_ring[lp->rx_new]) { in lance_rx() 300 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx() 307 (unsigned char *)&ib->rx_buf[lp->rx_new][0], in lance_rx() 318 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx()
|
D | 7990.c | 147 lp->rx_new = lp->tx_new = 0; in lance_init_ring() 285 if (i == lp->rx_new) in lance_rx() 298 for (rd = &ib->brx_ring [lp->rx_new]; /* For each Rx ring we own... */ in lance_rx() 300 rd = &ib->brx_ring [lp->rx_new]) { in lance_rx() 326 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx() 333 (unsigned char *)&(ib->rx_buf [lp->rx_new][0]), in lance_rx() 344 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx()
|
D | declance.c | 257 int rx_new, tx_new; member 457 lp->rx_new = lp->tx_new = 0; in lance_init_ring() 569 if (i == lp->rx_new) in lance_rx() 582 for (rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type); in lance_rx() 584 rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type)) { in lance_rx() 585 entry = lp->rx_new; in lance_rx() 617 lp->rx_new = (entry + 1) & RX_RING_MOD_MASK; in lance_rx() 638 lp->rx_new = (entry + 1) & RX_RING_MOD_MASK; in lance_rx()
|
D | sunlance.c | 249 int rx_new, tx_new; member 331 lp->rx_new = lp->tx_new = 0; in lance_init_ring_dvma() 387 lp->rx_new = lp->tx_new = 0; in lance_init_ring_pio() 514 int len, entry = lp->rx_new; in lance_rx_dvma() 544 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() 736 lp->rx_new = entry; in lance_rx_pio()
|
D | 7990.h | 108 int rx_new, tx_new; member
|
D | depca.c | 487 int rx_new, tx_new; /* The next free ring entry */ member 884 lp->rx_new = lp->tx_new = 0; in depca_init_ring() 1025 for (entry = lp->rx_new; !(readl(&lp->rx_ring[entry].base) & R_OWN); entry = lp->rx_new) { in depca_rx() 1106 lp->rx_new = (lp->rx_new + 1) & lp->rxRingMask; in depca_rx()
|
/drivers/net/ethernet/seeq/ |
D | sgiseeq.c | 103 unsigned int rx_new, tx_new; member 185 sp->rx_new = sp->tx_new = 0; in seeq_init_ring() 276 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); in sgiseeq_dump_rings() 332 hregs->rx_ndptr = VIRT_TO_DMA(sp, sp->rx_desc + sp->rx_new); in rx_maybe_restart() 346 unsigned int orig_end = PREV_RX(sp->rx_new); in sgiseeq_rx() 349 rd = &sp->rx_desc[sp->rx_new]; in sgiseeq_rx() 403 sp->rx_new = NEXT_RX(sp->rx_new); in sgiseeq_rx() 405 rd = &sp->rx_desc[sp->rx_new]; in sgiseeq_rx() 411 dma_sync_desc_cpu(dev, &sp->rx_desc[PREV_RX(sp->rx_new)]); in sgiseeq_rx() 412 sp->rx_desc[PREV_RX(sp->rx_new)].rdma.cntinfo |= HPCDMA_EOR; in sgiseeq_rx() [all …]
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_ethtool.c | 508 struct ixgb_desc_ring tx_old, tx_new, rx_old, rx_new; in ixgb_set_ringparam() local 538 rx_new = adapter->rx_ring; in ixgb_set_ringparam() 544 adapter->rx_ring = rx_new; in ixgb_set_ringparam()
|
/drivers/net/ethernet/sun/ |
D | sunbmac.h | 301 int rx_new, tx_new, rx_old, tx_old; member
|
D | sunqe.c | 130 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0; in qe_init_rings() 417 int elem = qep->rx_new, drops = 0; in qe_rx() 458 qep->rx_new = elem; in qe_rx()
|
D | sunqe.h | 339 int rx_new, rx_old; /* RX ring extents */ member
|
D | sunhme.h | 419 int rx_new, tx_new, rx_old, tx_old; member
|
D | sunbmac.c | 222 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; in bigmac_init_rings() 806 int elem = bp->rx_new, drops = 0; in bigmac_rx() 887 bp->rx_new = elem; in bigmac_rx()
|
D | sungem.c | 430 gp->rx_new = gp->rx_old = 0; in gem_rxmac_reset() 719 cluster_start = curr = (gp->rx_new & ~(4 - 1)); in gem_post_rxds() 769 gp->dev->name, readl(gp->regs + RXDMA_DONE), gp->rx_new); in gem_rx() 771 entry = gp->rx_new; in gem_rx() 876 gp->rx_new = entry; in gem_rx() 1626 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0; in gem_init_rings()
|
D | sungem.h | 977 int rx_new, rx_old; member
|
D | cassini.c | 1443 memset(cp->rx_new, 0, sizeof(*cp->rx_new)*N_RX_COMP_RINGS); in cas_clean_rxcs() 2302 readl(cp->regs + REG_RX_COMP_HEAD), cp->rx_new[ring]); in cas_rx_ringN() 2304 entry = cp->rx_new[ring]; in cas_rx_ringN() 2400 cp->rx_new[ring] = entry; in cas_rx_ringN() 2416 entry = cp->rx_new[ring]; in cas_post_rxcs_ringN()
|
D | sunhme.c | 1256 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; in happy_meal_init_rings() 1990 int elem = hp->rx_new, drops = 0; in happy_meal_rx() 2079 hp->rx_new = elem; in happy_meal_rx()
|
D | cassini.h | 2763 int rx_cur[N_RX_COMP_RINGS], rx_new[N_RX_COMP_RINGS]; member
|
/drivers/net/ethernet/dec/tulip/ |
D | de4x5.c | 794 int rx_new, rx_old; /* RX descriptor ring pointers */ member 1418 lp->rx_new = lp->rx_old = 0; in de4x5_sw_reset() 1609 for (entry=lp->rx_new; (s32)le32_to_cpu(lp->rx_ring[entry].status)>=0; in de4x5_rx() 1610 entry=lp->rx_new) { in de4x5_rx() 1671 lp->rx_new = (lp->rx_new + 1) % lp->rxRingSize; in de4x5_rx() 1802 for (; (s32)le32_to_cpu(lp->rx_ring[lp->rx_new].status)>=0;) { in de4x5_rx_ovfc() 1803 lp->rx_ring[lp->rx_new].status = cpu_to_le32(R_OWN); in de4x5_rx_ovfc() 1804 lp->rx_new = (lp->rx_new + 1) % lp->rxRingSize; in de4x5_rx_ovfc() 3708 lp->rx_new = lp->rx_old = 0; in de4x5_rst_desc_ring()
|