Searched refs:dma_info_to_prot (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/iommu/ |
D | dma-iommu.c | 742 static int dma_info_to_prot(enum dma_data_direction dir, bool coherent, in dma_info_to_prot() function 949 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in __iommu_dma_alloc_noncontiguous() 1169 int prot = dma_info_to_prot(dir, coherent, attrs); in iommu_dma_map_page() 1383 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg() 1550 dma_info_to_prot(dir, false, attrs) | IOMMU_MMIO, in iommu_dma_map_resource() 1639 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in iommu_dma_alloc()
|