Lines Matching refs:cur_tx
465 atomic_t cur_tx;
1207 atomic_set (&tp->cur_tx, 0);
1266 atomic_set (&tp->cur_tx, 0);
1310 dev->name, atomic_read (&tp->cur_tx),
1340 entry = atomic_read (&tp->cur_tx) % NUM_TX_DESC;
1354 atomic_inc (&tp->cur_tx);
1355 if ((atomic_read (&tp->cur_tx) - atomic_read (&tp->dirty_tx)) >= NUM_TX_DESC)
1369 int cur_tx, dirty_tx, tx_left;
1377 cur_tx = atomic_read (&tp->cur_tx);
1378 tx_left = cur_tx - dirty_tx;
1426 atomic_sub (cur_tx, &tp->cur_tx);
1427 dirty_tx = cur_tx - tx_left + 1;
1432 cur_tx = atomic_read (&tp->cur_tx);
1433 tx_left = cur_tx - dirty_tx;
1438 if (atomic_read (&tp->cur_tx) - dirty_tx > NUM_TX_DESC) {
1441 dev->name, dirty_tx, atomic_read (&tp->cur_tx));