Lines Matching refs:cur_tx
303 unsigned int cur_rx, cur_tx; /* The next free ring entry */
862 tp->cur_rx = tp->cur_tx = 0;
913 entry = tp->cur_tx % TX_RING_SIZE;
924 if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE/2) {/* Typical path */
926 } else if (tp->cur_tx - tp->dirty_tx == TX_RING_SIZE/2) {
928 } else if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE - 2) {
940 tp->cur_tx++;
1081 for (dirty_tx = tp->dirty_tx; tp->cur_tx - dirty_tx > 0;
1118 if (tp->cur_tx - dirty_tx > TX_RING_SIZE) {
1120 dev->name, dirty_tx, tp->cur_tx, tp->tx_full);
1126 tp->cur_tx - dirty_tx < TX_RING_SIZE - 2)
1584 if (tp->cur_tx - tp->dirty_tx > TX_RING_SIZE - 2) {
1592 entry = tp->cur_tx++ % TX_RING_SIZE;
1602 entry = tp->cur_tx++ % TX_RING_SIZE;
1612 if (tp->cur_tx - tp->dirty_tx >= TX_RING_SIZE - 2) {