Searched refs:tx_cons (Results 1 – 8 of 8) sorted by relevance
71 (((BP)->tx_cons <= (BP)->tx_prod) ? \72 (BP)->tx_cons + (BP)->tx_pending - (BP)->tx_prod : \73 (BP)->tx_cons - (BP)->tx_prod - TX_RING_GAP(BP))610 for (cons = bp->tx_cons; cons != cur; cons = NEXT_TX(cons)) { in b44_tx()624 bp->tx_cons = cons; in b44_tx()1279 bp->tx_prod = bp->tx_cons = 0; in b44_chip_reset()
355 u32 tx_prod, tx_cons; member
1005 sky2->tx_prod = sky2->tx_cons = 0; in tx_init()1518 return sky2->tx_pending - tx_dist(sky2->tx_cons, sky2->tx_prod); in tx_avail()1695 for (idx = sky2->tx_cons; idx != done; in sky2_tx_complete()1728 sky2->tx_cons = idx; in sky2_tx_complete()2044 dev->name, sky2->tx_cons, sky2->tx_prod, in sky2_tx_timeout()3901 sky2->tx_cons, sky2->tx_prod, in sky2_debug_show()
2015 u16 tx_cons; /* next le to check */ member
2493 u32 tx_cons; member
247 diff = txr->tx_prod - txr->tx_cons; in bnx2_tx_avail()2605 sw_cons = txr->tx_cons; in bnx2_tx_int()2653 txr->tx_cons = sw_cons; in bnx2_tx_int()4735 txr->tx_cons = 0; in bnx2_clear_ring_states()
651 if (sblk->idx[0].tx_consumer != tp->tx_cons || in tg3_has_work()4031 ((tp->tx_prod - tp->tx_cons) & (TG3_TX_RING_SIZE - 1))); in tg3_tx_avail()4041 u32 sw_idx = tp->tx_cons; in tg3_tx()4074 tp->tx_cons = sw_idx; in tg3_tx()4422 if (sblk->idx[0].tx_consumer != tp->tx_cons) { in tg3_poll_work()6784 tp->tx_cons = 0; in tg3_reset_hw()
6642 u16 tx_cons; member