/linux-6.3-rc2/drivers/net/ethernet/altera/ |
A D | altera_msgdma.c | 138 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()
|
A D | altera_tse_main.c | 87 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()
|
A D | altera_tse.h | 428 u32 tx_prod; member
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_xdp.c | 44 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()
|
A D | bnxt.h | 795 u16 tx_prod; member 2236 ((txr->tx_prod - txr->tx_cons) & bp->tx_ring_mask); in bnxt_tx_avail()
|
A D | bnxt.c | 380 prod = txr->tx_prod; in bnxt_start_xmit() 494 txr->tx_prod = prod; in bnxt_start_xmit() 605 txr->tx_prod = prod; in bnxt_start_xmit() 629 prod = txr->tx_prod; in bnxt_start_xmit() 648 bnxt_txr_db_kick(bp, txr, txr->tx_prod); in bnxt_start_xmit() 649 txr->tx_buf_ring[txr->tx_prod].skb = NULL; in bnxt_start_xmit() 2586 u16 prod = txr->tx_prod; in __bnxt_poll_work() 4450 txr->tx_prod = 0; in bnxt_clear_ring_indices() 11535 i, txr->tx_ring_struct.fw_ring_id, txr->tx_prod, in bnxt_dump_tx_sw_state()
|
A D | bnxt_ethtool.c | 3662 bnxt_db_write(bp, &txr->tx_db, txr->tx_prod); in bnxt_run_loopback()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | smc_diag.h | 72 struct smc_diag_cursor tx_prod; /* sent producer cursor */ member
|
/linux-6.3-rc2/net/smc/ |
A D | smc_diag.c | 120 .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.3-rc2/drivers/scsi/mvsas/ |
A D | mv_sas.c | 378 slot->tx = mvi->tx_prod; in mvs_task_prep_smp() 379 mvi->tx[mvi->tx_prod] = cpu_to_le32((TXQ_CMD_SMP << TXQ_CMD_SHIFT) | in mvs_task_prep_smp() 451 slot->tx = mvi->tx_prod; in mvs_task_prep_ata() 456 mvi->tx[mvi->tx_prod] = cpu_to_le32(del_q); in mvs_task_prep_ata() 579 slot->tx = mvi->tx_prod; in mvs_task_prep_ssp() 580 mvi->tx[mvi->tx_prod] = cpu_to_le32(TXQ_MODE_I | tag | in mvs_task_prep_ssp() 823 mvi->tx_prod = (mvi->tx_prod + 1) & (MVS_CHIP_SLOT_SZ - 1); in mvs_task_prep() 859 MVS_CHIP_DISP->start_delivery(mvi, (mvi->tx_prod - 1) & in mvs_queue_command()
|
A D | mv_sas.h | 353 u32 tx_prod; member
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/ |
A D | b44.h | 365 u32 tx_prod, tx_cons; member
|
A D | b44.c | 76 (((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)) 993 entry = bp->tx_prod; in b44_start_xmit() 1012 bp->tx_prod = entry; in b44_start_xmit() 1270 bp->tx_prod = bp->tx_cons = 0; in b44_chip_reset()
|
A D | bnx2.c | 254 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()
|
A D | tg3.c | 7926 entry = tnapi->tx_prod; in tg3_start_xmit() 8088 tg3_tx_skb_unmap(tnapi, tnapi->tx_prod, i); in tg3_start_xmit() 8105 entry = tnapi->tx_prod; in tg3_start_xmit() 8118 tnapi->tx_prod = entry; in tg3_start_xmit() 8572 tnapi->tx_prod = 0; in tg3_init_rings() 9599 tp->napi[i].tx_prod = 0; in tg3_rings_reset() 9612 tp->napi[0].tx_prod = 0; in tg3_rings_reset() 13468 val = tnapi->tx_prod; in tg3_run_loopback() 13487 tnapi->tx_prod++; in tg3_run_loopback() 13506 if ((tx_idx == tnapi->tx_prod) && in tg3_run_loopback() [all …]
|
A D | tg3.h | 3022 u32 tx_prod ____cacheline_aligned;
|
A D | bnx2.h | 6730 u16 tx_prod; member
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/ |
A D | sky2.c | 1113 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 …]
|
A D | sky2.h | 2227 u16 tx_prod; /* next le to use */ member
|