Searched refs:first_bd (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 104 struct eth_tx_1st_bd *first_bd; in qede_free_tx_pkt() local 120 first_bd = (struct eth_tx_1st_bd *)qed_chain_consume(&txq->tx_pbl); in qede_free_tx_pkt() 124 nbds = first_bd->data.nbds; in qede_free_tx_pkt() 132 dma_unmap_single(&edev->pdev->dev, BD_UNMAP_ADDR(first_bd), in qede_free_tx_pkt() 133 BD_UNMAP_LEN(first_bd) + split_bd_len, DMA_TO_DEVICE); in qede_free_tx_pkt() 156 struct eth_tx_1st_bd *first_bd, in qede_free_failed_tx_pkt() argument 166 le16_to_cpu(txq->tx_db.data.bd_prod), first_bd); in qede_free_failed_tx_pkt() 168 first_bd = (struct eth_tx_1st_bd *)qed_chain_produce(&txq->tx_pbl); in qede_free_failed_tx_pkt() 177 dma_unmap_single(txq->dev, BD_UNMAP_ADDR(first_bd), in qede_free_failed_tx_pkt() 178 BD_UNMAP_LEN(first_bd) + split_bd_len, DMA_TO_DEVICE); in qede_free_failed_tx_pkt() [all …]
|
D | qede_ethtool.c | 1494 struct eth_tx_1st_bd *first_bd; in qede_selftest_transmit_traffic() local 1516 first_bd = qed_chain_produce(&txq->tx_pbl); in qede_selftest_transmit_traffic() 1517 memset(first_bd, 0, sizeof(*first_bd)); in qede_selftest_transmit_traffic() 1519 first_bd->data.bd_flags.bitfields = val; in qede_selftest_transmit_traffic() 1522 first_bd->data.bitfields |= cpu_to_le16(val); in qede_selftest_transmit_traffic() 1531 BD_SET_UNMAP_ADDR_LEN(first_bd, mapping, skb_headlen(skb)); in qede_selftest_transmit_traffic() 1534 first_bd->data.nbds = 1; in qede_selftest_transmit_traffic() 1558 first_bd = (struct eth_tx_1st_bd *)qed_chain_consume(&txq->tx_pbl); in qede_selftest_transmit_traffic() 1559 dma_unmap_single(&edev->pdev->dev, BD_UNMAP_ADDR(first_bd), in qede_selftest_transmit_traffic() 1560 BD_UNMAP_LEN(first_bd), DMA_TO_DEVICE); in qede_selftest_transmit_traffic()
|
/Linux-v5.4/include/linux/qed/ |
D | eth_common.h | 431 struct eth_tx_1st_bd first_bd; member
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 202 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() 3740 struct eth_tx_start_bd *tx_start_bd, *first_bd; in bnx2x_start_xmit() local 3857 first_bd = tx_start_bd; in bnx2x_start_xmit() 3882 tx_buf->first_bd = txdata->tx_bd_prod; in bnx2x_start_xmit() 4087 first_bd->nbd = cpu_to_le16(nbd); in bnx2x_start_xmit() 4114 first_bd->nbd = cpu_to_le16(nbd); in bnx2x_start_xmit()
|
D | bnx2x.h | 358 u16 first_bd; member
|
D | bnx2x_ethtool.c | 2583 tx_buf->first_bd = txdata->tx_bd_prod; in bnx2x_run_loopback()
|
D | bnx2x_main.c | 1161 sw_bd->first_bd); in bnx2x_panic_dump()
|
/Linux-v5.4/drivers/usb/gadget/udc/ |
D | bcm63xx_udc.c | 597 int first_bd = 1, last_bd = 0, extra_zero_pkt = 0; in iudma_write() local 630 if (first_bd) { in iudma_write() 632 first_bd = 0; in iudma_write()
|