Lines Matching refs:dirty_tx
326 unsigned int cur_tx, dirty_tx; member
691 yp->cur_tx, yp->dirty_tx, in yellowfin_tx_timeout()
716 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) in yellowfin_tx_timeout()
731 yp->dirty_tx = 0; in yellowfin_init_ring()
881 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) in yellowfin_start_xmit()
925 for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) { in yellowfin_interrupt()
926 int entry = yp->dirty_tx % TX_RING_SIZE; in yellowfin_interrupt()
942 yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) { in yellowfin_interrupt()
949 unsigned dirty_tx = yp->dirty_tx; in yellowfin_interrupt() local
951 for (dirty_tx = yp->dirty_tx; yp->cur_tx - dirty_tx > 0; in yellowfin_interrupt()
952 dirty_tx++) { in yellowfin_interrupt()
954 int entry = dirty_tx % TX_RING_SIZE; in yellowfin_interrupt()
1003 if (yp->cur_tx - dirty_tx > TX_RING_SIZE) { in yellowfin_interrupt()
1005 dirty_tx, yp->cur_tx, yp->tx_full); in yellowfin_interrupt()
1006 dirty_tx += TX_RING_SIZE; in yellowfin_interrupt()
1011 yp->cur_tx - dirty_tx < TX_QUEUE_SIZE - 2) { in yellowfin_interrupt()
1017 yp->dirty_tx = dirty_tx; in yellowfin_interrupt()
1018 yp->tx_tail_desc = &yp->tx_status[dirty_tx % TX_RING_SIZE]; in yellowfin_interrupt()
1212 yp->cur_tx, yp->dirty_tx, in yellowfin_close()