Lines Matching refs:cur_tx
304 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member
828 vp->cur_tx = vp->dirty_tx = 0; in corkscrew_open()
966 vp->cur_tx); in corkscrew_timeout()
999 int entry = vp->cur_tx % TX_RING_SIZE; in corkscrew_start_xmit()
1006 if (vp->cur_tx != 0) in corkscrew_start_xmit()
1007 prev_entry = &vp->tx_ring[(vp->cur_tx - 1) % TX_RING_SIZE]; in corkscrew_start_xmit()
1012 dev->name, vp->cur_tx); in corkscrew_start_xmit()
1036 vp->cur_tx++; in corkscrew_start_xmit()
1037 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) in corkscrew_start_xmit()
1161 while (lp->cur_tx - dirty_tx > 0) { in corkscrew_interrupt()
1173 if (lp->tx_full && (lp->cur_tx - dirty_tx <= TX_RING_SIZE - 1)) { in corkscrew_interrupt()