/linux-6.1.9/drivers/net/ethernet/altera/ |
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()
|
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()
|
D | altera_tse.h | 428 u32 tx_prod; member
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
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()
|
D | bnxt.h | 794 u16 tx_prod; member 2225 ((txr->tx_prod - txr->tx_cons) & bp->tx_ring_mask); in bnxt_tx_avail()
|
D | bnxt.c | 380 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()
|
D | bnxt_ethtool.c | 3558 bnxt_db_write(bp, &txr->tx_db, txr->tx_prod); in bnxt_run_loopback()
|
/linux-6.1.9/include/uapi/linux/ |
D | smc_diag.h | 72 struct smc_diag_cursor tx_prod; /* sent producer cursor */ member
|
/linux-6.1.9/net/smc/ |
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.1.9/drivers/scsi/mvsas/ |
D | mv_sas.c | 382 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()
|
D | mv_sas.h | 353 u32 tx_prod; member
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | b44.h | 365 u32 tx_prod, tx_cons; member
|
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)) 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()
|
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()
|
D | tg3.c | 6491 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 …]
|
D | tg3.h | 3022 u32 tx_prod ____cacheline_aligned;
|
D | bnx2.h | 6730 u16 tx_prod; member
|
/linux-6.1.9/drivers/net/ethernet/marvell/ |
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 …]
|
D | sky2.h | 2227 u16 tx_prod; /* next le to use */ member
|