Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c86 return priv->tx_cons + priv->tx_ring_size - priv->tx_prod - 1; in tse_tx_avail()
293 priv->tx_prod = 0; in alloc_init_skbufs()
461 while (ready && (priv->tx_cons != priv->tx_prod)) { in tse_tx_complete()
467 __func__, priv->tx_prod, priv->tx_cons); in tse_tx_complete()
587 entry = priv->tx_prod % txsize; in tse_start_xmit()
606 priv->tx_prod++; in tse_start_xmit()
Daltera_tse.h435 u32 tx_prod; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c32 prod = txr->tx_prod; in bnxt_xmit_bd()
43 txr->tx_prod = prod; in bnxt_xmit_bd()
259 bnxt_db_write(bp, &txr->tx_db, txr->tx_prod); in bnxt_xdp_xmit()
Dbnxt.h776 u16 tx_prod; member
2070 ((txr->tx_prod - txr->tx_cons) & bp->tx_ring_mask); in bnxt_tx_avail()
Dbnxt.c416 prod = txr->tx_prod; in bnxt_start_xmit()
506 txr->tx_prod = prod; in bnxt_start_xmit()
618 txr->tx_prod = prod; in bnxt_start_xmit()
639 prod = txr->tx_prod; in bnxt_start_xmit()
658 bnxt_txr_db_kick(bp, txr, txr->tx_prod); in bnxt_start_xmit()
659 txr->tx_buf_ring[txr->tx_prod].skb = NULL; in bnxt_start_xmit()
2348 u16 prod = txr->tx_prod; in __bnxt_poll_work()
4122 txr->tx_prod = 0; in bnxt_clear_ring_indices()
10658 i, txr->tx_ring_struct.fw_ring_id, txr->tx_prod, in bnxt_dump_tx_sw_state()
Dbnxt_ethtool.c3281 bnxt_db_write(bp, &txr->tx_db, txr->tx_prod); in bnxt_run_loopback()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dsmc_diag.h69 struct smc_diag_cursor tx_prod; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dsmc_diag.h72 struct smc_diag_cursor tx_prod; /* sent producer cursor */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dsmc_diag.h58 struct smc_diag_cursor tx_prod; member
/kernel/linux/linux-5.10/net/smc/
Dsmc_diag.c133 .tx_prod.wrap = conn->local_tx_ctrl.prod.wrap, in __smc_diag_dump()
134 .tx_prod.count = conn->local_tx_ctrl.prod.count, in __smc_diag_dump()
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_sas.c377 slot->tx = mvi->tx_prod; in mvs_task_prep_smp()
378 mvi->tx[mvi->tx_prod] = cpu_to_le32((TXQ_CMD_SMP << TXQ_CMD_SHIFT) | in mvs_task_prep_smp()
450 slot->tx = mvi->tx_prod; in mvs_task_prep_ata()
455 mvi->tx[mvi->tx_prod] = cpu_to_le32(del_q); in mvs_task_prep_ata()
578 slot->tx = mvi->tx_prod; in mvs_task_prep_ssp()
579 mvi->tx[mvi->tx_prod] = cpu_to_le32(TXQ_MODE_I | tag | in mvs_task_prep_ssp()
819 mvi->tx_prod = (mvi->tx_prod + 1) & (MVS_CHIP_SLOT_SZ - 1); in mvs_task_prep()
855 MVS_CHIP_DISP->start_delivery(mvi, (mvi->tx_prod - 1) & in mvs_task_exec()
Dmv_sas.h353 u32 tx_prod; member
/kernel/linux/linux-5.10/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))
1014 entry = bp->tx_prod; in b44_start_xmit()
1033 bp->tx_prod = entry; in b44_start_xmit()
1291 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()
5862 txbd = &txr->tx_desc_ring[BNX2_TX_RING_IDX(txr->tx_prod)]; in bnx2_run_loopback()
5870 txr->tx_prod = BNX2_NEXT_TX_BD(txr->tx_prod); in bnx2_run_loopback()
5873 BNX2_WR16(bp, txr->tx_bidx_addr, txr->tx_prod); in bnx2_run_loopback()
5888 if (bnx2_get_hw_tx_cons(tx_napi) != txr->tx_prod) in bnx2_run_loopback()
6616 prod = txr->tx_prod; in bnx2_start_xmit()
6718 txr->tx_prod = prod; in bnx2_start_xmit()
6739 prod = txr->tx_prod; in bnx2_start_xmit()
Dtg3.c6498 tnapi->tx_prod, tnapi->tx_cons, tnapi->tx_pending, in tg3_dump_state()
6532 ((tnapi->tx_prod - tnapi->tx_cons) & (TG3_TX_RING_SIZE - 1)); in tg3_tx_avail()
7945 entry = tnapi->tx_prod; in tg3_start_xmit()
8106 tg3_tx_skb_unmap(tnapi, tnapi->tx_prod, i); in tg3_start_xmit()
8123 entry = tnapi->tx_prod; in tg3_start_xmit()
8136 tnapi->tx_prod = entry; in tg3_start_xmit()
8158 tg3_tx_skb_unmap(tnapi, tnapi->tx_prod, --i); in tg3_start_xmit()
8159 tnapi->tx_buffers[tnapi->tx_prod].skb = NULL; in tg3_start_xmit()
8590 tnapi->tx_prod = 0; in tg3_init_rings()
9617 tp->napi[i].tx_prod = 0; in tg3_rings_reset()
[all …]
Dtg3.h3022 u32 tx_prod ____cacheline_aligned;
Dbnx2.h6730 u16 tx_prod; member
/kernel/linux/linux-5.10/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()
1778 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1); in tx_inuse()
1847 slot = sky2->tx_prod; in sky2_xmit_frame()
1965 sky2->tx_prod = slot; in sky2_xmit_frame()
1971 sky2_put_idx(hw, txqaddr[sky2->port], sky2->tx_prod); in sky2_xmit_frame()
1976 for (i = sky2->tx_prod; i != slot; i = RING_NEXT(i, sky2->tx_ring_size)) { in sky2_xmit_frame()
2107 sky2_tx_complete(sky2, sky2->tx_prod); in sky2_hw_down()
2368 sky2->tx_cons, sky2->tx_prod, in sky2_tx_timeout()
4556 sky2->tx_cons, sky2->tx_prod, in sky2_debug_show()
[all …]
Dsky2.h2227 u16 tx_prod; /* next le to use */ member