Lines Matching refs:cur_tx
304 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member
830 vp->cur_tx = vp->dirty_tx = 0; in corkscrew_open()
968 vp->cur_tx); in corkscrew_timeout()
1001 int entry = vp->cur_tx % TX_RING_SIZE; in corkscrew_start_xmit()
1008 if (vp->cur_tx != 0) in corkscrew_start_xmit()
1009 prev_entry = &vp->tx_ring[(vp->cur_tx - 1) % TX_RING_SIZE]; in corkscrew_start_xmit()
1014 dev->name, vp->cur_tx); in corkscrew_start_xmit()
1038 vp->cur_tx++; in corkscrew_start_xmit()
1039 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) in corkscrew_start_xmit()
1163 while (lp->cur_tx - dirty_tx > 0) { in corkscrew_interrupt()
1175 if (lp->tx_full && (lp->cur_tx - dirty_tx <= TX_RING_SIZE - 1)) { in corkscrew_interrupt()