Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c80 struct eth_tx_1st_bd *first_bd; in qede_free_tx_pkt() local
96 first_bd = (struct eth_tx_1st_bd *)qed_chain_consume(&txq->tx_pbl); in qede_free_tx_pkt()
100 nbds = first_bd->data.nbds; in qede_free_tx_pkt()
108 dma_unmap_single(&edev->pdev->dev, BD_UNMAP_ADDR(first_bd), in qede_free_tx_pkt()
109 BD_UNMAP_LEN(first_bd) + split_bd_len, DMA_TO_DEVICE); in qede_free_tx_pkt()
132 struct eth_tx_1st_bd *first_bd, in qede_free_failed_tx_pkt() argument
142 le16_to_cpu(txq->tx_db.data.bd_prod), first_bd); in qede_free_failed_tx_pkt()
144 first_bd = (struct eth_tx_1st_bd *)qed_chain_produce(&txq->tx_pbl); in qede_free_failed_tx_pkt()
153 dma_unmap_single(txq->dev, BD_UNMAP_ADDR(first_bd), in qede_free_failed_tx_pkt()
154 BD_UNMAP_LEN(first_bd) + split_bd_len, DMA_TO_DEVICE); in qede_free_failed_tx_pkt()
[all …]
Dqede_ethtool.c1493 struct eth_tx_1st_bd *first_bd; in qede_selftest_transmit_traffic() local
1515 first_bd = qed_chain_produce(&txq->tx_pbl); in qede_selftest_transmit_traffic()
1516 memset(first_bd, 0, sizeof(*first_bd)); in qede_selftest_transmit_traffic()
1518 first_bd->data.bd_flags.bitfields = val; in qede_selftest_transmit_traffic()
1521 first_bd->data.bitfields |= cpu_to_le16(val); in qede_selftest_transmit_traffic()
1530 BD_SET_UNMAP_ADDR_LEN(first_bd, mapping, skb_headlen(skb)); in qede_selftest_transmit_traffic()
1533 first_bd->data.nbds = 1; in qede_selftest_transmit_traffic()
1557 first_bd = (struct eth_tx_1st_bd *)qed_chain_consume(&txq->tx_pbl); in qede_selftest_transmit_traffic()
1558 dma_unmap_single(&edev->pdev->dev, BD_UNMAP_ADDR(first_bd), in qede_selftest_transmit_traffic()
1559 BD_UNMAP_LEN(first_bd), DMA_TO_DEVICE); in qede_selftest_transmit_traffic()
/linux-6.6.21/include/linux/qed/
Deth_common.h433 struct eth_tx_1st_bd first_bd; member
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c201 u16 bd_idx = TX_BD(tx_buf->first_bd), new_cons; in bnx2x_free_tx_pkt()
220 new_cons = nbd + tx_buf->first_bd; in bnx2x_free_tx_pkt()
266 tx_buf->first_bd = 0; in bnx2x_free_tx_pkt()
3759 struct eth_tx_start_bd *tx_start_bd, *first_bd; in bnx2x_start_xmit() local
3876 first_bd = tx_start_bd; in bnx2x_start_xmit()
3901 tx_buf->first_bd = txdata->tx_bd_prod; in bnx2x_start_xmit()
4106 first_bd->nbd = cpu_to_le16(nbd); in bnx2x_start_xmit()
4133 first_bd->nbd = cpu_to_le16(nbd); in bnx2x_start_xmit()
Dbnx2x.h364 u16 first_bd; member
Dbnx2x_ethtool.c2585 tx_buf->first_bd = txdata->tx_bd_prod; in bnx2x_run_loopback()
Dbnx2x_main.c1173 sw_bd->first_bd); in bnx2x_panic_dump()
/linux-6.6.21/drivers/usb/gadget/udc/
Dbcm63xx_udc.c595 int first_bd = 1, last_bd = 0, extra_zero_pkt = 0; in iudma_write() local
628 if (first_bd) { in iudma_write()
630 first_bd = 0; in iudma_write()
/linux-6.6.21/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c656 static int axienet_free_tx_chain(struct axienet_local *lp, u32 first_bd, in axienet_free_tx_chain() argument
665 cur_p = &lp->tx_bd_v[(first_bd + i) % lp->tx_bd_num]; in axienet_free_tx_chain()