Home
last modified time | relevance | path

Searched refs:tx_cons (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/net/
Db44.h355 u32 tx_prod, tx_cons; member
Db44.c73 (((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()
Dcnic.h242 u16 tx_cons; member
Dsky2.c1036 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()
Dcnic.c2742 u16 rx_cons, tx_cons; in cnic_chk_pkt_rings() local
2749 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()
Dsky2.h2221 u16 tx_cons; /* next le to check */ member
Dtg3.c720 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()
Dtg3.h2734 u32 tx_cons; member
Dbnx2.c260 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()
Dbnx2.h6672 u16 tx_cons; member