Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/
H A Dmpp_iommu_av1d.c368 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in av1_iommu_domain_alloc()
378 if (type == IOMMU_DOMAIN_DMA && in av1_iommu_domain_alloc()
430 if (type == IOMMU_DOMAIN_DMA) in av1_iommu_domain_alloc()
720 if (domain->type == IOMMU_DOMAIN_DMA) in av1_iommu_domain_free()
/OK3568_Linux_fs/kernel/drivers/iommu/
H A Dsun50i-iommu.c604 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 Diommu.c123 case IOMMU_DOMAIN_DMA: in iommu_domain_type_str()
524 case IOMMU_DOMAIN_DMA: in iommu_group_show_type()
738 if (!domain || domain->type != IOMMU_DOMAIN_DMA) in iommu_create_device_direct_mappings()
1492 if (!dom && type != IOMMU_DOMAIN_DMA) { in iommu_group_alloc_default_domain()
1493 dom = __iommu_domain_alloc(bus, IOMMU_DOMAIN_DMA); in iommu_group_alloc_default_domain()
2863 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 Drockchip-iommu.c1320 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in rk_iommu_domain_alloc()
1330 if (type == IOMMU_DOMAIN_DMA && in rk_iommu_domain_alloc()
1363 if (type == IOMMU_DOMAIN_DMA) in rk_iommu_domain_alloc()
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 Dipmmu-vmsa.c590 case IOMMU_DOMAIN_DMA: in ipmmu_domain_alloc()
H A Dmtk_iommu.c437 if (type != IOMMU_DOMAIN_DMA) in mtk_iommu_domain_alloc()
H A Ddma-iommu.c1264 if (domain->type == IOMMU_DOMAIN_DMA) { in iommu_setup_dma_ops()
/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c328 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_DMA) in qcom_iommu_domain_alloc()
339 if (type == IOMMU_DOMAIN_DMA && in qcom_iommu_domain_alloc()
H A Darm-smmu.c862 type != IOMMU_DOMAIN_DMA && in arm_smmu_domain_alloc()
874 if (type == IOMMU_DOMAIN_DMA && (using_legacy_binding || in arm_smmu_domain_alloc()
1513 case IOMMU_DOMAIN_DMA: in arm_smmu_domain_get_attr()
1553 case IOMMU_DOMAIN_DMA: in arm_smmu_domain_set_attr()
/OK3568_Linux_fs/kernel/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()
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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c1769 type != IOMMU_DOMAIN_DMA && in arm_smmu_domain_alloc()
1782 if (type == IOMMU_DOMAIN_DMA && in arm_smmu_domain_alloc()
2422 case IOMMU_DOMAIN_DMA: in arm_smmu_domain_get_attr()
2462 case IOMMU_DOMAIN_DMA: in arm_smmu_domain_set_attr()
/OK3568_Linux_fs/kernel/include/linux/
H A Diommu.h91 #define IOMMU_DOMAIN_DMA (__IOMMU_DOMAIN_PAGING | \ macro