Lines Matching refs:cur_tx
303 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member
829 vp->cur_tx = vp->dirty_tx = 0; in corkscrew_open()
967 vp->cur_tx); in corkscrew_timeout()
1000 int entry = vp->cur_tx % TX_RING_SIZE; in corkscrew_start_xmit()
1007 if (vp->cur_tx != 0) in corkscrew_start_xmit()
1008 prev_entry = &vp->tx_ring[(vp->cur_tx - 1) % TX_RING_SIZE]; in corkscrew_start_xmit()
1013 dev->name, vp->cur_tx); in corkscrew_start_xmit()
1037 vp->cur_tx++; in corkscrew_start_xmit()
1038 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) in corkscrew_start_xmit()
1162 while (lp->cur_tx - dirty_tx > 0) { in corkscrew_interrupt()
1174 if (lp->tx_full && (lp->cur_tx - dirty_tx <= TX_RING_SIZE - 1)) { in corkscrew_interrupt()