Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c230 dma_unmap_len_set(tx_buf, len, size); in ice_xmit_xdp_ring()
Dice_txrx.c76 dma_unmap_len_set(tx_buf, len, ICE_FDIR_MAX_RAW_PKT_SIZE); in ice_prgm_fdir_fltr()
131 dma_unmap_len_set(tx_buf, len, 0); in ice_unmap_and_free_tx_buf()
253 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_tx_irq()
272 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_tx_irq()
1769 dma_unmap_len_set(tx_buf, len, size); in ice_tx_map()
2540 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_ctrl_tx_irq()
Dice_xsk.c750 dma_unmap_len_set(tx_buf, len, 0); in ice_clean_xdp_tx_buf()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
1462 dma_unmap_len_set(&txq->bufs[txq->write_idx], size, maplen); in alx_map_tx_skb()
1482 dma_unmap_len_set(&txq->bufs[txq->write_idx], size, maplen); in alx_map_tx_skb()
/kernel/linux/linux-5.10/include/linux/
Ddma-mapping.h567 #define dma_unmap_len_set(PTR, LEN_NAME, VAL) (((PTR)->LEN_NAME) = (VAL)) macro
574 #define dma_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0) macro
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dsge.c852 dma_unmap_len_set(ce, dma_len, dma_len); in refill_free_list()
1183 dma_unmap_len_set(ce1, dma_len, 0); in write_large_page_tx_descs()
1234 dma_unmap_len_set(ce, dma_len, 0); in write_tx_descs()
1259 dma_unmap_len_set(ce, dma_len, skb_headlen(skb)); in write_tx_descs()
1285 dma_unmap_len_set(ce, dma_len, skb_frag_size(frag)); in write_tx_descs()
/kernel/linux/linux-5.10/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()
2296 dma_unmap_len_set(tx_bi, len, size); in iavf_tx_map()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c136 dma_unmap_len_set(tx_buf, len, I40E_FDIR_MAX_RAW_PACKET_SIZE); in i40e_program_fdir_filter()
626 dma_unmap_len_set(tx_buffer, len, 0); in i40e_unmap_and_free_tx_resource()
827 dma_unmap_len_set(tx_buf, len, 0); in i40e_clean_tx_irq()
849 dma_unmap_len_set(tx_buf, len, 0); in i40e_clean_tx_irq()
3406 dma_unmap_len_set(tx_bi, len, size); in i40e_tx_map()
3602 dma_unmap_len_set(tx_bi, len, size); in i40e_xmit_xdp_ring()
Di40e_xsk.c516 dma_unmap_len_set(tx_bi, len, 0); in i40e_clean_xdp_tx_buffer()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c68 dma_unmap_len_set(tx_buf, len, 0); in __bnxt_xmit_xdp_redirect()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c973 dma_unmap_len_set(tx_buffer, len, size); in fm10k_tx_map()
1233 dma_unmap_len_set(tx_buffer, len, 0); in fm10k_clean_tx_irq()
1252 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/
Dqla3xxx.c340 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()
2337 dma_unmap_len_set(&tx_cb->map[seg], maplen, len); in ql_send_map()
2377 dma_unmap_len_set(&tx_cb->map[seg], maplen, in ql_send_map()
2399 dma_unmap_len_set(&tx_cb->map[seg], maplen, skb_frag_size(frag)); in ql_send_map()
2796 dma_unmap_len_set(lrg_buf_cb, maplen, in ql_alloc_large_buffers()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c445 dma_unmap_len_set(tx_bi, len, 0); in ixgbe_clean_xdp_tx_buffer()
/kernel/linux/linux-5.10/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()
998 dma_unmap_len_set(tx_buffer, len, len); in ixgbevf_xmit_xdp_ring()
3998 dma_unmap_len_set(tx_buffer, len, size); in ixgbevf_tx_map()
4085 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_tx_map()
4097 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_tx_map()
/kernel/linux/linux-5.10/drivers/net/ethernet/alteon/
Dacenic.c2047 dma_unmap_len_set(info, maplen, 0); in ace_tx_int()
2339 dma_unmap_len_set(info, maplen, 0); in ace_close()
2375 dma_unmap_len_set(info, maplen, skb->len); in ace_map_tx_skb()
2487 dma_unmap_len_set(info, maplen, skb_frag_size(frag)); in ace_start_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1395 dma_unmap_len_set(&tx->info[idx], len, 0); in myri10ge_tx_done()
2108 dma_unmap_len_set(&tx->info[idx], len, 0); in myri10ge_free_rings()
2596 dma_unmap_len_set(&tx->info[idx], len, 0); in myri10ge_unmap_tx_dma()
2725 dma_unmap_len_set(&tx->info[idx], len, len); in myri10ge_xmit()
2833 dma_unmap_len_set(&tx->info[idx], len, len); in myri10ge_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_main.c967 dma_unmap_len_set(buffer, len, skb->len); in igc_init_empty_frame()
1189 dma_unmap_len_set(tx_buffer, len, size); in igc_tx_map()
1282 dma_unmap_len_set(tx_buffer, len, 0); in igc_tx_map()
1294 dma_unmap_len_set(tx_buffer, len, 0); in igc_tx_map()
2156 dma_unmap_len_set(tx_buffer, len, 0); in igc_clean_tx_irq()
2175 dma_unmap_len_set(tx_buffer, len, 0); in igc_clean_tx_irq()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c935 dma_unmap_len_set(tx_buf, dma_len0, size); in setup_tx_buf()
941 dma_unmap_len_set(tx_buf, dma_len1, size); in setup_tx_buf()
947 dma_unmap_len_set(tx_buf, dma_len0, size); in setup_tx_buf()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_main.c6161 dma_unmap_len_set(tx_buffer, len, size); in igb_tx_map()
6254 dma_unmap_len_set(tx_buffer, len, 0); in igb_tx_map()
6266 dma_unmap_len_set(tx_buffer, len, 0); in igb_tx_map()
6304 dma_unmap_len_set(tx_buffer, len, len); in igb_xmit_xdp_ring()
8114 dma_unmap_len_set(tx_buffer, len, 0); in igb_clean_tx_irq()
8133 dma_unmap_len_set(tx_buffer, len, 0); in igb_clean_tx_irq()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dskge.c960 dma_unmap_len_set(e, maplen, bufsize); in skge_rx_setup()
2760 dma_unmap_len_set(e, maplen, len); in skge_xmit_frame()
2805 dma_unmap_len_set(e, maplen, skb_frag_size(frag)); in skge_xmit_frame()
Dsky2.c1217 dma_unmap_len_set(re, data_size, size); in sky2_rx_map_skb()
1924 dma_unmap_len_set(re, maplen, len); in sky2_xmit_frame()
1953 dma_unmap_len_set(re, maplen, skb_frag_size(frag)); in sky2_xmit_frame()
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge_main.c1264 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, len); in ql_map_send()
1320 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in ql_map_send()
1340 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in ql_map_send()

12