Home
last modified time | relevance | path

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

/drivers/net/ethernet/altera/
Daltera_msgdma.c149 priv->tx_prod - priv->tx_cons - inuse - 1, 0); in msgdma_tx_completions()
154 ready = priv->tx_prod - priv->tx_cons - 1; in msgdma_tx_completions()
156 ready = priv->tx_prod - priv->tx_cons; in msgdma_tx_completions()
Daltera_tse_main.c96 return priv->tx_cons + priv->tx_ring_size - priv->tx_prod - 1; in tse_tx_avail()
289 priv->tx_cons = 0; in alloc_init_skbufs()
464 while (ready && (priv->tx_cons != priv->tx_prod)) { in tse_tx_complete()
465 entry = priv->tx_cons % txsize; in tse_tx_complete()
470 __func__, priv->tx_prod, priv->tx_cons); in tse_tx_complete()
476 priv->tx_cons++; in tse_tx_complete()
Daltera_tse.h436 u32 tx_cons; member
/drivers/net/ethernet/broadcom/
Db44.h364 u32 tx_prod, tx_cons; member
Db44.c77 (((BP)->tx_cons <= (BP)->tx_prod) ? \
78 (BP)->tx_cons + (BP)->tx_pending - (BP)->tx_prod : \
79 (BP)->tx_cons - (BP)->tx_prod - TX_RING_GAP(BP))
626 for (cons = bp->tx_cons; cons != cur; cons = NEXT_TX(cons)) { in b44_tx()
645 bp->tx_cons = cons; in b44_tx()
1299 bp->tx_prod = bp->tx_cons = 0; in b44_chip_reset()
Dcnic.h237 u16 tx_cons; member
Dcnic.c2951 u16 rx_cons, tx_cons; in cnic_chk_pkt_rings() local
2958 tx_cons = *cp->tx_cons_ptr; in cnic_chk_pkt_rings()
2959 if (cp->tx_cons != tx_cons || cp->rx_cons != rx_cons) { in cnic_chk_pkt_rings()
2963 cp->tx_cons = tx_cons; in cnic_chk_pkt_rings()
4552 cp->tx_cons = *cp->tx_cons_ptr; in cnic_init_bnx2_tx_ring()
Dtg3.c1042 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work()
6477 tnapi->tx_prod, tnapi->tx_cons, tnapi->tx_pending, in tg3_dump_state()
6511 ((tnapi->tx_prod - tnapi->tx_cons) & (TG3_TX_RING_SIZE - 1)); in tg3_tx_avail()
6522 u32 sw_idx = tnapi->tx_cons; in tg3_tx()
6599 tnapi->tx_cons = sw_idx; in tg3_tx()
7152 if (tnapi->hw_status->idx[0].tx_consumer != tnapi->tx_cons) { in tg3_poll_work()
7236 if (likely(sblk->idx[0].tx_consumer == tnapi->tx_cons && in tg3_poll_msix()
8575 tnapi->tx_cons = 0; in tg3_init_rings()
9601 tp->napi[i].tx_cons = 0; in tg3_rings_reset()
9614 tp->napi[0].tx_cons = 0; in tg3_rings_reset()
[all …]
Dbnx2.c262 diff = txr->tx_prod - txr->tx_cons; in bnx2_tx_avail()
2858 sw_cons = txr->tx_cons; in bnx2_tx_int()
2919 txr->tx_cons = sw_cons; in bnx2_tx_int()
5129 txr->tx_cons = 0; in bnx2_clear_ring_states()
Dtg3.h3009 u32 tx_cons; member
Dbnx2.h6737 u16 tx_cons; member
/drivers/net/ethernet/marvell/
Dsky2.c1125 sky2->tx_prod = sky2->tx_cons = 0; in tx_init()
1794 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1); in tx_inuse()
2024 for (idx = sky2->tx_cons; idx != done; in sky2_tx_complete()
2045 sky2->tx_cons = idx; in sky2_tx_complete()
2385 sky2->tx_cons, sky2->tx_prod, in sky2_tx_timeout()
4570 sky2->tx_cons, sky2->tx_prod, in sky2_debug_show()
Dsky2.h2231 u16 tx_cons; /* next le to check */ member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h532 u16 tx_cons; member
Dbnxt.c139 ((txr->tx_prod - txr->tx_cons) & bp->tx_ring_mask); in bnxt_tx_avail()
429 u16 cons = txr->tx_cons; in bnxt_tx_int()
471 txr->tx_cons = cons; in bnxt_tx_int()
2455 txr->tx_cons = 0; in bnxt_clear_ring_indices()
5059 txr->tx_prod, txr->tx_cons); in bnxt_dbg_dump_states()