Lines Matching refs:cur_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()
730 yp->cur_rx = yp->cur_tx = 0; in yellowfin_init_ring()
824 entry = yp->cur_tx % TX_RING_SIZE; in yellowfin_start_xmit()
855 yp->cur_tx++; in yellowfin_start_xmit()
864 yp->cur_tx++; in yellowfin_start_xmit()
866 unsigned next_entry = yp->cur_tx % TX_RING_SIZE; in yellowfin_start_xmit()
881 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) in yellowfin_start_xmit()
888 yp->cur_tx, entry); in yellowfin_start_xmit()
925 for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) { in yellowfin_interrupt()
942 yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) { in yellowfin_interrupt()
951 for (dirty_tx = yp->dirty_tx; yp->cur_tx - dirty_tx > 0; 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()
1011 yp->cur_tx - dirty_tx < TX_QUEUE_SIZE - 2) { in yellowfin_interrupt()
1212 yp->cur_tx, yp->dirty_tx, in yellowfin_close()