Lines Matching refs:cur_tx
398 unsigned int cur_tx, dirty_tx; member
1001 np->cur_tx, np->cur_tx % TX_RING_SIZE, in tx_timeout()
1016 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { in tx_timeout()
1030 np->cur_rx = np->cur_tx = 0; in init_ring()
1078 &np->tx_ring[(np->cur_tx - 1) % TX_RING_SIZE]; in tx_poll()
1081 for (; np->cur_tx - np->cur_task > 0; np->cur_task++) { in tx_poll()
1106 entry = np->cur_tx % TX_RING_SIZE; in start_tx()
1120 np->cur_tx++; in start_tx()
1126 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 1 && in start_tx()
1135 dev->name, np->cur_tx, entry); in start_tx()
1173 np->cur_tx = np->dirty_tx = 0; in reset_tx()
1270 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in intr_handler()
1296 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in intr_handler()
1316 np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { in intr_handler()
1840 np->cur_tx = 0; in netdev_close()
1853 dev->name, np->cur_tx, np->dirty_tx, np->cur_rx, np->dirty_rx); in netdev_close()