/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 293 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/ |
D | depca.c | 488 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()
|
D | 7990.h | 109 int rx_old, tx_old; member
|
D | a2065.c | 111 int rx_old, tx_old; member 160 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
|
D | sunlance.c | 250 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()
|
D | declance.c | 258 int rx_old, tx_old; member 458 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
|
D | 7990.c | 148 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
|
/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 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/ |
D | sunbmac.h | 301 int rx_new, tx_new, rx_old, tx_old; member
|
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 | sungem.h | 977 int rx_new, rx_old; member
|
D | cassini.c | 1432 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()
|
D | sunqe.c | 130 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0; in qe_init_rings()
|
D | cassini.h | 2762 int rx_old[N_RX_DESC_RINGS]; member
|
D | sunbmac.c | 222 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; in bigmac_init_rings()
|
D | sungem.c | 430 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()
|
D | sunhme.c | 1256 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; in happy_meal_init_rings()
|
/drivers/net/ethernet/seeq/ |
D | sgiseeq.c | 104 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/ |
D | e1000_ethtool.c | 554 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/ |
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() 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()
|