Home
last modified time | relevance | path

Searched refs:first_bd (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c79 struct eth_tx_1st_bd *first_bd; in qede_free_tx_pkt() local
95 first_bd = (struct eth_tx_1st_bd *)qed_chain_consume(&txq->tx_pbl); in qede_free_tx_pkt()
99 nbds = first_bd->data.nbds; in qede_free_tx_pkt()
107 dma_unmap_single(&edev->pdev->dev, BD_UNMAP_ADDR(first_bd), in qede_free_tx_pkt()
108 BD_UNMAP_LEN(first_bd) + split_bd_len, DMA_TO_DEVICE); in qede_free_tx_pkt()
131 struct eth_tx_1st_bd *first_bd, in qede_free_failed_tx_pkt() argument
141 le16_to_cpu(txq->tx_db.data.bd_prod), first_bd); in qede_free_failed_tx_pkt()
143 first_bd = (struct eth_tx_1st_bd *)qed_chain_produce(&txq->tx_pbl); in qede_free_failed_tx_pkt()
152 dma_unmap_single(txq->dev, BD_UNMAP_ADDR(first_bd), in qede_free_failed_tx_pkt()
153 BD_UNMAP_LEN(first_bd) + split_bd_len, DMA_TO_DEVICE); in qede_free_failed_tx_pkt()
[all …]
Dqede_ethtool.c1452 struct eth_tx_1st_bd *first_bd; in qede_selftest_transmit_traffic() local
1474 first_bd = qed_chain_produce(&txq->tx_pbl); in qede_selftest_transmit_traffic()
1475 memset(first_bd, 0, sizeof(*first_bd)); in qede_selftest_transmit_traffic()
1477 first_bd->data.bd_flags.bitfields = val; in qede_selftest_transmit_traffic()
1480 first_bd->data.bitfields |= cpu_to_le16(val); in qede_selftest_transmit_traffic()
1489 BD_SET_UNMAP_ADDR_LEN(first_bd, mapping, skb_headlen(skb)); in qede_selftest_transmit_traffic()
1492 first_bd->data.nbds = 1; in qede_selftest_transmit_traffic()
1516 first_bd = (struct eth_tx_1st_bd *)qed_chain_consume(&txq->tx_pbl); in qede_selftest_transmit_traffic()
1517 dma_unmap_single(&edev->pdev->dev, BD_UNMAP_ADDR(first_bd), in qede_selftest_transmit_traffic()
1518 BD_UNMAP_LEN(first_bd), DMA_TO_DEVICE); in qede_selftest_transmit_traffic()
/kernel/linux/linux-5.10/include/linux/qed/
Deth_common.h432 struct eth_tx_1st_bd first_bd; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c202 u16 bd_idx = TX_BD(tx_buf->first_bd), new_cons; in bnx2x_free_tx_pkt()
221 new_cons = nbd + tx_buf->first_bd; in bnx2x_free_tx_pkt()
267 tx_buf->first_bd = 0; in bnx2x_free_tx_pkt()
3743 struct eth_tx_start_bd *tx_start_bd, *first_bd; in bnx2x_start_xmit() local
3860 first_bd = tx_start_bd; in bnx2x_start_xmit()
3885 tx_buf->first_bd = txdata->tx_bd_prod; in bnx2x_start_xmit()
4090 first_bd->nbd = cpu_to_le16(nbd); in bnx2x_start_xmit()
4117 first_bd->nbd = cpu_to_le16(nbd); in bnx2x_start_xmit()
Dbnx2x.h364 u16 first_bd; member
Dbnx2x_ethtool.c2577 tx_buf->first_bd = txdata->tx_bd_prod; in bnx2x_run_loopback()
Dbnx2x_main.c1171 sw_bd->first_bd); in bnx2x_panic_dump()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dbcm63xx_udc.c598 int first_bd = 1, last_bd = 0, extra_zero_pkt = 0; in iudma_write() local
631 if (first_bd) { in iudma_write()
633 first_bd = 0; in iudma_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c613 static int axienet_free_tx_chain(struct net_device *ndev, u32 first_bd, in axienet_free_tx_chain() argument
627 cur_p = &lp->tx_bd_v[(first_bd + i) % lp->tx_bd_num]; in axienet_free_tx_chain()