Lines Matching defs:cur_tx
471 atomic_t cur_tx;
1215 atomic_set(&tp->cur_tx, 0);
1271 atomic_set(&tp->cur_tx, 0);
1314 atomic_read(&tp->cur_tx),
1344 entry = atomic_read(&tp->cur_tx) % NUM_TX_DESC;
1357 atomic_inc(&tp->cur_tx);
1358 if ((atomic_read(&tp->cur_tx) - atomic_read(&tp->dirty_tx)) >= NUM_TX_DESC)
1372 int cur_tx, dirty_tx, tx_left;
1380 cur_tx = atomic_read(&tp->cur_tx);
1381 tx_left = cur_tx - dirty_tx;
1429 atomic_sub(cur_tx, &tp->cur_tx);
1430 dirty_tx = cur_tx - tx_left + 1;
1435 cur_tx = atomic_read(&tp->cur_tx);
1436 tx_left = cur_tx - dirty_tx;
1441 if (atomic_read(&tp->cur_tx) - dirty_tx > NUM_TX_DESC) {
1443 dirty_tx, atomic_read(&tp->cur_tx));