Lines Matching refs:txbd
135 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()
277 prefetchw(txbd); in enetc_map_tx_buffs()
292 *txbd = temp_bd; in enetc_map_tx_buffs()
322 union enetc_tx_bd *txbd, int *i, int hdr_len, in enetc_map_tx_tso_hdr() argument
351 *txbd = txbd_tmp; in enetc_map_tx_tso_hdr()
357 txbd = ENETC_TXBD(*tx_ring, *i); in enetc_map_tx_tso_hdr()
359 prefetchw(txbd); in enetc_map_tx_tso_hdr()
369 *txbd = txbd_tmp; in enetc_map_tx_tso_hdr()
375 union enetc_tx_bd *txbd, char *data, in enetc_map_tx_tso_data() argument
403 *txbd = txbd_tmp; in enetc_map_tx_tso_data()
473 union enetc_tx_bd *txbd; in enetc_map_tx_tso_buffs() local
488 txbd = ENETC_TXBD(*tx_ring, i); in enetc_map_tx_tso_buffs()
490 prefetchw(txbd); in enetc_map_tx_tso_buffs()
502 enetc_map_tx_tso_hdr(tx_ring, skb, tx_swbd, txbd, &i, hdr_len, data_len); in enetc_map_tx_tso_buffs()
513 txbd = ENETC_TXBD(*tx_ring, i); in enetc_map_tx_tso_buffs()
515 prefetchw(txbd); in enetc_map_tx_tso_buffs()
525 err = enetc_map_tx_tso_data(tx_ring, skb, tx_swbd, txbd, in enetc_map_tx_tso_buffs()
730 static void enetc_get_tx_tstamp(struct enetc_hw *hw, union enetc_tx_bd *txbd, in enetc_get_tx_tstamp() argument
737 tstamp_lo = le32_to_cpu(txbd->wb.tstamp); in enetc_get_tx_tstamp()
817 union enetc_tx_bd *txbd = ENETC_TXBD(*tx_ring, i); in enetc_clean_tx_ring() local
819 if (txbd->flags & ENETC_TXBD_FLAGS_W && in enetc_clean_tx_ring()
821 enetc_get_tx_tstamp(&priv->si->hw, txbd, in enetc_clean_tx_ring()
827 txbd->wb.status & ENETC_TXBD_STATS_WIN) in enetc_clean_tx_ring()
1230 union enetc_tx_bd *txbd = ENETC_TXBD(*tx_ring, i); in enetc_xdp_map_tx_buff() local
1232 prefetchw(txbd); in enetc_xdp_map_tx_buff()
1234 enetc_clear_tx_bd(txbd); in enetc_xdp_map_tx_buff()
1235 txbd->addr = cpu_to_le64(tx_swbd->dma + tx_swbd->page_offset); in enetc_xdp_map_tx_buff()
1236 txbd->buf_len = cpu_to_le16(tx_swbd->len); in enetc_xdp_map_tx_buff()
1237 txbd->frm_len = cpu_to_le16(frm_len); in enetc_xdp_map_tx_buff()
1268 union enetc_tx_bd *txbd = ENETC_TXBD(*tx_ring, i); in enetc_xdp_tx() local
1270 txbd->flags = ENETC_TXBD_FLAGS_F; in enetc_xdp_tx()