Lines Matching refs:cur_tx
92 int cur_tx, cur_rx; /* The next free ring entry */ member
125 priv->cur_rx = priv->cur_tx = 0; in ariadne_init_ring()
308 while (dirty_tx < priv->cur_tx) { in ariadne_interrupt()
345 if (priv->cur_tx - dirty_tx >= TX_RING_SIZE) { in ariadne_interrupt()
347 dirty_tx, priv->cur_tx, in ariadne_interrupt()
354 dirty_tx > priv->cur_tx - TX_RING_SIZE + 2) { in ariadne_interrupt()
576 entry = priv->cur_tx % TX_RING_SIZE; in ariadne_start_xmit()
596 priv->cur_tx++; in ariadne_start_xmit()
597 if ((priv->cur_tx >= TX_RING_SIZE) && in ariadne_start_xmit()
601 priv->cur_tx, priv->dirty_tx); in ariadne_start_xmit()
603 priv->cur_tx -= TX_RING_SIZE; in ariadne_start_xmit()