Home
last modified time | relevance | path

Searched refs:dma_unmap_len_set (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c235 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_xdp_tx_buf()
370 dma_unmap_len_set(tx_buf, len, size); in __ice_xmit_xdp_ring()
421 dma_unmap_len_set(tx_buf, len, 0); in __ice_xmit_xdp_ring()
Dice_txrx.c81 dma_unmap_len_set(tx_buf, len, ICE_FDIR_MAX_RAW_PKT_SIZE); in ice_prgm_fdir_fltr()
138 dma_unmap_len_set(tx_buf, len, 0); in ice_unmap_and_free_tx_buf()
271 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_tx_irq()
291 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_tx_irq()
1681 dma_unmap_len_set(tx_buf, len, size); in ice_tx_map()
2558 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_ctrl_tx_irq()
/Linux-v6.6/drivers/net/ethernet/google/gve/
Dgve_tx.c380 dma_unmap_len_set(info, len, 0); in gve_tx_unmap_buf()
385 dma_unmap_len_set(info, len, 0); in gve_tx_unmap_buf()
615 dma_unmap_len_set(info, len, len); in gve_tx_add_skb_no_copy()
659 dma_unmap_len_set(&tx->info[idx], len, len); in gve_tx_add_skb_no_copy()
Dgve_tx_dqo.c606 dma_unmap_len_set(pkt, len[pkt->num_bufs], len); in gve_tx_add_skb_no_copy_dqo()
625 dma_unmap_len_set(pkt, len[pkt->num_bufs], len); in gve_tx_add_skb_no_copy_dqo()
/Linux-v6.6/drivers/net/ethernet/arc/
Demac_main.c254 dma_unmap_len_set(rx_buff, len, EMAC_BUFFER_SIZE); in arc_emac_rx()
456 dma_unmap_len_set(rx_buff, len, EMAC_BUFFER_SIZE); in arc_emac_open()
705 dma_unmap_len_set(&priv->tx_buff[*txbd_curr], len, len); in arc_emac_tx()
/Linux-v6.6/include/linux/
Ddma-mapping.h599 #define dma_unmap_len_set(PTR, LEN_NAME, VAL) (((PTR)->LEN_NAME) = (VAL)) macro
606 #define dma_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0) macro
/Linux-v6.6/drivers/net/ethernet/atheros/alx/
Dmain.c62 dma_unmap_len_set(txb, size, 0); in alx_free_txbuf()
120 dma_unmap_len_set(cur_buf, size, alx->rxbuf_size); in alx_refill_rx_ring()
246 dma_unmap_len_set(rxb, size, 0); in alx_clean_rx_irq()
523 dma_unmap_len_set(cur_buf, size, 0); in alx_free_rxring_buf()
1485 dma_unmap_len_set(&txq->bufs[txq->write_idx], size, maplen); in alx_map_tx_skb()
1505 dma_unmap_len_set(&txq->bufs[txq->write_idx], size, maplen); in alx_map_tx_skb()
/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c49 dma_unmap_len_set(tx_buffer, len, 0); in iavf_unmap_and_free_tx_resource()
258 dma_unmap_len_set(tx_buf, len, 0); in iavf_clean_tx_irq()
280 dma_unmap_len_set(tx_buf, len, 0); in iavf_clean_tx_irq()
2311 dma_unmap_len_set(tx_bi, len, size); in iavf_tx_map()
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb/
Dsge.c843 dma_unmap_len_set(ce, dma_len, dma_len); in refill_free_list()
1178 dma_unmap_len_set(ce1, dma_len, 0); in write_large_page_tx_descs()
1229 dma_unmap_len_set(ce, dma_len, 0); in write_tx_descs()
1254 dma_unmap_len_set(ce, dma_len, skb_headlen(skb)); in write_tx_descs()
1280 dma_unmap_len_set(ce, dma_len, skb_frag_size(frag)); in write_tx_descs()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c134 dma_unmap_len_set(tx_buf, len, I40E_FDIR_MAX_RAW_PACKET_SIZE); in i40e_program_fdir_filter()
780 dma_unmap_len_set(tx_buffer, len, 0); in i40e_unmap_and_free_tx_resource()
983 dma_unmap_len_set(tx_buf, len, 0); in i40e_clean_tx_irq()
1005 dma_unmap_len_set(tx_buf, len, 0); in i40e_clean_tx_irq()
3623 dma_unmap_len_set(tx_bi, len, size); in i40e_tx_map()
3825 dma_unmap_len_set(tx_bi, len, size); in i40e_xmit_xdp_ring()
3869 dma_unmap_len_set(tx_bi, len, 0); in i40e_xmit_xdp_ring()
Di40e_xsk.c648 dma_unmap_len_set(tx_bi, len, 0); in i40e_clean_xdp_tx_buffer()
/Linux-v6.6/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c968 dma_unmap_len_set(tx_buffer, len, size); in fm10k_tx_map()
1228 dma_unmap_len_set(tx_buffer, len, 0); in fm10k_clean_tx_irq()
1247 dma_unmap_len_set(tx_buffer, len, 0); in fm10k_clean_tx_irq()
Dfm10k_netdev.c162 dma_unmap_len_set(tx_buffer, len, 0); in fm10k_unmap_and_free_tx_resource()
/Linux-v6.6/drivers/net/ethernet/qlogic/
Dqla3xxx.c339 dma_unmap_len_set(lrg_buf_cb, maplen, in ql_release_to_lrg_buf_free_list()
1827 dma_unmap_len_set(lrg_buf_cb, maplen, in ql_populate_free_queue()
2333 dma_unmap_len_set(&tx_cb->map[seg], maplen, len); in ql_send_map()
2373 dma_unmap_len_set(&tx_cb->map[seg], maplen, in ql_send_map()
2395 dma_unmap_len_set(&tx_cb->map[seg], maplen, skb_frag_size(frag)); in ql_send_map()
2784 dma_unmap_len_set(lrg_buf_cb, maplen, in ql_alloc_large_buffers()
/Linux-v6.6/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c818 dma_unmap_len_set(tx_buffer, len, 0); in wx_clean_tx_irq()
837 dma_unmap_len_set(tx_buffer, len, 0); in wx_clean_tx_irq()
1029 dma_unmap_len_set(tx_buffer, len, size); in wx_tx_map()
1118 dma_unmap_len_set(tx_buffer, len, 0); in wx_tx_map()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c125 dma_unmap_len_set(tx_buf, len, 0); in __bnxt_xmit_xdp_redirect()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c458 dma_unmap_len_set(tx_bi, len, 0); in ixgbe_clean_xdp_tx_buffer()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c317 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_clean_tx_irq()
336 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_clean_tx_irq()
993 dma_unmap_len_set(tx_buffer, len, len); in ixgbevf_xmit_xdp_ring()
3994 dma_unmap_len_set(tx_buffer, len, size); in ixgbevf_tx_map()
4081 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_tx_map()
4093 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_tx_map()
/Linux-v6.6/drivers/net/ethernet/alteon/
Dacenic.c2044 dma_unmap_len_set(info, maplen, 0); in ace_tx_int()
2336 dma_unmap_len_set(info, maplen, 0); in ace_close()
2372 dma_unmap_len_set(info, maplen, skb->len); in ace_map_tx_skb()
2483 dma_unmap_len_set(info, maplen, skb_frag_size(frag)); in ace_start_xmit()
/Linux-v6.6/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_intf.c141 dma_unmap_len_set(txcb, dma_len, 0); in bcmasp_clean_txcb()
334 dma_unmap_len_set(txcb, dma_len, size); in bcmasp_xmit()
/Linux-v6.6/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1397 dma_unmap_len_set(&tx->info[idx], len, 0); in myri10ge_tx_done()
2116 dma_unmap_len_set(&tx->info[idx], len, 0); in myri10ge_free_rings()
2604 dma_unmap_len_set(&tx->info[idx], len, 0); in myri10ge_unmap_tx_dma()
2733 dma_unmap_len_set(&tx->info[idx], len, len); in myri10ge_xmit()
2841 dma_unmap_len_set(&tx->info[idx], len, len); in myri10ge_xmit()
/Linux-v6.6/drivers/net/ethernet/alacritech/
Dslicoss.c440 dma_unmap_len_set(buff, map_len, maplen); in slic_refill_rx_queue()
1434 dma_unmap_len_set(buff, map_len, maplen); in slic_xmit()
/Linux-v6.6/drivers/net/ethernet/intel/igb/
Digb_main.c6237 dma_unmap_len_set(tx_buffer, len, size); in igb_tx_map()
6330 dma_unmap_len_set(tx_buffer, len, 0); in igb_tx_map()
6342 dma_unmap_len_set(tx_buffer, len, 0); in igb_tx_map()
6393 dma_unmap_len_set(tx_buffer, len, len); in igb_xmit_xdp_ring()
6448 dma_unmap_len_set(tx_buffer, len, 0); in igb_xmit_xdp_ring()
8306 dma_unmap_len_set(tx_buffer, len, 0); in igb_clean_tx_irq()
8325 dma_unmap_len_set(tx_buffer, len, 0); in igb_clean_tx_irq()
/Linux-v6.6/drivers/net/ethernet/intel/igc/
Digc_main.c187 dma_unmap_len_set(buf, len, 0); in igc_unmap_tx_buffer()
1104 dma_unmap_len_set(buffer, len, skb->len); in igc_init_empty_frame()
1345 dma_unmap_len_set(tx_buffer, len, size); in igc_tx_map()
2391 dma_unmap_len_set(buffer, len, len); in igc_xdp_init_tx_descriptor()
2435 dma_unmap_len_set(buffer, len, 0); in igc_xdp_init_tx_descriptor()
/Linux-v6.6/drivers/net/ethernet/marvell/
Dskge.c967 dma_unmap_len_set(e, maplen, bufsize); in skge_rx_setup()
2767 dma_unmap_len_set(e, maplen, len); in skge_xmit_frame()
2812 dma_unmap_len_set(e, maplen, skb_frag_size(frag)); in skge_xmit_frame()

12