Home
last modified time | relevance | path

Searched refs:DMA_ATTR_SKIP_CPU_SYNC (Results 1 – 25 of 56) sorted by relevance

123

/linux/kernel/dma/
H A Dops_helpers.c76 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_alloc_pages()
79 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_alloc_pages()
96 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_free_pages()
99 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_free_pages()
H A Ddirect.h109 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_map_page()
119 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_unmap_page()
123 attrs | DMA_ATTR_SKIP_CPU_SYNC); in dma_direct_unmap_page()
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_xdp.c41 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()
/linux/drivers/xen/
H A Dswiotlb-xen.c238 attrs | DMA_ATTR_SKIP_CPU_SYNC, in xen_swiotlb_map_page()
244 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page()
269 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page()
359 xen_swiotlb_unmap_sg(dev, sgl, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in xen_swiotlb_map_sg()
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c375 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()
645 DMA_ATTR_SKIP_CPU_SYNC)) { in vb2_dc_get_userptr()
669 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_get_userptr()
H A Dvideobuf2-dma-sg.c151 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()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_dp.h13 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()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_xdp.h8 #define STMMAC_RX_DMA_ATTR (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Dpool.c14 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()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_vram.c99 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()
/linux/drivers/gpu/drm/xe/
H A Dxe_ttm_vram_mgr.c420 DMA_ATTR_SKIP_CPU_SYNC); in xe_ttm_vram_mgr_alloc_sgt()
441 DMA_ATTR_SKIP_CPU_SYNC); in xe_ttm_vram_mgr_alloc_sgt()
459 DMA_ATTR_SKIP_CPU_SYNC); in xe_ttm_vram_mgr_free_sgt()
H A Dxe_hmm.c104 DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_NO_KERNEL_MAPPING); in xe_build_sg()
H A Dxe_dma_buf.c119 DMA_ATTR_SKIP_CPU_SYNC)) in xe_dma_buf_map()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos_sq.c102 DMA_ATTR_SKIP_CPU_SYNC); in otx2_qos_sq_aura_pool_init()
134 DMA_ATTR_SKIP_CPU_SYNC); in otx2_qos_sq_free_sqbs()
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c217 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()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vram_mgr.c719 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_alloc_sgt()
740 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_alloc_sgt()
768 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_free_sgt()
/linux/Documentation/core-api/
H A Ddma-attributes.rst46 DMA_ATTR_SKIP_CPU_SYNC chapter
63 DMA_ATTR_SKIP_CPU_SYNC allows platform code to skip synchronization of
/linux/net/core/
H A Dpage_pool.c472 DMA_ATTR_SKIP_CPU_SYNC | in page_pool_dma_map()
488 DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING); in page_pool_dma_map()
664 DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING); in __page_pool_release_page_dma()
/linux/drivers/gpu/drm/i915/
H A Di915_gem_gtt.c34 DMA_ATTR_SKIP_CPU_SYNC | in i915_gem_gtt_prepare_pages()
/linux/drivers/iommu/
H A Ddma-iommu.c1214 if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_map_page()
1233 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && !dev_is_dma_coherent(dev)) in iommu_dma_unmap_page()
1365 iommu_dma_unmap_sg_swiotlb(dev, sg, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in iommu_dma_map_sg_swiotlb()
1401 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_map_sg()
1508 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_unmap_sg()
/linux/drivers/vdpa/vdpa_user/
H A Diova_domain.c419 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in vduse_domain_map_page()
439 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in vduse_domain_unmap_page()
/linux/drivers/gpu/drm/
H A Ddrm_prime.c669 DMA_ATTR_SKIP_CPU_SYNC); in drm_gem_map_dma_buf()
695 dma_unmap_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in drm_gem_unmap_dma_buf()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c56 ret = dma_map_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
/linux/drivers/crypto/caam/
H A Dcaamhash.c1824 DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_init()
1835 ctx->dir, DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_init()
1843 DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_init()
1877 ctx->dir, DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_exit()
1881 DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_exit()
/linux/arch/arm/mm/
H A Ddma-mapping.c1207 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in __map_sg_chunk()
1309 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_unmap_sg()
1376 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_map_page()
1417 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in arm_iommu_unmap_page()

123