Home
last modified time | relevance | path

Searched refs:tx_ring_head (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/net/
D3c527.c183 u16 tx_ring_head; /* index to tx en-queue end */ member
519 lp->tx_ring_tail=lp->tx_ring_head=0; in mc32_probe1()
878 lp->tx_ring_head=lp->tx_ring_tail=0; in mc32_load_tx_ring()
896 if(lp->tx_ring_tail!=lp->tx_ring_head) in mc32_flush_tx_ring()
899 if(lp->tx_ring_tail < lp->tx_ring_head) in mc32_flush_tx_ring()
901 for(i=lp->tx_ring_tail;i<lp->tx_ring_head;i++) in mc32_flush_tx_ring()
916 for(i=0; i<lp->tx_ring_head; i++) in mc32_flush_tx_ring()
926 lp->tx_ring_tail=lp->tx_ring_head=0; in mc32_flush_tx_ring()
1081 p=lp->tx_ring[lp->tx_ring_head].p; in mc32_send_packet()
1083 lp->tx_ring_head=next_tx(lp->tx_ring_head); in mc32_send_packet()
[all …]
/linux-2.4.37.9/drivers/net/tokenring/
D3c359.h262 int tx_ring_head, tx_ring_tail ; member
D3c359.c166 printk("tx_ring_head: %d, tx_ring_tail: %d, free_ent: %d \n",xl_priv->tx_ring_head, in print_tx_state()
684 xl_priv->tx_ring_head = 1 ; in xl_open()
1173 tx_head = xl_priv->tx_ring_head ; in xl_xmit()
1190 tx_prev = (xl_priv->tx_ring_head + XL_TX_RING_SIZE - 1) & (XL_TX_RING_SIZE - 1) ; in xl_xmit()
1192 xl_priv->tx_ring_head++ ; in xl_xmit()
1193 xl_priv->tx_ring_head &= (XL_TX_RING_SIZE - 1) ; in xl_xmit()