Searched refs:IOMMU_DOMAIN_IDENTITY (Results 1 – 16 of 16) sorted by relevance
663 domain->type != IOMMU_DOMAIN_IDENTITY) in apple_dart_attach_dev()666 domain->type == IOMMU_DOMAIN_IDENTITY) in apple_dart_attach_dev()686 case IOMMU_DOMAIN_IDENTITY: in apple_dart_attach_dev()725 type != IOMMU_DOMAIN_IDENTITY && type != IOMMU_DOMAIN_BLOCKED) in apple_dart_domain_alloc()735 if (type == IOMMU_DOMAIN_IDENTITY || type == IOMMU_DOMAIN_BLOCKED) in apple_dart_domain_alloc()917 return IOMMU_DOMAIN_IDENTITY; in apple_dart_def_domain_type()
180 case IOMMU_DOMAIN_IDENTITY: in iommu_domain_type_str()862 case IOMMU_DOMAIN_IDENTITY: in iommu_group_show_type()2357 if (domain->type == IOMMU_DOMAIN_IDENTITY) in iommu_iova_to_phys()2809 iommu_def_domain_type = IOMMU_DOMAIN_IDENTITY; in iommu_set_default_passthrough()2821 return iommu_def_domain_type == IOMMU_DOMAIN_IDENTITY; in iommu_default_passthrough()3066 req_type = IOMMU_DOMAIN_IDENTITY; in iommu_group_store_type()3129 group->default_domain->type == IOMMU_DOMAIN_IDENTITY && in iommu_is_default_domain()3130 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()
1002 .type = IOMMU_DOMAIN_IDENTITY,1062 if (type == IOMMU_DOMAIN_IDENTITY) in rk_iommu_domain_alloc()
627 if (domain->type == IOMMU_DOMAIN_IDENTITY) { in arm_smmu_init_domain_context()828 if (!smmu || domain->type == IOMMU_DOMAIN_IDENTITY) in arm_smmu_destroy_domain_context()857 if (type != IOMMU_DOMAIN_UNMANAGED && type != IOMMU_DOMAIN_IDENTITY) { in arm_smmu_domain_alloc()1565 return IOMMU_DOMAIN_IDENTITY; in arm_smmu_def_domain_type()
404 return match ? IOMMU_DOMAIN_IDENTITY : 0; in qcom_smmu_def_domain_type()
1818 def_domain->type != IOMMU_DOMAIN_IDENTITY) { in attach_device()2102 if (type == IOMMU_DOMAIN_IDENTITY) { in protection_domain_alloc()2132 if (type == IOMMU_DOMAIN_IDENTITY) in protection_domain_alloc()2166 if (amd_iommu_snp_en && (type == IOMMU_DOMAIN_IDENTITY)) in amd_iommu_domain_alloc()2452 return IOMMU_DOMAIN_IDENTITY; in amd_iommu_def_domain_type()
787 dev_state->domain->type = IOMMU_DOMAIN_IDENTITY; in amd_iommu_init_device()
388 return domain->domain.type == IOMMU_DOMAIN_IDENTITY; in domain_type_is_si()2406 si_domain = alloc_domain(IOMMU_DOMAIN_IDENTITY); in si_domain_init()2556 return IOMMU_DOMAIN_IDENTITY; in device_def_domain_type()2559 return IOMMU_DOMAIN_IDENTITY; in device_def_domain_type()4067 case IOMMU_DOMAIN_IDENTITY: in intel_iommu_domain_alloc()
86 #define IOMMU_DOMAIN_IDENTITY (__IOMMU_DOMAIN_PT) macro
728 if (domain && domain->type != IOMMU_DOMAIN_IDENTITY) in ef4_init_rx_recycle_ring()
2043 type != IOMMU_DOMAIN_IDENTITY) in arm_smmu_domain_alloc()2190 if (domain->type == IOMMU_DOMAIN_IDENTITY) { in arm_smmu_domain_finalise()2845 return IOMMU_DOMAIN_IDENTITY; in arm_smmu_def_domain_type()
1291 if (!iommu_domain || iommu_domain->type == IOMMU_DOMAIN_IDENTITY) in hisi_ptt_check_iommu_mapping()
1514 if (!domain || domain->type == IOMMU_DOMAIN_IDENTITY) in snd_emu10k1_detect_iommu()
254 domain->type == IOMMU_DOMAIN_IDENTITY) in xhci_zero_64b_regs()
3472 if (!domain || domain->type == IOMMU_DOMAIN_IDENTITY) in amdgpu_device_check_iommu_direct_map()