Lines Matching refs:cur_tx
320 tp->cur_rx = tp->cur_tx = 0;
353 tp->tx_buffers[tp->cur_tx].skb = NULL;
354 tp->tx_buffers[tp->cur_tx].mapping = mapping;
357 tp->tx_ring[tp->cur_tx].length = cpu_to_le32(0x08000000 | 192);
358 tp->tx_ring[tp->cur_tx].buffer1 = cpu_to_le32(mapping);
359 tp->tx_ring[tp->cur_tx].status = cpu_to_le32(DescOwned);
361 tp->cur_tx++;
647 entry = tp->cur_tx % TX_RING_SIZE;
655 if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE/2) {/* Typical path */
657 } else if (tp->cur_tx - tp->dirty_tx == TX_RING_SIZE/2) {
659 } else if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE - 2) {
674 tp->cur_tx++;
690 for (dirty_tx = tp->dirty_tx ; tp->cur_tx - dirty_tx > 0;
1083 if (tp->cur_tx - tp->dirty_tx > TX_RING_SIZE - 2) {
1091 entry = tp->cur_tx++ % TX_RING_SIZE;
1102 entry = tp->cur_tx++ % TX_RING_SIZE;
1120 if (tp->cur_tx - tp->dirty_tx >= TX_RING_SIZE - 2)