Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iommu/
Dapple-dart.c505 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()
Diommu.c137 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()
Dvirtio-iommu.c646 type != IOMMU_DOMAIN_IDENTITY) in viommu_domain_alloc()
689 if (domain->type == IOMMU_DOMAIN_IDENTITY) { in viommu_domain_finalise()
Dsun50i-iommu.c604 type != IOMMU_DOMAIN_IDENTITY && in sun50i_iommu_domain_alloc()
/Linux-v6.1/drivers/iommu/arm/arm-smmu/
Darm-smmu-qcom.c357 return match ? IOMMU_DOMAIN_IDENTITY : 0; in qcom_smmu_def_domain_type()
Darm-smmu.c628 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()
/Linux-v6.1/drivers/iommu/intel/
Diommu.c382 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()
/Linux-v6.1/include/linux/
Diommu.h82 #define IOMMU_DOMAIN_IDENTITY (__IOMMU_DOMAIN_PT) macro
/Linux-v6.1/drivers/iommu/amd/
Diommu.c1769 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()
Diommu_v2.c781 dev_state->domain->type = IOMMU_DOMAIN_IDENTITY; in amd_iommu_init_device()
/Linux-v6.1/drivers/net/ethernet/sfc/falcon/
Drx.c728 if (domain && domain->type != IOMMU_DOMAIN_IDENTITY) in ef4_init_rx_recycle_ring()
/Linux-v6.1/drivers/hwtracing/ptt/
Dhisi_ptt.c908 if (!iommu_domain || iommu_domain->type == IOMMU_DOMAIN_IDENTITY) in hisi_ptt_check_iommu_mapping()
/Linux-v6.1/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2015 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()
/Linux-v6.1/sound/pci/emu10k1/
Demu10k1_main.c1755 if (!domain || domain->type == IOMMU_DOMAIN_IDENTITY) in snd_emu10k1_detect_iommu()
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c3487 if (!domain || domain->type == IOMMU_DOMAIN_IDENTITY) in amdgpu_device_check_iommu_direct_map()