Home
last modified time | relevance | path

Searched refs:txbd (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/arc/
Demac_main.c118 struct arc_emac_bd *txbd = &priv->txbd[*txbd_dirty]; in arc_emac_tx_clean() local
121 unsigned int info = le32_to_cpu(txbd->info); in arc_emac_tx_clean()
123 if ((info & FOR_EMAC) || !txbd->data || !skb) in arc_emac_tx_clean()
149 txbd->data = 0; in arc_emac_tx_clean()
150 txbd->info = 0; in arc_emac_tx_clean()
473 memset(priv->txbd, 0, TX_RING_SZ); in arc_emac_open()
554 struct arc_emac_bd *txbd = &priv->txbd[i]; in arc_free_tx_queue() local
567 txbd->info = 0; in arc_free_tx_queue()
568 txbd->data = 0; in arc_free_tx_queue()
681 __le32 *info = &priv->txbd[*txbd_curr].info; in arc_emac_tx()
[all …]
Demac.h146 struct arc_emac_bd *txbd; member
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c32 struct tx_bd *txbd; in bnxt_xmit_bd() local
50 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_xmit_bd()
54 txbd->tx_bd_len_flags_type = cpu_to_le32(flags); in bnxt_xmit_bd()
55 txbd->tx_bd_opaque = prod; in bnxt_xmit_bd()
56 txbd->tx_bd_haddr = cpu_to_le64(mapping); in bnxt_xmit_bd()
73 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_xmit_bd()
85 txbd->tx_bd_len_flags_type = cpu_to_le32(flags); in bnxt_xmit_bd()
86 txbd->tx_bd_haddr = cpu_to_le64(frag_mapping); in bnxt_xmit_bd()
92 txbd->tx_bd_len_flags_type = cpu_to_le32(((len) << TX_BD_LEN_SHIFT) | flags | in bnxt_xmit_bd()
Dbnxt.c358 struct tx_bd *txbd; in bnxt_start_xmit() local
396 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_start_xmit()
398 txbd->tx_bd_opaque = prod; in bnxt_start_xmit()
483 txbd->tx_bd_len_flags_type = tx_push->tx_bd_len_flags_type; in bnxt_start_xmit()
484 txbd->tx_bd_haddr = txr->data_mapping; in bnxt_start_xmit()
486 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_start_xmit()
487 memcpy(txbd, tx_push1, sizeof(*txbd)); in bnxt_start_xmit()
527 txbd->tx_bd_haddr = cpu_to_le64(mapping); in bnxt_start_xmit()
562 txbd->tx_bd_len_flags_type = cpu_to_le32(flags); in bnxt_start_xmit()
571 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_start_xmit()
[all …]
/Linux-v6.1/drivers/net/ethernet/freescale/enetc/
Denetc.c135 union enetc_tx_bd *txbd; in enetc_map_tx_buffs() local
144 txbd = ENETC_TXBD(*tx_ring, i); in enetc_map_tx_buffs()
145 prefetchw(txbd); in enetc_map_tx_buffs()
194 *txbd = temp_bd; in enetc_map_tx_buffs()
200 txbd++; in enetc_map_tx_buffs()
205 txbd = ENETC_TXBD(*tx_ring, 0); in enetc_map_tx_buffs()
207 prefetchw(txbd); in enetc_map_tx_buffs()
265 *txbd = temp_bd; in enetc_map_tx_buffs()
270 txbd++; in enetc_map_tx_buffs()
275 txbd = ENETC_TXBD(*tx_ring, 0); in enetc_map_tx_buffs()
[all …]
Denetc_hw.h562 static inline void enetc_clear_tx_bd(union enetc_tx_bd *txbd) in enetc_clear_tx_bd() argument
564 memset(txbd, 0, sizeof(*txbd)); in enetc_clear_tx_bd()
/Linux-v6.1/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpearl_pcie.c347 struct qtnf_pearl_tx_bd *txbd; in qtnf_pearl_free_xfer_buffers() local
370 txbd = &ps->tx_bd_vbase[i]; in qtnf_pearl_free_xfer_buffers()
372 paddr = QTN_HOST_ADDR(le32_to_cpu(txbd->addr_h), in qtnf_pearl_free_xfer_buffers()
373 le32_to_cpu(txbd->addr)); in qtnf_pearl_free_xfer_buffers()
467 struct qtnf_pearl_tx_bd *txbd; in qtnf_pearl_data_tx_reclaim() local
485 txbd = &ps->tx_bd_vbase[i]; in qtnf_pearl_data_tx_reclaim()
486 paddr = QTN_HOST_ADDR(le32_to_cpu(txbd->addr_h), in qtnf_pearl_data_tx_reclaim()
487 le32_to_cpu(txbd->addr)); in qtnf_pearl_data_tx_reclaim()
540 struct qtnf_pearl_tx_bd *txbd; in qtnf_pcie_skb_send() local
570 txbd = &ps->tx_bd_vbase[i]; in qtnf_pcie_skb_send()
[all …]
Dtopaz_pcie.c298 struct qtnf_topaz_tx_bd *txbd; in qtnf_topaz_free_xfer_buffers() local
321 txbd = &ts->tx_bd_vbase[i]; in qtnf_topaz_free_xfer_buffers()
323 paddr = QTN_HOST_ADDR(0x0, le32_to_cpu(txbd->addr)); in qtnf_topaz_free_xfer_buffers()
328 txbd->addr = 0; in qtnf_topaz_free_xfer_buffers()
329 txbd->info = 0; in qtnf_topaz_free_xfer_buffers()
394 struct qtnf_topaz_tx_bd *txbd; in qtnf_topaz_data_tx_reclaim() local
415 txbd = &ts->tx_bd_vbase[i]; in qtnf_topaz_data_tx_reclaim()
416 paddr = QTN_HOST_ADDR(0x0, le32_to_cpu(txbd->addr)); in qtnf_topaz_data_tx_reclaim()
506 struct qtnf_topaz_tx_bd *txbd; in qtnf_pcie_data_tx() local
532 txbd = &ts->tx_bd_vbase[i]; in qtnf_pcie_data_tx()
[all …]
/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Dpci.c1229 struct rtw89_pci_tx_bd_32 *txbd, in rtw89_pci_fwcmd_submit() argument
1253 txbd->option = cpu_to_le16(RTW89_PCI_TXBD_OPTION_LS); in rtw89_pci_fwcmd_submit()
1254 txbd->length = cpu_to_le16(skb->len); in rtw89_pci_fwcmd_submit()
1255 txbd->dma = cpu_to_le32(tx_data->dma); in rtw89_pci_fwcmd_submit()
1265 struct rtw89_pci_tx_bd_32 *txbd, in rtw89_pci_txbd_submit() argument
1276 return rtw89_pci_fwcmd_submit(rtwdev, tx_ring, txbd, tx_req); in rtw89_pci_txbd_submit()
1293 txbd->option = cpu_to_le16(RTW89_PCI_TXBD_OPTION_LS); in rtw89_pci_txbd_submit()
1294 txbd->length = cpu_to_le16(txwd->len); in rtw89_pci_txbd_submit()
1295 txbd->dma = cpu_to_le32(txwd->paddr); in rtw89_pci_txbd_submit()
1312 struct rtw89_pci_tx_bd_32 *txbd; in rtw89_pci_tx_write() local
[all …]
/Linux-v6.1/drivers/net/ethernet/broadcom/
Dbnx2.c5180 struct bnx2_tx_bd *txbd; in bnx2_init_tx_ring() local
5195 txbd = &txr->tx_desc_ring[BNX2_MAX_TX_DESC_CNT]; in bnx2_init_tx_ring()
5197 txbd->tx_bd_haddr_hi = (u64) txr->tx_desc_mapping >> 32; in bnx2_init_tx_ring()
5198 txbd->tx_bd_haddr_lo = (u64) txr->tx_desc_mapping & 0xffffffff; in bnx2_init_tx_ring()
5809 struct bnx2_tx_bd *txbd; in bnx2_run_loopback() local
5862 txbd = &txr->tx_desc_ring[BNX2_TX_RING_IDX(txr->tx_prod)]; in bnx2_run_loopback()
5864 txbd->tx_bd_haddr_hi = (u64) map >> 32; in bnx2_run_loopback()
5865 txbd->tx_bd_haddr_lo = (u64) map & 0xffffffff; in bnx2_run_loopback()
5866 txbd->tx_bd_mss_nbytes = pkt_size; in bnx2_run_loopback()
5867 txbd->tx_bd_vlan_tag_flags = TX_BD_FLAGS_START | TX_BD_FLAGS_END; in bnx2_run_loopback()
[all …]
Dcnic.c4535 struct bnx2_tx_bd *txbd; in cnic_init_bnx2_tx_ring() local
4578 txbd = udev->l2_ring; in cnic_init_bnx2_tx_ring()
4581 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i++, txbd++) { in cnic_init_bnx2_tx_ring()
4582 txbd->tx_bd_haddr_hi = (u64) buf_map >> 32; in cnic_init_bnx2_tx_ring()
4583 txbd->tx_bd_haddr_lo = (u64) buf_map & 0xffffffff; in cnic_init_bnx2_tx_ring()
4587 txbd->tx_bd_haddr_hi = val; in cnic_init_bnx2_tx_ring()
4591 txbd->tx_bd_haddr_lo = val; in cnic_init_bnx2_tx_ring()
4919 union eth_tx_bd_types *txbd = (union eth_tx_bd_types *) udev->l2_ring; in cnic_init_bnx2x_tx_ring() local
4926 memset(txbd, 0, CNIC_PAGE_SIZE); in cnic_init_bnx2x_tx_ring()
4929 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i += 3, txbd += 3) { in cnic_init_bnx2x_tx_ring()
[all …]
Dtg3.c7680 static inline void tg3_tx_set_bd(struct tg3_tx_buffer_desc *txbd, in tg3_tx_set_bd() argument
7684 txbd->addr_hi = ((u64) mapping >> 32); in tg3_tx_set_bd()
7685 txbd->addr_lo = ((u64) mapping & 0xffffffff); in tg3_tx_set_bd()
7686 txbd->len_flags = (len << TXD_LEN_SHIFT) | (flags & 0x0000ffff); in tg3_tx_set_bd()
7687 txbd->vlan_tag = (mss << TXD_MSS_SHIFT) | (vlan << TXD_VLAN_TAG_SHIFT); in tg3_tx_set_bd()
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.h516 u8 *pdesc, u8 *txbd,
Dtrx.c343 u8 *txbd, struct ieee80211_tx_info *info, in rtl8723e_tx_fill_desc() argument
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.h634 struct ieee80211_hdr *hdr, u8 *pdesc_tx, u8 *txbd,
Dtrx.c663 struct ieee80211_hdr *hdr, u8 *pdesc8, u8 *txbd, in rtl8821ae_tx_fill_desc() argument
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.h629 u8 *pdesc_tx, u8 *txbd,
Dtrx.c404 u8 *txbd, struct ieee80211_tx_info *info, in rtl8723be_tx_fill_desc() argument
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.h784 u8 *txbd, struct ieee80211_tx_info *info,
Dtrx.c478 u8 *txbd, struct ieee80211_tx_info *info, in rtl88ee_tx_fill_desc() argument