Home
last modified time | relevance | path

Searched refs:tx_prod (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/altera/
Daltera_msgdma.c138 priv->tx_prod - priv->tx_cons - inuse - 1, 0); in msgdma_tx_completions()
143 ready = priv->tx_prod - priv->tx_cons - 1; in msgdma_tx_completions()
145 ready = priv->tx_prod - priv->tx_cons; in msgdma_tx_completions()
Daltera_tse_main.c87 return priv->tx_cons + priv->tx_ring_size - priv->tx_prod - 1; in tse_tx_avail()
273 priv->tx_prod = 0; in alloc_init_skbufs()
442 while (ready && (priv->tx_cons != priv->tx_prod)) { in tse_tx_complete()
448 __func__, priv->tx_prod, priv->tx_cons); in tse_tx_complete()
568 entry = priv->tx_prod % txsize; in tse_start_xmit()
587 priv->tx_prod++; in tse_start_xmit()
Daltera_tse.h428 u32 tx_prod; member
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c44 prod = txr->tx_prod; in bnxt_xmit_bd()
67 txr->tx_prod = prod; in bnxt_xmit_bd()
97 txr->tx_prod = prod; in bnxt_xmit_bd()
378 bnxt_db_write(bp, &txr->tx_db, txr->tx_prod); in bnxt_xdp_xmit()
Dbnxt.h794 u16 tx_prod; member
2225 ((txr->tx_prod - txr->tx_cons) & bp->tx_ring_mask); in bnxt_tx_avail()
Dbnxt.c380 prod = txr->tx_prod; in bnxt_start_xmit()
491 txr->tx_prod = prod; in bnxt_start_xmit()
602 txr->tx_prod = prod; in bnxt_start_xmit()
626 prod = txr->tx_prod; in bnxt_start_xmit()
645 bnxt_txr_db_kick(bp, txr, txr->tx_prod); in bnxt_start_xmit()
646 txr->tx_buf_ring[txr->tx_prod].skb = NULL; in bnxt_start_xmit()
2584 u16 prod = txr->tx_prod; in __bnxt_poll_work()
4447 txr->tx_prod = 0; in bnxt_clear_ring_indices()
11477 i, txr->tx_ring_struct.fw_ring_id, txr->tx_prod, in bnxt_dump_tx_sw_state()
Dbnxt_ethtool.c3558 bnxt_db_write(bp, &txr->tx_db, txr->tx_prod); in bnxt_run_loopback()
/linux-6.1.9/include/uapi/linux/
Dsmc_diag.h72 struct smc_diag_cursor tx_prod; /* sent producer cursor */ member
/linux-6.1.9/net/smc/
Dsmc_diag.c120 .tx_prod.wrap = conn->local_tx_ctrl.prod.wrap, in __smc_diag_dump()
121 .tx_prod.count = conn->local_tx_ctrl.prod.count, in __smc_diag_dump()
/linux-6.1.9/drivers/scsi/mvsas/
Dmv_sas.c382 slot->tx = mvi->tx_prod; in mvs_task_prep_smp()
383 mvi->tx[mvi->tx_prod] = cpu_to_le32((TXQ_CMD_SMP << TXQ_CMD_SHIFT) | in mvs_task_prep_smp()
455 slot->tx = mvi->tx_prod; in mvs_task_prep_ata()
460 mvi->tx[mvi->tx_prod] = cpu_to_le32(del_q); in mvs_task_prep_ata()
583 slot->tx = mvi->tx_prod; in mvs_task_prep_ssp()
584 mvi->tx[mvi->tx_prod] = cpu_to_le32(TXQ_MODE_I | tag | in mvs_task_prep_ssp()
821 mvi->tx_prod = (mvi->tx_prod + 1) & (MVS_CHIP_SLOT_SZ - 1); in mvs_task_prep()
857 MVS_CHIP_DISP->start_delivery(mvi, (mvi->tx_prod - 1) & in mvs_queue_command()
Dmv_sas.h353 u32 tx_prod; member
/linux-6.1.9/drivers/net/ethernet/broadcom/
Db44.h365 u32 tx_prod, tx_cons; member
Db44.c76 (((BP)->tx_cons <= (BP)->tx_prod) ? \
77 (BP)->tx_cons + (BP)->tx_pending - (BP)->tx_prod : \
78 (BP)->tx_cons - (BP)->tx_prod - TX_RING_GAP(BP))
1015 entry = bp->tx_prod; in b44_start_xmit()
1034 bp->tx_prod = entry; in b44_start_xmit()
1292 bp->tx_prod = bp->tx_cons = 0; in b44_chip_reset()
Dbnx2.c254 diff = READ_ONCE(txr->tx_prod) - READ_ONCE(txr->tx_cons); in bnx2_tx_avail()
5200 txr->tx_prod = 0; in bnx2_init_tx_ring()
5863 txbd = &txr->tx_desc_ring[BNX2_TX_RING_IDX(txr->tx_prod)]; in bnx2_run_loopback()
5871 txr->tx_prod = BNX2_NEXT_TX_BD(txr->tx_prod); in bnx2_run_loopback()
5874 BNX2_WR16(bp, txr->tx_bidx_addr, txr->tx_prod); in bnx2_run_loopback()
5889 if (bnx2_get_hw_tx_cons(tx_napi) != txr->tx_prod) in bnx2_run_loopback()
6617 prod = txr->tx_prod; in bnx2_start_xmit()
6720 txr->tx_prod = prod; in bnx2_start_xmit()
6741 prod = txr->tx_prod; in bnx2_start_xmit()
Dtg3.c6491 tnapi->tx_prod, tnapi->tx_cons, tnapi->tx_pending, in tg3_dump_state()
6525 ((tnapi->tx_prod - tnapi->tx_cons) & (TG3_TX_RING_SIZE - 1)); in tg3_tx_avail()
7934 entry = tnapi->tx_prod; in tg3_start_xmit()
8096 tg3_tx_skb_unmap(tnapi, tnapi->tx_prod, i); in tg3_start_xmit()
8113 entry = tnapi->tx_prod; in tg3_start_xmit()
8126 tnapi->tx_prod = entry; in tg3_start_xmit()
8148 tg3_tx_skb_unmap(tnapi, tnapi->tx_prod, --i); in tg3_start_xmit()
8149 tnapi->tx_buffers[tnapi->tx_prod].skb = NULL; in tg3_start_xmit()
8580 tnapi->tx_prod = 0; in tg3_init_rings()
9607 tp->napi[i].tx_prod = 0; in tg3_rings_reset()
[all …]
Dtg3.h3022 u32 tx_prod ____cacheline_aligned;
Dbnx2.h6730 u16 tx_prod; member
/linux-6.1.9/drivers/net/ethernet/marvell/
Dsky2.c1113 sky2->tx_prod = sky2->tx_cons = 0; in tx_init()
1118 le = get_tx_le(sky2, &sky2->tx_prod); in tx_init()
1779 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1); in tx_inuse()
1848 slot = sky2->tx_prod; in sky2_xmit_frame()
1966 sky2->tx_prod = slot; in sky2_xmit_frame()
1972 sky2_put_idx(hw, txqaddr[sky2->port], sky2->tx_prod); in sky2_xmit_frame()
1977 for (i = sky2->tx_prod; i != slot; i = RING_NEXT(i, sky2->tx_ring_size)) { in sky2_xmit_frame()
2108 sky2_tx_complete(sky2, sky2->tx_prod); in sky2_hw_down()
2369 sky2->tx_cons, sky2->tx_prod, in sky2_tx_timeout()
4423 sky2->tx_cons, sky2->tx_prod, in sky2_debug_show()
[all …]
Dsky2.h2227 u16 tx_prod; /* next le to use */ member