Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c254 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_xdp_irq()
302 dma_unmap_len_set(tx_buf, len, size); 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()
136 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()
1622 dma_unmap_len_set(tx_buf, len, size); in ice_tx_map()
2498 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_ctrl_tx_irq()
Dice_xsk.c779 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_xdp_tx_buf()
/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_tx.c313 dma_unmap_len_set(info, len, 0); in gve_tx_unmap_buf()
318 dma_unmap_len_set(info, len, 0); in gve_tx_unmap_buf()
546 dma_unmap_len_set(info, len, len); in gve_tx_add_skb_no_copy()
587 dma_unmap_len_set(&tx->info[idx], len, len); in gve_tx_add_skb_no_copy()
Dgve_tx_dqo.c501 dma_unmap_len_set(pkt, len[pkt->num_bufs], len); in gve_tx_add_skb_no_copy_dqo()
520 dma_unmap_len_set(pkt, len[pkt->num_bufs], len); in gve_tx_add_skb_no_copy_dqo()
/linux-6.1.9/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-6.1.9/include/linux/
Ddma-mapping.h594 #define dma_unmap_len_set(PTR, LEN_NAME, VAL) (((PTR)->LEN_NAME) = (VAL)) macro
601 #define dma_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0) macro
/linux-6.1.9/drivers/net/ethernet/atheros/alx/
Dmain.c63 dma_unmap_len_set(txb, size, 0); in alx_free_txbuf()
121 dma_unmap_len_set(cur_buf, size, alx->rxbuf_size); in alx_refill_rx_ring()
247 dma_unmap_len_set(rxb, size, 0); in alx_clean_rx_irq()
524 dma_unmap_len_set(cur_buf, size, 0); in alx_free_rxring_buf()
1486 dma_unmap_len_set(&txq->bufs[txq->write_idx], size, maplen); in alx_map_tx_skb()
1506 dma_unmap_len_set(&txq->bufs[txq->write_idx], size, maplen); in alx_map_tx_skb()
/linux-6.1.9/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()
981 dma_unmap_len_set(tx_buf, len, 0); in i40e_clean_tx_irq()
1003 dma_unmap_len_set(tx_buf, len, 0); in i40e_clean_tx_irq()
3539 dma_unmap_len_set(tx_bi, len, size); in i40e_tx_map()
3741 dma_unmap_len_set(tx_bi, len, size); in i40e_xmit_xdp_ring()
3785 dma_unmap_len_set(tx_bi, len, 0); in i40e_xmit_xdp_ring()
Di40e_xsk.c577 dma_unmap_len_set(tx_bi, len, 0); in i40e_clean_xdp_tx_buffer()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c49 dma_unmap_len_set(tx_buffer, len, 0); in iavf_unmap_and_free_tx_resource()
240 dma_unmap_len_set(tx_buf, len, 0); in iavf_clean_tx_irq()
262 dma_unmap_len_set(tx_buf, len, 0); in iavf_clean_tx_irq()
2312 dma_unmap_len_set(tx_bi, len, size); in iavf_tx_map()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c458 dma_unmap_len_set(tx_bi, len, 0); in ixgbe_clean_xdp_tx_buffer()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c125 dma_unmap_len_set(tx_buf, len, 0); in __bnxt_xmit_xdp_redirect()
/linux-6.1.9/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()
3987 dma_unmap_len_set(tx_buffer, len, size); in ixgbevf_tx_map()
4074 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_tx_map()
4086 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_tx_map()
/linux-6.1.9/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()
2484 dma_unmap_len_set(info, maplen, skb_frag_size(frag)); in ace_start_xmit()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/intel/igb/
Digb_main.c6154 dma_unmap_len_set(tx_buffer, len, size); in igb_tx_map()
6247 dma_unmap_len_set(tx_buffer, len, 0); in igb_tx_map()
6259 dma_unmap_len_set(tx_buffer, len, 0); in igb_tx_map()
6310 dma_unmap_len_set(tx_buffer, len, len); in igb_xmit_xdp_ring()
6365 dma_unmap_len_set(tx_buffer, len, 0); in igb_xmit_xdp_ring()
8219 dma_unmap_len_set(tx_buffer, len, 0); in igb_clean_tx_irq()
8238 dma_unmap_len_set(tx_buffer, len, 0); in igb_clean_tx_irq()
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_main.c188 dma_unmap_len_set(buf, len, 0); in igc_unmap_tx_buffer()
1069 dma_unmap_len_set(buffer, len, skb->len); in igc_init_empty_frame()
1299 dma_unmap_len_set(tx_buffer, len, size); in igc_tx_map()
2292 dma_unmap_len_set(buffer, len, len); in igc_xdp_init_tx_descriptor()
2336 dma_unmap_len_set(buffer, len, 0); in igc_xdp_init_tx_descriptor()
/linux-6.1.9/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()
/linux-6.1.9/drivers/staging/qlge/
Dqlge_main.c1259 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, len); in qlge_map_send()
1315 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in qlge_map_send()
1335 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in qlge_map_send()

12