Searched refs:dma_info_to_prot (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | dma-iommu.c | 376 * dma_info_to_prot - Translate DMA API directions and attributes to IOMMU API 384 static int dma_info_to_prot(enum dma_data_direction dir, bool coherent, in dma_info_to_prot() function 592 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in iommu_dma_alloc_remap() 733 int prot = dma_info_to_prot(dir, coherent, attrs); in iommu_dma_map_page() 840 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg() 939 dma_info_to_prot(dir, false, attrs) | IOMMU_MMIO, in iommu_dma_map_resource() 1028 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in iommu_dma_alloc()
|
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | dma-iommu.c | 631 * dma_info_to_prot - Translate DMA API directions and attributes to IOMMU API 639 static int dma_info_to_prot(enum dma_data_direction dir, bool coherent, in dma_info_to_prot() function 842 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in __iommu_dma_alloc_noncontiguous() 1036 int prot = dma_info_to_prot(dir, coherent, attrs); in iommu_dma_map_page() 1248 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg() 1415 dma_info_to_prot(dir, false, attrs) | IOMMU_MMIO, in iommu_dma_map_resource() 1504 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in iommu_dma_alloc()
|
Completed in 5 milliseconds