Home
last modified time | relevance | path

Searched refs:IOMMU_DOMAIN_DMA (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/iommu/
H A Diommu.c184 case IOMMU_DOMAIN_DMA: in iommu_domain_type_str()
674 iommu_def_domain_type = IOMMU_DOMAIN_DMA; in iommu_set_dma_strict()
868 case IOMMU_DOMAIN_DMA: in iommu_group_show_type()
1723 return IOMMU_DOMAIN_DMA; in iommu_get_def_domain_type()
1763 if (iommu_def_domain_type == IOMMU_DOMAIN_DMA) in iommu_group_alloc_default_domain()
1765 dom = __iommu_group_alloc_default_domain(bus, group, IOMMU_DOMAIN_DMA); in iommu_group_alloc_default_domain()
1769 pr_warn("Failed to allocate default IOMMU domain of type %u for group %s - Falling back to IOMMU_DOMAIN_DMA", in iommu_group_alloc_default_domain()
2137 * For IOMMU_DOMAIN_DMA implementations which already provide their own
2816 iommu_def_domain_type = IOMMU_DOMAIN_DMA; in iommu_set_default_translated()
3068 req_type = IOMMU_DOMAIN_DMA; in iommu_group_store_type()
[all...]
H A Dsprd-iommu.c141 if (domain_type != IOMMU_DOMAIN_DMA && domain_type != IOMMU_DOMAIN_UNMANAGED) in sprd_iommu_domain_alloc()
H A Dapple-dart.c724 if (type != IOMMU_DOMAIN_DMA && type != IOMMU_DOMAIN_UNMANAGED && in apple_dart_domain_alloc()
919 return IOMMU_DOMAIN_DMA; in apple_dart_def_domain_type()
H A Dipmmu-vmsa.c558 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in ipmmu_domain_alloc()
H A Dsun50i-iommu.c674 if (type != IOMMU_DOMAIN_DMA && in sun50i_iommu_domain_alloc()
H A Drockchip-iommu.c1065 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in rk_iommu_domain_alloc()
H A Dvirtio-iommu.c645 type != IOMMU_DOMAIN_DMA && in viommu_domain_alloc()
H A Dexynos-iommu.c898 if (type != IOMMU_DOMAIN_DMA && type != IOMMU_DOMAIN_UNMANAGED) in exynos_iommu_domain_alloc()
H A Dmtk_iommu.c695 if (type != IOMMU_DOMAIN_DMA && type != IOMMU_DOMAIN_UNMANAGED) in mtk_iommu_domain_alloc()
/kernel/linux/linux-5.10/drivers/iommu/
H A Dsun50i-iommu.c605 if (type != IOMMU_DOMAIN_DMA && in sun50i_iommu_domain_alloc()
613 if (type == IOMMU_DOMAIN_DMA && in sun50i_iommu_domain_alloc()
631 if (type == IOMMU_DOMAIN_DMA) in sun50i_iommu_domain_alloc()
H A Drockchip-iommu.c977 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in rk_iommu_domain_alloc()
987 if (type == IOMMU_DOMAIN_DMA && in rk_iommu_domain_alloc()
1022 if (type == IOMMU_DOMAIN_DMA) in rk_iommu_domain_alloc()
1052 if (domain->type == IOMMU_DOMAIN_DMA) in rk_iommu_domain_free()
H A Diommu.c122 case IOMMU_DOMAIN_DMA: in iommu_domain_type_str()
520 case IOMMU_DOMAIN_DMA: in iommu_group_show_type()
734 if (!domain || domain->type != IOMMU_DOMAIN_DMA) in iommu_create_device_direct_mappings()
1488 if (!dom && type != IOMMU_DOMAIN_DMA) { in iommu_group_alloc_default_domain()
1489 dom = __iommu_domain_alloc(bus, IOMMU_DOMAIN_DMA); in iommu_group_alloc_default_domain()
1491 pr_warn("Failed to allocate default IOMMU domain of type %u for group %s - Falling back to IOMMU_DOMAIN_DMA", in iommu_group_alloc_default_domain()
2237 * For IOMMU_DOMAIN_DMA implementations which already provide their own
2781 iommu_def_domain_type = IOMMU_DOMAIN_DMA; in iommu_set_default_translated()
H A Dexynos-iommu.c750 if (type == IOMMU_DOMAIN_DMA) { in exynos_iommu_domain_alloc()
791 if (type == IOMMU_DOMAIN_DMA) in exynos_iommu_domain_alloc()
820 if (iommu_domain->type == IOMMU_DOMAIN_DMA) in exynos_iommu_domain_free()
H A Dvirtio-iommu.c590 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in viommu_domain_alloc()
601 if (type == IOMMU_DOMAIN_DMA && in viommu_domain_alloc()
H A Dmtk_iommu.c350 if (type != IOMMU_DOMAIN_DMA) in mtk_iommu_domain_alloc()
H A Dipmmu-vmsa.c591 case IOMMU_DOMAIN_DMA: in ipmmu_domain_alloc()
H A Ddma-iommu.c76 * callback when domain->type == IOMMU_DOMAIN_DMA.
1189 if (domain->type == IOMMU_DOMAIN_DMA) { in iommu_setup_dma_ops()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c343 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in qcom_iommu_domain_alloc()
354 if (type == IOMMU_DOMAIN_DMA && in qcom_iommu_domain_alloc()
H A Darm-smmu.c881 type != IOMMU_DOMAIN_DMA && in arm_smmu_domain_alloc()
893 if (type == IOMMU_DOMAIN_DMA && (using_legacy_binding || in arm_smmu_domain_alloc()
1519 case IOMMU_DOMAIN_DMA: in arm_smmu_domain_get_attr()
1559 case IOMMU_DOMAIN_DMA: in arm_smmu_domain_set_attr()
/kernel/linux/linux-5.10/drivers/iommu/intel/
H A Diommu.c624 if (WARN_ON(domain->domain.type != IOMMU_DOMAIN_DMA)) in domain_get_iommu()
1055 if (domain->domain.type == IOMMU_DOMAIN_DMA) in pfn_to_dma_pte()
2078 if (domain->domain.type == IOMMU_DOMAIN_DMA) in domain_exit()
2412 if (domain->domain.type == IOMMU_DOMAIN_DMA) { in __domain_mapping()
2999 * - IOMMU_DOMAIN_DMA: device requires a dynamic mapping domain
3013 return IOMMU_DOMAIN_DMA; in device_def_domain_type()
4764 if (!domain || domain->domain.type != IOMMU_DOMAIN_DMA) in free_all_cpu_cached_iovas()
5215 case IOMMU_DOMAIN_DMA: in intel_iommu_domain_alloc()
5228 if (type == IOMMU_DOMAIN_DMA) in intel_iommu_domain_alloc()
5849 else if (domain && domain->type == IOMMU_DOMAIN_DMA) in intel_iommu_probe_finalize()
[all...]
/kernel/linux/linux-5.10/drivers/iommu/amd/
H A Diommu.c2264 if (domain->type == IOMMU_DOMAIN_DMA) in amd_iommu_probe_finalize()
2296 case IOMMU_DOMAIN_DMA: in amd_iommu_domain_get_attr()
2486 if (type == IOMMU_DOMAIN_DMA && in amd_iommu_domain_alloc()
2512 if (dom->type == IOMMU_DOMAIN_DMA) in amd_iommu_domain_free()
3119 if (io_domain->type != IOMMU_DOMAIN_DMA) in amd_iommu_get_v2_domain()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c1785 type != IOMMU_DOMAIN_DMA && in arm_smmu_domain_alloc()
1798 if (type == IOMMU_DOMAIN_DMA && in arm_smmu_domain_alloc()
2438 case IOMMU_DOMAIN_DMA: in arm_smmu_domain_get_attr()
2478 case IOMMU_DOMAIN_DMA: in arm_smmu_domain_set_attr()
/kernel/linux/linux-5.10/include/linux/
H A Diommu.h72 * IOMMU_DOMAIN_DMA - Internally used for DMA-API implementations.
79 #define IOMMU_DOMAIN_DMA (__IOMMU_DOMAIN_PAGING | \ macro
228 * - IOMMU_DOMAIN_DMA: must use a dma domain
/kernel/linux/linux-6.6/include/linux/
H A Diommu.h77 * IOMMU_DOMAIN_DMA - Internally used for DMA-API implementations.
88 #define IOMMU_DOMAIN_DMA (__IOMMU_DOMAIN_PAGING | \ macro
255 * - IOMMU_DOMAIN_DMA: must use a dma domain
/kernel/linux/linux-6.6/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c339 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in qcom_iommu_domain_alloc()

Completed in 64 milliseconds

12