Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/kernel/dma/
H A 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()
118 attrs | DMA_ATTR_SKIP_CPU_SYNC); in dma_direct_unmap_page()
H A Dops_helpers.c74 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_alloc_pages()
91 DMA_ATTR_SKIP_CPU_SYNC); in dma_common_free_pages()
H A Dswiotlb.c631 !(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in swiotlb_tbl_unmap_single()
723 attrs | DMA_ATTR_SKIP_CPU_SYNC); in swiotlb_map()
730 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
/OK3568_Linux_fs/kernel/drivers/media/common/videobuf2/
H A 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()
H A 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()
H A Dvideobuf2-cma-sg.c190 DMA_ATTR_SKIP_CPU_SYNC)) in vb2_cma_sg_alloc()
223 DMA_ATTR_SKIP_CPU_SYNC); in vb2_cma_sg_put()
295 DMA_ATTR_SKIP_CPU_SYNC)) in vb2_cma_sg_get_userptr()
319 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_cma_sg_put_userptr()
/OK3568_Linux_fs/kernel/arch/arm64/mm/
H A Ddma-mapping-noalias.c127 attrs | DMA_ATTR_SKIP_CPU_SYNC); in __arm64_noalias_map()
247 arm64_noalias_unmap_sg(dev, sgl, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in arm64_noalias_map_sg()
364 attrs |= DMA_ATTR_SKIP_CPU_SYNC; in arm64_iommu_map_page()
381 iommu_dma_ops->unmap_page(dev, addr, size, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in arm64_iommu_unmap_page()
418 ret = iommu_dma_ops->map_sg(dev, sgl, nents, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in arm64_iommu_map_sg()
464 iommu_dma_ops->unmap_sg(dev, sgl, nents, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in arm64_iommu_unmap_sg()
/OK3568_Linux_fs/kernel/arch/mips/jazz/
H A 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()
/OK3568_Linux_fs/kernel/drivers/xen/
H A 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A 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()
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/
H A Dion_dma_buf.c117 attrs |= DMA_ATTR_SKIP_CPU_SYNC; in ion_map_dma_buf()
144 attrs |= DMA_ATTR_SKIP_CPU_SYNC; in ion_unmap_dma_buf()
/OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/
H A Dsram_heap.c125 ret = dma_map_sgtable(attachment->dev, table, direction, DMA_ATTR_SKIP_CPU_SYNC); in dma_heap_map_dma_buf()
136 dma_unmap_sgtable(attachment->dev, table, direction, DMA_ATTR_SKIP_CPU_SYNC); in dma_heap_unmap_dma_buf()
H A Drk_cma_heap.c114 attrs |= DMA_ATTR_SKIP_CPU_SYNC; in cma_heap_map_dma_buf()
133 attrs |= DMA_ATTR_SKIP_CPU_SYNC; in cma_heap_unmap_dma_buf()
H A Dsystem_heap.c147 attr |= DMA_ATTR_SKIP_CPU_SYNC; in system_heap_map_dma_buf()
165 attr |= DMA_ATTR_SKIP_CPU_SYNC; in system_heap_unmap_dma_buf()
/OK3568_Linux_fs/kernel/net/core/
H A Dpage_pool.c224 pool->p.dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in __page_pool_alloc_pages_slow()
302 DMA_ATTR_SKIP_CPU_SYNC); in page_pool_release_page()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/thunder/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/
H A Dcommon.c209 dma_map_sgtable(attachment->dev, table, dir, DMA_ATTR_SKIP_CPU_SYNC); in rkcif_shm_map_dma_buf()
218 dma_unmap_sgtable(attachment->dev, table, dir, DMA_ATTR_SKIP_CPU_SYNC); in rkcif_shm_unmap_dma_buf()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/drivers/iommu/
H A Ddma-iommu.c812 if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in iommu_dma_map_page()
821 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_unmap_page()
924 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_map_sg()
993 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_unmap_sg()
/OK3568_Linux_fs/kernel/arch/arm/common/
H A Ddmabounce.c266 !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in map_single()
289 !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in unmap_single()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Di915_gem_gtt.c34 DMA_ATTR_SKIP_CPU_SYNC | in i915_gem_gtt_prepare_pages()
/OK3568_Linux_fs/kernel/arch/arm/mm/
H A 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()

123