| /OK3568_Linux_fs/kernel/kernel/dma/ |
| H A D | direct.h | 103 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 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()
|
| H A D | swiotlb.c | 631 !(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 D | videobuf2-dma-contig.c | 273 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 D | videobuf2-dma-sg.c | 151 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 D | videobuf2-cma-sg.c | 190 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 D | dma-mapping-noalias.c | 127 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 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()
|
| /OK3568_Linux_fs/kernel/drivers/xen/ |
| H A D | swiotlb-xen.c | 410 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 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_dmabuf.c | 51 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 D | amdgpu_vram_mgr.c | 503 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 D | ion_dma_buf.c | 117 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 D | sram_heap.c | 125 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 D | rk_cma_heap.c | 114 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 D | system_heap.c | 147 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 D | page_pool.c | 224 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 D | nicvf_queues.c | 216 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 D | common.c | 209 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 D | dma-attributes.rst | 46 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 D | dma-iommu.c | 812 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 D | dmabounce.c | 266 !(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 D | otx2_common.h | 564 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 D | i915_gem_gtt.c | 34 DMA_ATTR_SKIP_CPU_SYNC | in i915_gem_gtt_prepare_pages()
|
| /OK3568_Linux_fs/kernel/arch/arm/mm/ |
| H A D | dma-mapping.c | 129 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()
|