Searched refs:IOMMU_DOMAIN_IDENTITY (Results 1 – 15 of 15) sorted by relevance
505 domain->type != IOMMU_DOMAIN_IDENTITY) in apple_dart_attach_dev()508 domain->type == IOMMU_DOMAIN_IDENTITY) in apple_dart_attach_dev()529 case IOMMU_DOMAIN_IDENTITY: in apple_dart_attach_dev()584 type != IOMMU_DOMAIN_IDENTITY && type != IOMMU_DOMAIN_BLOCKED) in apple_dart_domain_alloc()594 if (type == IOMMU_DOMAIN_IDENTITY || type == IOMMU_DOMAIN_BLOCKED) in apple_dart_domain_alloc()739 return IOMMU_DOMAIN_IDENTITY; in apple_dart_def_domain_type()
137 case IOMMU_DOMAIN_IDENTITY: in iommu_domain_type_str()629 case IOMMU_DOMAIN_IDENTITY: in iommu_group_show_type()2148 if (domain->type == IOMMU_DOMAIN_IDENTITY) in iommu_iova_to_phys()2604 iommu_def_domain_type = IOMMU_DOMAIN_IDENTITY; in iommu_set_default_passthrough()2616 return iommu_def_domain_type == IOMMU_DOMAIN_IDENTITY; in iommu_default_passthrough()2981 req_type = IOMMU_DOMAIN_IDENTITY; in iommu_group_store_type()3066 group->default_domain->type == IOMMU_DOMAIN_IDENTITY && in iommu_is_default_domain()3067 group->domain && group->domain->type == IOMMU_DOMAIN_IDENTITY) in iommu_is_default_domain()
646 type != IOMMU_DOMAIN_IDENTITY) in viommu_domain_alloc()689 if (domain->type == IOMMU_DOMAIN_IDENTITY) { in viommu_domain_finalise()
604 type != IOMMU_DOMAIN_IDENTITY && in sun50i_iommu_domain_alloc()
357 return match ? IOMMU_DOMAIN_IDENTITY : 0; in qcom_smmu_def_domain_type()
628 if (domain->type == IOMMU_DOMAIN_IDENTITY) { in arm_smmu_init_domain_context()829 if (!smmu || domain->type == IOMMU_DOMAIN_IDENTITY) in arm_smmu_destroy_domain_context()858 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_IDENTITY) { in arm_smmu_domain_alloc()1552 return IOMMU_DOMAIN_IDENTITY; in arm_smmu_def_domain_type()
382 return domain->domain.type == IOMMU_DOMAIN_IDENTITY; in domain_type_is_si()2424 si_domain = alloc_domain(IOMMU_DOMAIN_IDENTITY); in si_domain_init()2629 return IOMMU_DOMAIN_IDENTITY; in device_def_domain_type()2632 return IOMMU_DOMAIN_IDENTITY; in device_def_domain_type()4189 case IOMMU_DOMAIN_IDENTITY: in intel_iommu_domain_alloc()
82 #define IOMMU_DOMAIN_IDENTITY (__IOMMU_DOMAIN_PT) macro
1769 def_domain->type != IOMMU_DOMAIN_IDENTITY) { in attach_device()2055 if (type == IOMMU_DOMAIN_IDENTITY) { in protection_domain_alloc()2096 if (amd_iommu_snp_en && (type == IOMMU_DOMAIN_IDENTITY)) in amd_iommu_domain_alloc()2402 return IOMMU_DOMAIN_IDENTITY; in amd_iommu_def_domain_type()
781 dev_state->domain->type = IOMMU_DOMAIN_IDENTITY; in amd_iommu_init_device()
728 if (domain && domain->type != IOMMU_DOMAIN_IDENTITY) in ef4_init_rx_recycle_ring()
908 if (!iommu_domain || iommu_domain->type == IOMMU_DOMAIN_IDENTITY) in hisi_ptt_check_iommu_mapping()
2015 type != IOMMU_DOMAIN_IDENTITY) in arm_smmu_domain_alloc()2178 if (domain->type == IOMMU_DOMAIN_IDENTITY) { in arm_smmu_domain_finalise()2835 return IOMMU_DOMAIN_IDENTITY; in arm_smmu_def_domain_type()
1755 if (!domain || domain->type == IOMMU_DOMAIN_IDENTITY) in snd_emu10k1_detect_iommu()
3487 if (!domain || domain->type == IOMMU_DOMAIN_IDENTITY) in amdgpu_device_check_iommu_direct_map()