Home
last modified time | relevance | path

Searched refs:cur_tx (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/net/
Drtl8139.c175 static unsigned int cur_rx,cur_tx; variable
354 cur_tx = 0; in rtl_reset()
423 outl(phys_to_bus((int)tx_buffer), ioaddr + TxAddr0 + cur_tx*4); in rtl_transmit()
425 ioaddr + TxStatus0 + cur_tx*4); in rtl_transmit()
437 txstatus = inl(ioaddr + TxStatus0 + cur_tx*4); in rtl_transmit()
440 cur_tx = (cur_tx + 1) % NUM_TX_DESC; in rtl_transmit()
Dpcnet.c85 int cur_tx; member
377 lp->cur_tx = 0; in pcnet_init()
439 struct pcnet_tx_head *entry = &lp->uc->tx_ring[lp->cur_tx]; in pcnet_send()
441 PCNET_DEBUG2("Tx%d: %d bytes from 0x%p ", lp->cur_tx, pkt_len, in pcnet_send()
457 dev->name, lp->cur_tx, status); in pcnet_send()
476 if (++lp->cur_tx >= TX_RING_SIZE) in pcnet_send()
477 lp->cur_tx = 0; in pcnet_send()
Drtl8169.c329 unsigned long cur_tx; /* Index into the Tx descriptor buffer of next Rx pkt. */ member
612 int entry = tpc->cur_tx % NUM_TX_DESC; in rtl_send_common()
653 tpc->cur_tx++; in rtl_send_common()
815 tpc->cur_tx = 0; in rtl8169_init_ring()
Dethoc.c178 u32 cur_tx; member
266 priv->cur_tx = 0; in ethoc_init_ring()
471 entry = priv->cur_tx % priv->num_tx; in ethoc_send_common()