Home
last modified time | relevance | path

Searched refs:ioprot (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/iommu/
H A Ddma-iommu.c592 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in iommu_dma_alloc_remap() local
628 if (!(ioprot & IOMMU_CACHE)) { in iommu_dma_alloc_remap()
636 if (iommu_map_sg_atomic(domain, iova, sgt.sgl, sgt.orig_nents, ioprot) in iommu_dma_alloc_remap()
1028 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in iommu_dma_alloc() local
1049 *handle = __iommu_dma_map(dev, page_to_phys(page), size, ioprot, in iommu_dma_alloc()
/kernel/linux/linux-6.6/drivers/iommu/
H A Ddma-iommu.c842 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in __iommu_dma_alloc_noncontiguous() local
883 if (!(ioprot & IOMMU_CACHE)) { in __iommu_dma_alloc_noncontiguous()
891 ret = iommu_map_sg(domain, iova, sgt->sgl, sgt->orig_nents, ioprot, in __iommu_dma_alloc_noncontiguous()
1504 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in iommu_dma_alloc() local
1525 *handle = __iommu_dma_map(dev, page_to_phys(page), size, ioprot, in iommu_dma_alloc()

Completed in 5 milliseconds