Lines Matching refs:dirty_tx
326 unsigned int cur_tx, dirty_tx; member
690 yp->cur_tx, yp->dirty_tx, in yellowfin_tx_timeout()
715 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) in yellowfin_tx_timeout()
730 yp->dirty_tx = 0; in yellowfin_init_ring()
876 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) in yellowfin_start_xmit()
920 for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) { in yellowfin_interrupt()
921 int entry = yp->dirty_tx % TX_RING_SIZE; in yellowfin_interrupt()
936 yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) { in yellowfin_interrupt()
943 unsigned dirty_tx = yp->dirty_tx; in yellowfin_interrupt() local
945 for (dirty_tx = yp->dirty_tx; yp->cur_tx - dirty_tx > 0; in yellowfin_interrupt()
946 dirty_tx++) { in yellowfin_interrupt()
948 int entry = dirty_tx % TX_RING_SIZE; in yellowfin_interrupt()
997 if (yp->cur_tx - dirty_tx > TX_RING_SIZE) { in yellowfin_interrupt()
999 dirty_tx, yp->cur_tx, yp->tx_full); in yellowfin_interrupt()
1000 dirty_tx += TX_RING_SIZE; in yellowfin_interrupt()
1005 yp->cur_tx - dirty_tx < TX_QUEUE_SIZE - 2) { in yellowfin_interrupt()
1011 yp->dirty_tx = dirty_tx; in yellowfin_interrupt()
1012 yp->tx_tail_desc = &yp->tx_status[dirty_tx % TX_RING_SIZE]; in yellowfin_interrupt()
1200 yp->cur_tx, yp->dirty_tx, in yellowfin_close()