Lines Matching refs:txbd

154 	union enetc_tx_bd *txbd;  in enetc_map_tx_buffs()  local
163 txbd = ENETC_TXBD(*tx_ring, i); in enetc_map_tx_buffs()
164 prefetchw(txbd); in enetc_map_tx_buffs()
213 *txbd = temp_bd; in enetc_map_tx_buffs()
219 txbd++; in enetc_map_tx_buffs()
224 txbd = ENETC_TXBD(*tx_ring, 0); in enetc_map_tx_buffs()
226 prefetchw(txbd); in enetc_map_tx_buffs()
284 *txbd = temp_bd; in enetc_map_tx_buffs()
289 txbd++; in enetc_map_tx_buffs()
294 txbd = ENETC_TXBD(*tx_ring, 0); in enetc_map_tx_buffs()
296 prefetchw(txbd); in enetc_map_tx_buffs()
311 *txbd = temp_bd; in enetc_map_tx_buffs()
341 union enetc_tx_bd *txbd, int *i, int hdr_len, in enetc_map_tx_tso_hdr() argument
370 *txbd = txbd_tmp; in enetc_map_tx_tso_hdr()
376 txbd = ENETC_TXBD(*tx_ring, *i); in enetc_map_tx_tso_hdr()
378 prefetchw(txbd); in enetc_map_tx_tso_hdr()
388 *txbd = txbd_tmp; in enetc_map_tx_tso_hdr()
394 union enetc_tx_bd *txbd, char *data, in enetc_map_tx_tso_data() argument
422 *txbd = txbd_tmp; in enetc_map_tx_tso_data()
492 union enetc_tx_bd *txbd; in enetc_map_tx_tso_buffs() local
507 txbd = ENETC_TXBD(*tx_ring, i); in enetc_map_tx_tso_buffs()
509 prefetchw(txbd); in enetc_map_tx_tso_buffs()
521 enetc_map_tx_tso_hdr(tx_ring, skb, tx_swbd, txbd, &i, hdr_len, data_len); in enetc_map_tx_tso_buffs()
532 txbd = ENETC_TXBD(*tx_ring, i); in enetc_map_tx_tso_buffs()
534 prefetchw(txbd); in enetc_map_tx_tso_buffs()
544 err = enetc_map_tx_tso_data(tx_ring, skb, tx_swbd, txbd, in enetc_map_tx_tso_buffs()
750 static void enetc_get_tx_tstamp(struct enetc_hw *hw, union enetc_tx_bd *txbd, in enetc_get_tx_tstamp() argument
757 tstamp_lo = le32_to_cpu(txbd->wb.tstamp); in enetc_get_tx_tstamp()
837 union enetc_tx_bd *txbd = ENETC_TXBD(*tx_ring, i); in enetc_clean_tx_ring() local
839 if (txbd->flags & ENETC_TXBD_FLAGS_W && in enetc_clean_tx_ring()
841 enetc_get_tx_tstamp(&priv->si->hw, txbd, in enetc_clean_tx_ring()
847 txbd->wb.status & ENETC_TXBD_STATS_WIN) in enetc_clean_tx_ring()
1256 union enetc_tx_bd *txbd = ENETC_TXBD(*tx_ring, i); in enetc_xdp_map_tx_buff() local
1258 prefetchw(txbd); in enetc_xdp_map_tx_buff()
1260 enetc_clear_tx_bd(txbd); in enetc_xdp_map_tx_buff()
1261 txbd->addr = cpu_to_le64(tx_swbd->dma + tx_swbd->page_offset); in enetc_xdp_map_tx_buff()
1262 txbd->buf_len = cpu_to_le16(tx_swbd->len); in enetc_xdp_map_tx_buff()
1263 txbd->frm_len = cpu_to_le16(frm_len); in enetc_xdp_map_tx_buff()
1294 union enetc_tx_bd *txbd = ENETC_TXBD(*tx_ring, i); in enetc_xdp_tx() local
1296 txbd->flags = ENETC_TXBD_FLAGS_F; in enetc_xdp_tx()