Lines Matching refs:cur_tx
267 unsigned int cur_tx, dirty_tx;
788 ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx);
878 netdev_dbg(dev, "Tx indices: dirty_tx %d, cur_tx %d.\n",
879 ep->dirty_tx, ep->cur_tx);
903 ep->dirty_tx = ep->cur_tx = 0;
960 free_count = ep->cur_tx - ep->dirty_tx;
961 entry = ep->cur_tx % TX_RING_SIZE;
983 ep->cur_tx++;
1022 unsigned int dirty_tx, cur_tx;
1028 cur_tx = ep->cur_tx;
1029 for (dirty_tx = ep->dirty_tx; cur_tx - dirty_tx > 0; dirty_tx++) {
1054 if (cur_tx - dirty_tx > TX_RING_SIZE) {
1056 dirty_tx, cur_tx, ep->tx_full);
1061 if (ep->tx_full && cur_tx - dirty_tx < TX_QUEUE_LEN - 4) {