Home
last modified time | relevance | path

Searched refs:IOMMU_DOMAIN_DMA (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/iommu/
Diommu.c42 static unsigned int iommu_def_domain_type = IOMMU_DOMAIN_DMA;
129 iommu_def_domain_type = pt ? IOMMU_DOMAIN_IDENTITY : IOMMU_DOMAIN_DMA; in iommu_set_def_domain_type()
317 case IOMMU_DOMAIN_DMA: in iommu_group_show_type()
530 if (!domain || domain->type != IOMMU_DOMAIN_DMA) in iommu_group_create_direct_mappings()
1065 if (!dom && iommu_def_domain_type != IOMMU_DOMAIN_DMA) { in iommu_group_get_for_dev()
1069 dom = __iommu_domain_alloc(dev->bus, IOMMU_DOMAIN_DMA); in iommu_group_get_for_dev()
Drockchip-iommu.c974 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in rk_iommu_domain_alloc()
984 if (type == IOMMU_DOMAIN_DMA && in rk_iommu_domain_alloc()
1019 if (type == IOMMU_DOMAIN_DMA) in rk_iommu_domain_alloc()
1047 if (domain->type == IOMMU_DOMAIN_DMA) in rk_iommu_domain_free()
Dqcom_iommu.c309 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in qcom_iommu_domain_alloc()
320 if (type == IOMMU_DOMAIN_DMA && in qcom_iommu_domain_alloc()
Dexynos-iommu.c751 if (type == IOMMU_DOMAIN_DMA) { in exynos_iommu_domain_alloc()
792 if (type == IOMMU_DOMAIN_DMA) in exynos_iommu_domain_alloc()
821 if (iommu_domain->type == IOMMU_DOMAIN_DMA) in exynos_iommu_domain_free()
Dmtk_iommu.c300 if (type != IOMMU_DOMAIN_DMA) in mtk_iommu_domain_alloc()
Dipmmu-vmsa.c617 case IOMMU_DOMAIN_DMA: in ipmmu_domain_alloc()
Darm-smmu.c939 type != IOMMU_DOMAIN_DMA && in arm_smmu_domain_alloc()
951 if (type == IOMMU_DOMAIN_DMA && (using_legacy_binding || in arm_smmu_domain_alloc()
Darm-smmu-v3.c1455 type != IOMMU_DOMAIN_DMA && in arm_smmu_domain_alloc()
1468 if (type == IOMMU_DOMAIN_DMA && in arm_smmu_domain_alloc()
Damd_iommu.c2897 case IOMMU_DOMAIN_DMA: in amd_iommu_domain_alloc()
2935 case IOMMU_DOMAIN_DMA: in amd_iommu_domain_free()
/Linux-v4.19/include/linux/
Diommu.h86 #define IOMMU_DOMAIN_DMA (__IOMMU_DOMAIN_PAGING | \ macro
/Linux-v4.19/arch/arm64/mm/
Ddma-mapping.c851 if (domain->type == IOMMU_DOMAIN_DMA) { in __iommu_setup_dma_ops()