/drivers/net/ethernet/arc/ |
D | emac_main.c | 118 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 …]
|
D | emac.h | 146 struct arc_emac_bd *txbd; member
|
/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
D | pearl_pcie.c | 347 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 …]
|
D | topaz_pcie.c | 298 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 …]
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 30 struct tx_bd *txbd; in bnxt_xmit_bd() local 37 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_xmit_bd() 40 txbd->tx_bd_len_flags_type = cpu_to_le32(flags); in bnxt_xmit_bd() 41 txbd->tx_bd_opaque = prod; in bnxt_xmit_bd() 42 txbd->tx_bd_haddr = cpu_to_le64(mapping); in bnxt_xmit_bd()
|
D | bnxt.c | 405 struct tx_bd *txbd; in bnxt_start_xmit() local 443 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_start_xmit() 445 txbd->tx_bd_opaque = prod; in bnxt_start_xmit() 530 txbd->tx_bd_len_flags_type = tx_push->tx_bd_len_flags_type; in bnxt_start_xmit() 531 txbd->tx_bd_haddr = txr->data_mapping; in bnxt_start_xmit() 533 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_start_xmit() 534 memcpy(txbd, tx_push1, sizeof(*txbd)); in bnxt_start_xmit() 574 txbd->tx_bd_haddr = cpu_to_le64(mapping); in bnxt_start_xmit() 612 txbd->tx_bd_len_flags_type = cpu_to_le32(flags); in bnxt_start_xmit() 621 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_start_xmit() [all …]
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 133 union enetc_tx_bd *txbd; in enetc_map_tx_buffs() local 142 txbd = ENETC_TXBD(*tx_ring, i); in enetc_map_tx_buffs() 143 prefetchw(txbd); in enetc_map_tx_buffs() 191 *txbd = temp_bd; in enetc_map_tx_buffs() 197 txbd++; in enetc_map_tx_buffs() 202 txbd = ENETC_TXBD(*tx_ring, 0); in enetc_map_tx_buffs() 204 prefetchw(txbd); in enetc_map_tx_buffs() 262 *txbd = temp_bd; in enetc_map_tx_buffs() 267 txbd++; in enetc_map_tx_buffs() 272 txbd = ENETC_TXBD(*tx_ring, 0); in enetc_map_tx_buffs() [all …]
|
D | enetc_hw.h | 559 static inline void enetc_clear_tx_bd(union enetc_tx_bd *txbd) in enetc_clear_tx_bd() argument 561 memset(txbd, 0, sizeof(*txbd)); in enetc_clear_tx_bd()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 5180 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 …]
|
D | cnic.c | 4536 struct bnx2_tx_bd *txbd; in cnic_init_bnx2_tx_ring() local 4579 txbd = udev->l2_ring; in cnic_init_bnx2_tx_ring() 4582 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i++, txbd++) { in cnic_init_bnx2_tx_ring() 4583 txbd->tx_bd_haddr_hi = (u64) buf_map >> 32; in cnic_init_bnx2_tx_ring() 4584 txbd->tx_bd_haddr_lo = (u64) buf_map & 0xffffffff; in cnic_init_bnx2_tx_ring() 4588 txbd->tx_bd_haddr_hi = val; in cnic_init_bnx2_tx_ring() 4592 txbd->tx_bd_haddr_lo = val; in cnic_init_bnx2_tx_ring() 4920 union eth_tx_bd_types *txbd = (union eth_tx_bd_types *) udev->l2_ring; in cnic_init_bnx2x_tx_ring() local 4927 memset(txbd, 0, CNIC_PAGE_SIZE); in cnic_init_bnx2x_tx_ring() 4930 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i += 3, txbd += 3) { in cnic_init_bnx2x_tx_ring() [all …]
|
D | tg3.c | 7690 static inline void tg3_tx_set_bd(struct tg3_tx_buffer_desc *txbd, in tg3_tx_set_bd() argument 7694 txbd->addr_hi = ((u64) mapping >> 32); in tg3_tx_set_bd() 7695 txbd->addr_lo = ((u64) mapping & 0xffffffff); in tg3_tx_set_bd() 7696 txbd->len_flags = (len << TXD_LEN_SHIFT) | (flags & 0x0000ffff); in tg3_tx_set_bd() 7697 txbd->vlan_tag = (mss << TXD_MSS_SHIFT) | (vlan << TXD_VLAN_TAG_SHIFT); in tg3_tx_set_bd()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | trx.h | 516 u8 *pdesc, u8 *txbd,
|
D | trx.c | 343 u8 *txbd, struct ieee80211_tx_info *info, in rtl8723e_tx_fill_desc() argument
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | trx.h | 634 struct ieee80211_hdr *hdr, u8 *pdesc_tx, u8 *txbd,
|
D | trx.c | 663 struct ieee80211_hdr *hdr, u8 *pdesc8, u8 *txbd, in rtl8821ae_tx_fill_desc() argument
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | trx.h | 629 u8 *pdesc_tx, u8 *txbd,
|
D | trx.c | 404 u8 *txbd, struct ieee80211_tx_info *info, in rtl8723be_tx_fill_desc() argument
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | trx.h | 784 u8 *txbd, struct ieee80211_tx_info *info,
|
D | trx.c | 478 u8 *txbd, struct ieee80211_tx_info *info, in rtl88ee_tx_fill_desc() argument
|