Lines Matching refs:coherent
33 bool coherent) in __get_dma_pgprot() argument
35 if (!coherent || dma_get_attr(DMA_ATTR_WRITE_COMBINE, attrs)) in __get_dma_pgprot()
144 bool coherent = is_device_dma_coherent(dev); in __dma_alloc() local
149 if (!coherent && !gfpflags_allow_blocking(flags)) { in __dma_alloc()
164 if (coherent) in __dma_alloc()
545 bool coherent = is_device_dma_coherent(dev); in __iommu_alloc_attrs() local
546 int ioprot = dma_direction_to_prot(DMA_BIDIRECTIONAL, coherent); in __iommu_alloc_attrs()
563 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL, coherent); in __iommu_alloc_attrs()
581 if (coherent) { in __iommu_alloc_attrs()
592 if (coherent) in __iommu_alloc_attrs()
699 bool coherent = is_device_dma_coherent(dev); in __iommu_map_page() local
700 int prot = dma_direction_to_prot(dir, coherent); in __iommu_map_page()
752 bool coherent = is_device_dma_coherent(dev); in __iommu_map_sg_attrs() local
758 dma_direction_to_prot(dir, coherent)); in __iommu_map_sg_attrs()
988 struct iommu_ops *iommu, bool coherent) in arch_setup_dma_ops() argument
993 dev->archdata.dma_coherent = coherent; in arch_setup_dma_ops()