Lines Matching refs:cur_tx
604 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member
1679 vp->cur_tx = vp->dirty_tx = 0; in vortex_up()
1914 if (vp->cur_tx - vp->dirty_tx > 0 && ioread32(ioaddr + DownListPtr) == 0) in vortex_tx_timeout()
1917 if (vp->cur_tx - vp->dirty_tx < TX_RING_SIZE) { in vortex_tx_timeout()
2116 int entry = vp->cur_tx % TX_RING_SIZE; in boomerang_start_xmit()
2118 struct boom_tx_desc *prev_entry = &vp->tx_ring[(vp->cur_tx-1) % TX_RING_SIZE]; in boomerang_start_xmit()
2125 dev->name, vp->cur_tx); in boomerang_start_xmit()
2137 if (vp->cur_tx - vp->dirty_tx >= TX_RING_SIZE) { in boomerang_start_xmit()
2222 vp->cur_tx++; in boomerang_start_xmit()
2225 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) { in boomerang_start_xmit()
2421 while (vp->cur_tx - dirty_tx > 0) { in _boomerang_interrupt()
2461 if (vp->cur_tx - dirty_tx <= TX_RING_SIZE - 1) { in _boomerang_interrupt()
2801 vp->cur_tx, vp->cur_tx % TX_RING_SIZE); in dump_tx_ring()