/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_xdp.c | 41 DMA_ATTR_SKIP_CPU_SYNC); in tsnep_xdp_enable_pool() 50 xsk_pool_dma_unmap(pool, DMA_ATTR_SKIP_CPU_SYNC); in tsnep_xdp_enable_pool() 75 xsk_pool_dma_unmap(pool, DMA_ATTR_SKIP_CPU_SYNC); in tsnep_xdp_disable_pool()
|
/openbmc/linux/kernel/dma/ |
H A D | direct.h | 110 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_map_page() 120 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_unmap_page() 125 attrs | DMA_ATTR_SKIP_CPU_SYNC); in dma_direct_unmap_page()
|
H A D | ops_helpers.c | 74 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_alloc_pages() 91 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_free_pages()
|
/openbmc/linux/drivers/xen/ |
H A D | swiotlb-xen.c | 237 attrs | DMA_ATTR_SKIP_CPU_SYNC); in xen_swiotlb_map_page() 242 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page() 266 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page() 350 xen_swiotlb_unmap_sg(dev, sgl, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in xen_swiotlb_map_sg()
|
H A D | gntdev-dmabuf.c | 247 DMA_ATTR_SKIP_CPU_SYNC); in dmabuf_exp_ops_detach() 286 DMA_ATTR_SKIP_CPU_SYNC)) { in dmabuf_exp_ops_map_dma_buf()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_xdp.h | 8 #define STMMAC_RX_DMA_ATTR (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-dma-contig.c | 375 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_dmabuf_ops_detach() 395 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_dmabuf_ops_map() 404 DMA_ATTR_SKIP_CPU_SYNC)) { in vb2_dc_dmabuf_ops_map() 544 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_put_userptr() 644 DMA_ATTR_SKIP_CPU_SYNC)) { in vb2_dc_get_userptr() 668 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_get_userptr()
|
H A D | videobuf2-dma-sg.c | 151 DMA_ATTR_SKIP_CPU_SYNC)) in vb2_dma_sg_alloc() 189 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dma_sg_put() 266 DMA_ATTR_SKIP_CPU_SYNC)) in vb2_dma_sg_get_userptr() 292 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dma_sg_put_userptr()
|
/openbmc/linux/arch/mips/jazz/ |
H A D | jazzdma.c | 530 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in jazz_dma_map_page() 538 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in jazz_dma_unmap_page() 550 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in jazz_dma_map_sg() 569 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in jazz_dma_unmap_sg()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_dp.h | 13 dp->rx_dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in nfp_net_dma_map_rx() 29 dp->rx_dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in nfp_net_dma_unmap_rx()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | pool.c | 14 return xsk_pool_dma_map(pool, dev, DMA_ATTR_SKIP_CPU_SYNC); in mlx5e_xsk_map_pool() 20 return xsk_pool_dma_unmap(pool, DMA_ATTR_SKIP_CPU_SYNC); in mlx5e_xsk_unmap_pool()
|
/openbmc/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_vram.c | 99 DMA_ATTR_SKIP_CPU_SYNC); in virtio_gpu_vram_map_dma_buf() 122 DMA_ATTR_SKIP_CPU_SYNC); in virtio_gpu_vram_unmap_dma_buf()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | qos_sq.c | 102 DMA_ATTR_SKIP_CPU_SYNC); in otx2_qos_sq_aura_pool_init() 134 DMA_ATTR_SKIP_CPU_SYNC); in otx2_qos_sq_free_sqbs()
|
/openbmc/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_queues.c | 217 DMA_ATTR_SKIP_CPU_SYNC); in nicvf_alloc_rcv_buffer() 342 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_free_rbdr() 353 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_free_rbdr() 568 DMA_ATTR_SKIP_CPU_SYNC); in nicvf_unmap_sndq_buffers() 1579 DMA_TO_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_sq_append_skb() 1600 DMA_ATTR_SKIP_CPU_SYNC); in nicvf_sq_append_skb() 1659 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_unmap_rcv_buffer()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vram_mgr.c | 697 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_alloc_sgt() 718 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_alloc_sgt() 746 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_free_sgt()
|
/openbmc/linux/drivers/iommu/ |
H A D | dma-iommu.c | 1069 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in iommu_dma_map_page() 1078 if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_map_page() 1097 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && !dev_is_dma_coherent(dev)) in iommu_dma_unmap_page() 1230 iommu_dma_unmap_sg_swiotlb(dev, sg, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in iommu_dma_map_sg_swiotlb() 1266 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_map_sg() 1373 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_unmap_sg()
|
/openbmc/linux/Documentation/core-api/ |
H A D | dma-attributes.rst | 46 DMA_ATTR_SKIP_CPU_SYNC section in DMA attributes 63 DMA_ATTR_SKIP_CPU_SYNC allows platform code to skip synchronization of
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.c | 35 DMA_ATTR_SKIP_CPU_SYNC | in i915_gem_gtt_prepare_pages()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_prime.c | 645 DMA_ATTR_SKIP_CPU_SYNC); in drm_gem_map_dma_buf() 671 dma_unmap_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in drm_gem_unmap_dma_buf()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_txrx.h | 102 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_dmabuf.c | 56 ret = dma_map_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx.h | 139 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.h | 118 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | iommu.c | 418 if (strbuf->strbuf_enabled && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_4u_unmap_page() 640 if (strbuf->strbuf_enabled && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_4u_unmap_sg()
|
/openbmc/linux/net/core/ |
H A D | page_pool.c | 361 pool->p.dma_dir, DMA_ATTR_SKIP_CPU_SYNC | in page_pool_dma_map() 530 DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING); in page_pool_return_page()
|