Lines Matching refs:cur_tx
391 unsigned int cur_tx, dirty_tx; member
988 np->cur_tx, np->cur_tx % TX_RING_SIZE, in tx_timeout()
1003 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { in tx_timeout()
1017 np->cur_rx = np->cur_tx = 0; in init_ring()
1064 &np->tx_ring[(np->cur_tx - 1) % TX_RING_SIZE]; in tx_poll()
1067 for (; np->cur_tx - np->cur_task > 0; np->cur_task++) { in tx_poll()
1092 entry = np->cur_tx % TX_RING_SIZE; in start_tx()
1106 np->cur_tx++; in start_tx()
1112 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 1 && in start_tx()
1121 dev->name, np->cur_tx, entry); in start_tx()
1159 np->cur_tx = np->dirty_tx = 0; in reset_tx()
1256 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in intr_handler()
1282 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in intr_handler()
1302 np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { in intr_handler()
1825 np->cur_tx = 0; in netdev_close()
1838 dev->name, np->cur_tx, np->dirty_tx, np->cur_rx, np->dirty_rx); in netdev_close()