Home
last modified time | relevance | path

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

12

/Linux-v5.10/kernel/dma/
Dops_helpers.c66 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_alloc_pages()
83 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_free_pages()
Ddirect.h103 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_map_page()
113 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_unmap_page()
Dswiotlb.c570 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in swiotlb_tbl_map_single()
593 !(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in swiotlb_tbl_unmap_single()
680 attrs | DMA_ATTR_SKIP_CPU_SYNC); in swiotlb_map()
687 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
/Linux-v5.10/drivers/media/common/videobuf2/
Dvideobuf2-dma-contig.c273 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_dmabuf_ops_detach()
299 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_dmabuf_ops_map()
308 DMA_ATTR_SKIP_CPU_SYNC)) { in vb2_dc_dmabuf_ops_map()
438 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_put_userptr()
536 DMA_ATTR_SKIP_CPU_SYNC)) { in vb2_dc_get_userptr()
558 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_get_userptr()
Dvideobuf2-dma-sg.c151 DMA_ATTR_SKIP_CPU_SYNC)) in vb2_dma_sg_alloc()
188 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dma_sg_put()
257 DMA_ATTR_SKIP_CPU_SYNC)) in vb2_dma_sg_get_userptr()
283 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dma_sg_put_userptr()
/Linux-v5.10/arch/mips/jazz/
Djazzdma.c530 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()
/Linux-v5.10/drivers/xen/
Dswiotlb-xen.c410 attrs | DMA_ATTR_SKIP_CPU_SYNC); in xen_swiotlb_map_page()
415 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page()
439 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page()
523 xen_swiotlb_unmap_sg(dev, sgl, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in xen_swiotlb_map_sg()
Dgntdev-dmabuf.c252 DMA_ATTR_SKIP_CPU_SYNC); in dmabuf_exp_ops_detach()
291 DMA_ATTR_SKIP_CPU_SYNC)) { in dmabuf_exp_ops_map_dma_buf()
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_dmabuf.c51 ret = dma_map_sgtable(attachment->dev, st, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
73 dma_unmap_sgtable(attachment->dev, sg, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_unmap_dma_buf()
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c503 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_alloc_sgt()
521 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_alloc_sgt()
549 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_free_sgt()
/Linux-v5.10/net/core/
Dpage_pool.c222 pool->p.dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in __page_pool_alloc_pages_slow()
300 DMA_ATTR_SKIP_CPU_SYNC); in page_pool_release_page()
/Linux-v5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c216 DMA_ATTR_SKIP_CPU_SYNC); in nicvf_alloc_rcv_buffer()
341 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_free_rbdr()
352 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_free_rbdr()
567 DMA_ATTR_SKIP_CPU_SYNC); in nicvf_unmap_sndq_buffers()
1578 DMA_TO_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_sq_append_skb()
1599 DMA_ATTR_SKIP_CPU_SYNC); in nicvf_sq_append_skb()
1658 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_unmap_rcv_buffer()
/Linux-v5.10/Documentation/core-api/
Ddma-attributes.rst46 DMA_ATTR_SKIP_CPU_SYNC section in DMA attributes
63 DMA_ATTR_SKIP_CPU_SYNC allows platform code to skip synchronization of
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_gem_gtt.c34 DMA_ATTR_SKIP_CPU_SYNC | in i915_gem_gtt_prepare_pages()
/Linux-v5.10/arch/arm/common/
Ddmabounce.c266 !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in map_single()
289 !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in unmap_single()
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.h564 offset, size, dir, DMA_ATTR_SKIP_CPU_SYNC); in otx2_dma_map_page()
575 dir, DMA_ATTR_SKIP_CPU_SYNC); in otx2_dma_unmap_page()
/Linux-v5.10/drivers/iommu/
Ddma-iommu.c735 if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in iommu_dma_map_page()
744 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_unmap_page()
847 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_map_sg()
916 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_unmap_sg()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_txrx.h135 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
/Linux-v5.10/drivers/gpu/drm/
Ddrm_prime.c631 DMA_ATTR_SKIP_CPU_SYNC); in drm_gem_map_dma_buf()
657 dma_unmap_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in drm_gem_unmap_dma_buf()
/Linux-v5.10/drivers/pci/controller/dwc/
Dpcie-designware-host.c274 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in dw_pcie_free_msi()
394 DMA_ATTR_SKIP_CPU_SYNC); in dw_pcie_host_init()
/Linux-v5.10/arch/arm/mm/
Ddma-mapping.c129 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in arm_dma_map_page()
158 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in arm_dma_unmap_page()
1600 if (!is_coherent && (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __map_sg_chunk()
1713 if (!is_coherent && (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __iommu_unmap_sg()
1840 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in arm_iommu_map_page()
1891 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in arm_iommu_unmap_page()
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h116 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
/Linux-v5.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h103 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
/Linux-v5.10/arch/sparc/kernel/
Diommu.c418 if (strbuf->strbuf_enabled && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_4u_unmap_page()
642 if (strbuf->strbuf_enabled && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_4u_unmap_sg()
/Linux-v5.10/drivers/crypto/caam/
Dcaamhash.c1815 DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_init()
1826 ctx->dir, DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_init()
1834 DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_init()
1871 ctx->dir, DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_exit()
1875 DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_exit()

12