Searched refs:tx_cons (Results 1 – 10 of 10) sorted by relevance
355 u32 tx_prod, tx_cons; member
73 (((BP)->tx_cons <= (BP)->tx_prod) ? \74 (BP)->tx_cons + (BP)->tx_pending - (BP)->tx_prod : \75 (BP)->tx_cons - (BP)->tx_prod - TX_RING_GAP(BP))601 for (cons = bp->tx_cons; cons != cur; cons = NEXT_TX(cons)) { in b44_tx()615 bp->tx_cons = cons; in b44_tx()1268 bp->tx_prod = bp->tx_cons = 0; in b44_chip_reset()
242 u16 tx_cons; member
1036 sky2->tx_prod = sky2->tx_cons = 0; in tx_init()1669 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1); in tx_inuse()1897 for (idx = sky2->tx_cons; idx != done; in sky2_tx_complete()1920 sky2->tx_cons = idx; in sky2_tx_complete()2237 sky2->tx_cons, sky2->tx_prod, in sky2_tx_timeout()4402 sky2->tx_cons, sky2->tx_prod, in sky2_debug_show()
2742 u16 rx_cons, tx_cons; in cnic_chk_pkt_rings() local2749 tx_cons = *cp->tx_cons_ptr; in cnic_chk_pkt_rings()2750 if (cp->tx_cons != tx_cons || cp->rx_cons != rx_cons) { in cnic_chk_pkt_rings()2754 cp->tx_cons = tx_cons; in cnic_chk_pkt_rings()4241 cp->tx_cons = *cp->tx_cons_ptr; in cnic_init_bnx2_tx_ring()
2221 u16 tx_cons; /* next le to check */ member
720 if (sblk->idx[0].tx_consumer != tnapi->tx_cons || in tg3_has_work()4488 ((tnapi->tx_prod - tnapi->tx_cons) & (TG3_TX_RING_SIZE - 1)); in tg3_tx_avail()4499 u32 sw_idx = tnapi->tx_cons; in tg3_tx()4547 tnapi->tx_cons = sw_idx; in tg3_tx()5058 if (tnapi->hw_status->idx[0].tx_consumer != tnapi->tx_cons) { in tg3_poll_work()5125 if (likely(sblk->idx[0].tx_consumer == tnapi->tx_cons && in tg3_poll_msix()6460 tnapi->tx_cons = 0; in tg3_init_rings()7714 tp->napi[i].tx_cons = 0; in tg3_rings_reset()7724 tp->napi[0].tx_cons = 0; in tg3_rings_reset()
2734 u32 tx_cons; member
260 diff = txr->tx_prod - txr->tx_cons; in bnx2_tx_avail()2782 sw_cons = txr->tx_cons; in bnx2_tx_int()2840 txr->tx_cons = sw_cons; in bnx2_tx_int()5004 txr->tx_cons = 0; in bnx2_clear_ring_states()
6672 u16 tx_cons; member