/Linux-v4.19/kernel/dma/ |
D | noncoherent.c | 37 if (!dma_mapping_error(dev, addr) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_noncoherent_map_page() 47 if (nents > 0 && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_noncoherent_map_sg() 75 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_noncoherent_unmap_page() 82 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_noncoherent_unmap_sg()
|
D | swiotlb.c | 586 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in swiotlb_tbl_map_single() 629 !(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in swiotlb_tbl_unmap_single() 734 DMA_ATTR_SKIP_CPU_SYNC); in swiotlb_alloc_buffer() 760 DMA_ATTR_SKIP_CPU_SYNC); in swiotlb_free_buffer() 831 attrs |= DMA_ATTR_SKIP_CPU_SYNC; in swiotlb_map_page() 958 attrs |= DMA_ATTR_SKIP_CPU_SYNC; in swiotlb_map_sg_attrs()
|
/Linux-v4.19/arch/arm64/mm/ |
D | dma-mapping.c | 166 (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __swiotlb_map_page() 178 (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __swiotlb_unmap_page() 192 (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __swiotlb_map_sg_attrs() 209 (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __swiotlb_unmap_sg_attrs() 742 (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __iommu_map_page() 752 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __iommu_unmap_page() 792 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __iommu_map_sg_attrs() 804 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __iommu_unmap_sg_attrs()
|
/Linux-v4.19/arch/hexagon/kernel/ |
D | dma.c | 114 if (attrs & DMA_ATTR_SKIP_CPU_SYNC) in hexagon_map_sg() 178 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in hexagon_map_page()
|
/Linux-v4.19/arch/arm/xen/ |
D | mm.c | 105 if (attrs & DMA_ATTR_SKIP_CPU_SYNC) in __xen_dma_map_page() 118 if (attrs & DMA_ATTR_SKIP_CPU_SYNC) in __xen_dma_unmap_page()
|
/Linux-v4.19/arch/mips/jazz/ |
D | jazzdma.c | 599 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in jazz_dma_map_page() 607 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in jazz_dma_unmap_page() 619 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in jazz_dma_map_sg() 638 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in jazz_dma_unmap_sg()
|
/Linux-v4.19/drivers/media/common/videobuf2/ |
D | videobuf2-dma-sg.c | 146 buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dma_sg_alloc() 184 buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dma_sg_put() 263 buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dma_sg_get_userptr() 291 DMA_ATTR_SKIP_CPU_SYNC); in vb2_dma_sg_put_userptr()
|
D | videobuf2-dma-contig.c | 432 buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_put_userptr() 554 buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_get_userptr() 578 buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_get_userptr()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | dma.c | 204 if (attrs & DMA_ATTR_SKIP_CPU_SYNC) in dma_nommu_map_sg() 238 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_nommu_map_page()
|
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 220 DMA_ATTR_SKIP_CPU_SYNC); in nicvf_alloc_rcv_buffer() 345 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_free_rbdr() 356 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_free_rbdr() 572 DMA_ATTR_SKIP_CPU_SYNC); in nicvf_unmap_sndq_buffers() 1581 DMA_TO_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_sq_append_skb() 1604 DMA_ATTR_SKIP_CPU_SYNC); in nicvf_sq_append_skb() 1663 DMA_FROM_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in nicvf_unmap_rcv_buffer()
|
/Linux-v4.19/arch/arm/common/ |
D | dmabounce.c | 268 !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in map_single() 291 !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in unmap_single()
|
/Linux-v4.19/drivers/xen/ |
D | swiotlb-xen.c | 413 attrs |= DMA_ATTR_SKIP_CPU_SYNC; in xen_swiotlb_map_page() 573 attrs |= DMA_ATTR_SKIP_CPU_SYNC; in xen_swiotlb_map_sg_attrs()
|
D | gntdev-dmabuf.c | 247 DMA_ATTR_SKIP_CPU_SYNC); in dmabuf_exp_ops_detach() 286 DMA_ATTR_SKIP_CPU_SYNC)) { in dmabuf_exp_ops_map_dma_buf()
|
/Linux-v4.19/Documentation/ |
D | DMA-attributes.txt | 72 DMA_ATTR_SKIP_CPU_SYNC 89 DMA_ATTR_SKIP_CPU_SYNC allows platform code to skip synchronization of
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_prime.c | 241 DMA_ATTR_SKIP_CPU_SYNC); in drm_gem_map_detach() 317 DMA_ATTR_SKIP_CPU_SYNC)) { in drm_gem_map_dma_buf()
|
/Linux-v4.19/arch/arm/mm/ |
D | dma-mapping.c | 133 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in arm_dma_map_page() 162 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in arm_dma_unmap_page() 1710 if (!is_coherent && (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __map_sg_chunk() 1823 if (!is_coherent && (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in __iommu_unmap_sg() 1947 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in arm_iommu_map_page() 1998 if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0) in arm_iommu_unmap_page()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.h | 103 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.h | 123 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
|
/Linux-v4.19/arch/sparc/kernel/ |
D | iommu.c | 419 if (strbuf->strbuf_enabled && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_4u_unmap_page() 644 if (strbuf->strbuf_enabled && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_4u_unmap_sg()
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf.h | 315 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
|
/Linux-v4.19/drivers/media/platform/vsp1/ |
D | vsp1_drm.c | 865 DMA_TO_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in vsp1_du_map_sg() 874 DMA_TO_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in vsp1_du_unmap_sg()
|
/Linux-v4.19/drivers/net/ethernet/intel/igb/ |
D | igb.h | 152 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 138 (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
|
/Linux-v4.19/include/linux/ |
D | dma-mapping.h | 48 #define DMA_ATTR_SKIP_CPU_SYNC (1UL << 5) macro
|
/Linux-v4.19/drivers/crypto/caam/ |
D | caamhash.c | 1759 ctx->dir, DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_init() 1794 ctx->dir, DMA_ATTR_SKIP_CPU_SYNC); in caam_hash_cra_exit()
|