Home
last modified time | relevance | path

Searched refs:rx_old (Results 1 – 21 of 21) sorted by relevance

/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c293 struct pch_gbe_rx_ring *rxdr, *rx_old; in pch_gbe_set_ringparam() local
305 rx_old = adapter->rx_ring; in pch_gbe_set_ringparam()
339 adapter->rx_ring = rx_old; in pch_gbe_set_ringparam()
344 kfree(rx_old); in pch_gbe_set_ringparam()
348 pch_gbe_free_rx_resources(adapter, rx_old); in pch_gbe_set_ringparam()
351 kfree(rx_old); in pch_gbe_set_ringparam()
362 adapter->rx_ring = rx_old; in pch_gbe_set_ringparam()
/drivers/net/ethernet/amd/
Ddepca.c488 int rx_old, tx_old; /* The ring entries to be free()ed. */ member
885 lp->rx_old = lp->tx_old = 0; in depca_init_ring()
1028 lp->rx_old = entry; in depca_rx()
1050 if (entry < lp->rx_old) { /* Wrapped buffer */ in depca_rx()
1051 len = (lp->rxRingMask - lp->rx_old + 1) * RX_BUFF_SZ; in depca_rx()
1052 memcpy_fromio(buf, lp->rx_buff[lp->rx_old], len); in depca_rx()
1055 memcpy_fromio(buf, lp->rx_buff[lp->rx_old], pkt_len); in depca_rx()
1097 for (; lp->rx_old != entry; lp->rx_old = (lp->rx_old + 1) & lp->rxRingMask) { in depca_rx()
1098 writel(readl(&lp->rx_ring[lp->rx_old].base) | R_OWN, &lp->rx_ring[lp->rx_old].base); in depca_rx()
D7990.h109 int rx_old, tx_old; member
Da2065.c111 int rx_old, tx_old; member
160 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
Dsunlance.c250 int rx_old, tx_old; member
332 lp->rx_old = lp->tx_old = 0; in lance_init_ring_dvma()
388 lp->rx_old = lp->tx_old = 0; in lance_init_ring_pio()
Ddeclance.c258 int rx_old, tx_old; member
458 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
D7990.c148 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c508 struct ixgb_desc_ring tx_old, tx_new, rx_old, rx_new; in ixgb_set_ringparam() local
512 rx_old = adapter->rx_ring; in ixgb_set_ringparam()
540 adapter->rx_ring = rx_old; in ixgb_set_ringparam()
555 adapter->rx_ring = rx_old; in ixgb_set_ringparam()
/drivers/net/ethernet/sun/
Dsunbmac.h301 int rx_new, tx_new, rx_old, tx_old; member
Dsunqe.h339 int rx_new, rx_old; /* RX ring extents */ member
Dsunhme.h419 int rx_new, tx_new, rx_old, tx_old; member
Dsungem.h977 int rx_new, rx_old; member
Dcassini.c1432 cp->rx_old[0] = RX_DESC_RINGN_SIZE(0) - 4; in cas_clean_rxds()
2197 entry = cp->rx_old[ring]; in cas_post_page()
2206 cp->rx_old[ring] = entry; in cas_post_page()
2226 entry = cp->rx_old[ring]; in cas_post_rxds_ringN()
2247 cp->rx_old[ring] = entry; in cas_post_rxds_ringN()
2267 cp->rx_old[ring] = entry; in cas_post_rxds_ringN()
Dsunqe.c130 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0; in qe_init_rings()
Dcassini.h2762 int rx_old[N_RX_DESC_RINGS]; member
Dsunbmac.c222 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; in bigmac_init_rings()
Dsungem.c430 gp->rx_new = gp->rx_old = 0; in gem_rxmac_reset()
1626 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0; in gem_init_rings()
Dsunhme.c1256 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; in happy_meal_init_rings()
/drivers/net/ethernet/seeq/
Dsgiseeq.c104 unsigned int rx_old, tx_old; member
186 sp->rx_old = sp->tx_old = 0; in seeq_init_ring()
276 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); in sgiseeq_dump_rings()
/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c554 struct e1000_rx_ring *rxdr, *rx_old; in e1000_set_ringparam() local
567 rx_old = adapter->rx_ring; in e1000_set_ringparam()
608 adapter->rx_ring = rx_old; in e1000_set_ringparam()
613 kfree(rx_old); in e1000_set_ringparam()
626 adapter->rx_ring = rx_old; in e1000_set_ringparam()
/drivers/net/ethernet/dec/tulip/
Dde4x5.c794 int rx_new, rx_old; /* RX descriptor ring pointers */ member
1418 lp->rx_new = lp->rx_old = 0; in de4x5_sw_reset()
1621 lp->rx_old = entry; in de4x5_rx()
1660 for (;lp->rx_old!=entry;lp->rx_old=(lp->rx_old + 1)%lp->rxRingSize) { in de4x5_rx()
1661 lp->rx_ring[lp->rx_old].status = cpu_to_le32(R_OWN); in de4x5_rx()
3625 if (index < lp->rx_old) { /* Wrapped buffer */ in de4x5_alloc_rx_buff()
3626 short tlen = (lp->rxRingSize - lp->rx_old) * RX_BUFF_SZ; in de4x5_alloc_rx_buff()
3627 memcpy(skb_put(p,tlen),lp->rx_bufs + lp->rx_old * RX_BUFF_SZ,tlen); in de4x5_alloc_rx_buff()
3630 memcpy(skb_put(p,len),lp->rx_bufs + lp->rx_old * RX_BUFF_SZ,len); in de4x5_alloc_rx_buff()
3708 lp->rx_new = lp->rx_old = 0; in de4x5_rst_desc_ring()