Home
last modified time | relevance | path

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

12

/Linux-v5.15/kernel/dma/
Dops_helpers.c74 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_alloc_pages()
91 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.c581 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in swiotlb_tbl_map_single()
640 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in swiotlb_tbl_unmap_single()
687 attrs | DMA_ATTR_SKIP_CPU_SYNC); in swiotlb_map()
694 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
/Linux-v5.15/drivers/media/common/videobuf2/
Dvideobuf2-dma-contig.c277 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_dmabuf_ops_detach()
303 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_dmabuf_ops_map()
312 DMA_ATTR_SKIP_CPU_SYNC)) { in vb2_dc_dmabuf_ops_map()
444 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_put_userptr()
542 DMA_ATTR_SKIP_CPU_SYNC)) { in vb2_dc_get_userptr()
564 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.15/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.15/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_xdp.h8 #define STMMAC_RX_DMA_ATTR (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
/Linux-v5.15/drivers/gpu/drm/tegra/
Duapi.c22 DMA_ATTR_SKIP_CPU_SYNC); in tegra_drm_mapping_release()
218 DMA_ATTR_SKIP_CPU_SYNC); in tegra_drm_ioctl_channel_map()
239 DMA_ATTR_SKIP_CPU_SYNC); in tegra_drm_ioctl_channel_map()
/Linux-v5.15/drivers/xen/
Dswiotlb-xen.c395 attrs | DMA_ATTR_SKIP_CPU_SYNC); in xen_swiotlb_map_page()
400 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page()
424 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page()
508 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.15/drivers/gpu/drm/i915/gem/
Di915_gem_dmabuf.c49 ret = dma_map_sgtable(attachment->dev, st, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
67 dma_unmap_sgtable(attachment->dev, sg, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_unmap_dma_buf()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c578 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_alloc_sgt()
599 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_alloc_sgt()
627 DMA_ATTR_SKIP_CPU_SYNC); in amdgpu_vram_mgr_free_sgt()
/Linux-v5.15/drivers/iommu/
Ddma-iommu.c586 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in __iommu_dma_map_swiotlb()
874 if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in iommu_dma_map_page()
883 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_unmap_page()
992 iommu_dma_unmap_sg_swiotlb(dev, sg, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in iommu_dma_map_sg_swiotlb()
1022 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_map_sg()
1100 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_unmap_sg()
/Linux-v5.15/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.15/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.15/drivers/gpu/drm/i915/
Di915_gem_gtt.c34 DMA_ATTR_SKIP_CPU_SYNC | in i915_gem_gtt_prepare_pages()
/Linux-v5.15/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.15/net/core/
Dpage_pool.c203 pool->p.dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in page_pool_dma_map()
365 DMA_ATTR_SKIP_CPU_SYNC); in page_pool_release_page()
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_txrx.h136 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
/Linux-v5.15/drivers/pci/controller/dwc/
Dpcie-designware-host.c271 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in dw_pcie_free_msi()
382 DMA_ATTR_SKIP_CPU_SYNC); in dw_pcie_host_init()
/Linux-v5.15/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.15/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()
1602 if (!is_coherent && (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __map_sg_chunk()
1719 if (!is_coherent && (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __iommu_unmap_sg()
1846 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in arm_iommu_map_page()
1897 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in arm_iommu_unmap_page()
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h103 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h116 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.h738 offset, size, dir, DMA_ATTR_SKIP_CPU_SYNC); in otx2_dma_map_page()
749 dir, DMA_ATTR_SKIP_CPU_SYNC); in otx2_dma_unmap_page()

12