Home
last modified time | relevance | path

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

/drivers/net/ethernet/arc/
Demac_main.c161 struct arc_emac_bd *txbd = &priv->txbd[*txbd_dirty]; in arc_emac_tx_clean() local
164 unsigned int info = le32_to_cpu(txbd->info); in arc_emac_tx_clean()
166 if ((info & FOR_EMAC) || !txbd->data) in arc_emac_tx_clean()
192 txbd->data = 0; in arc_emac_tx_clean()
193 txbd->info = 0; in arc_emac_tx_clean()
450 memset(priv->txbd, 0, TX_RING_SZ); in arc_emac_open()
587 __le32 *info = &priv->txbd[*txbd_curr].info; in arc_emac_tx()
614 priv->txbd[*txbd_curr].data = cpu_to_le32(addr); in arc_emac_tx()
807 priv->txbd = priv->rxbd + RX_BD_NUM; in arc_emac_probe()
Demac.h141 struct arc_emac_bd *txbd; member
/drivers/net/ethernet/nuvoton/
Dw90p910_ether.c600 struct w90p910_txbd *txbd; in w90p910_send_frame() local
607 txbd = &ether->tdesc->desclist[ether->cur_tx]; in w90p910_send_frame()
615 txbd->sl = length & 0xFFFF; in w90p910_send_frame()
619 txbd->mode = TX_OWEN_DMA | PADDINGMODE | CRCMODE | MACTXINTEN; in w90p910_send_frame()
628 txbd = &ether->tdesc->desclist[ether->cur_tx]; in w90p910_send_frame()
630 if (txbd->mode & TX_OWEN_DMA) in w90p910_send_frame()
651 struct w90p910_txbd *txbd; in w90p910_tx_interrupt() local
668 txbd = &ether->tdesc->desclist[ether->finish_tx]; in w90p910_tx_interrupt()
673 if (txbd->sl & TXDS_TXCP) { in w90p910_tx_interrupt()
675 ether->stats.tx_bytes += txbd->sl & 0xFFFF; in w90p910_tx_interrupt()
[all …]
/drivers/net/ethernet/broadcom/
Dbnx2.c5156 struct bnx2_tx_bd *txbd; in bnx2_init_tx_ring() local
5171 txbd = &txr->tx_desc_ring[BNX2_MAX_TX_DESC_CNT]; in bnx2_init_tx_ring()
5173 txbd->tx_bd_haddr_hi = (u64) txr->tx_desc_mapping >> 32; in bnx2_init_tx_ring()
5174 txbd->tx_bd_haddr_lo = (u64) txr->tx_desc_mapping & 0xffffffff; in bnx2_init_tx_ring()
5785 struct bnx2_tx_bd *txbd; in bnx2_run_loopback() local
5838 txbd = &txr->tx_desc_ring[BNX2_TX_RING_IDX(txr->tx_prod)]; in bnx2_run_loopback()
5840 txbd->tx_bd_haddr_hi = (u64) map >> 32; in bnx2_run_loopback()
5841 txbd->tx_bd_haddr_lo = (u64) map & 0xffffffff; in bnx2_run_loopback()
5842 txbd->tx_bd_mss_nbytes = pkt_size; in bnx2_run_loopback()
5843 txbd->tx_bd_vlan_tag_flags = TX_BD_FLAGS_START | TX_BD_FLAGS_END; in bnx2_run_loopback()
[all …]
Dcnic.c4525 struct bnx2_tx_bd *txbd; in cnic_init_bnx2_tx_ring() local
4568 txbd = udev->l2_ring; in cnic_init_bnx2_tx_ring()
4571 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i++, txbd++) { in cnic_init_bnx2_tx_ring()
4572 txbd->tx_bd_haddr_hi = (u64) buf_map >> 32; in cnic_init_bnx2_tx_ring()
4573 txbd->tx_bd_haddr_lo = (u64) buf_map & 0xffffffff; in cnic_init_bnx2_tx_ring()
4577 txbd->tx_bd_haddr_hi = val; in cnic_init_bnx2_tx_ring()
4581 txbd->tx_bd_haddr_lo = val; in cnic_init_bnx2_tx_ring()
4910 union eth_tx_bd_types *txbd = (union eth_tx_bd_types *) udev->l2_ring; in cnic_init_bnx2x_tx_ring() local
4917 memset(txbd, 0, CNIC_PAGE_SIZE); in cnic_init_bnx2x_tx_ring()
4920 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i += 3, txbd += 3) { in cnic_init_bnx2x_tx_ring()
[all …]
Dtg3.c7666 static inline void tg3_tx_set_bd(struct tg3_tx_buffer_desc *txbd, in tg3_tx_set_bd() argument
7670 txbd->addr_hi = ((u64) mapping >> 32); in tg3_tx_set_bd()
7671 txbd->addr_lo = ((u64) mapping & 0xffffffff); in tg3_tx_set_bd()
7672 txbd->len_flags = (len << TXD_LEN_SHIFT) | (flags & 0x0000ffff); in tg3_tx_set_bd()
7673 txbd->vlan_tag = (mss << TXD_MSS_SHIFT) | (vlan << TXD_VLAN_TAG_SHIFT); in tg3_tx_set_bd()
/drivers/net/wireless/rtlwifi/rtl8723be/
Dtrx.h605 u8 *pdesc_tx, u8 *txbd,
Dtrx.c584 u8 *txbd, struct ieee80211_tx_info *info, in rtl8723be_tx_fill_desc() argument
/drivers/net/wireless/rtlwifi/rtl8821ae/
Dtrx.h599 struct ieee80211_hdr *hdr, u8 *pdesc_tx, u8 *txbd,
Dtrx.c896 struct ieee80211_hdr *hdr, u8 *pdesc_tx, u8 *txbd, in rtl8821ae_tx_fill_desc() argument
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dtrx.c522 u8 *txbd, struct ieee80211_tx_info *info, in rtl8723e_tx_fill_desc() argument
Dtrx.h700 u8 *pdesc, u8 *txbd,
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dtrx.c657 u8 *txbd, struct ieee80211_tx_info *info, in rtl88ee_tx_fill_desc() argument
Dtrx.h775 u8 *txbd, struct ieee80211_tx_info *info,