Lines Matching refs:cur_tx
391 unsigned int cur_tx, dirty_tx; member
990 np->cur_tx, np->cur_tx % TX_RING_SIZE, in tx_timeout()
1005 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { in tx_timeout()
1019 np->cur_rx = np->cur_tx = 0; in init_ring()
1066 &np->tx_ring[(np->cur_tx - 1) % TX_RING_SIZE]; in tx_poll()
1069 for (; np->cur_tx - np->cur_task > 0; np->cur_task++) { in tx_poll()
1094 entry = np->cur_tx % TX_RING_SIZE; in start_tx()
1108 np->cur_tx++; in start_tx()
1114 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 1 && in start_tx()
1123 dev->name, np->cur_tx, entry); in start_tx()
1161 np->cur_tx = np->dirty_tx = 0; in reset_tx()
1258 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in intr_handler()
1284 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in intr_handler()
1304 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()