Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iommu/
Dapple-dart.c663 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()
Diommu.c180 case IOMMU_DOMAIN_IDENTITY: in iommu_domain_type_str()
864 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()
Dvirtio-iommu.c646 type != IOMMU_DOMAIN_IDENTITY) in viommu_domain_alloc()
689 if (domain->type == IOMMU_DOMAIN_IDENTITY) { in viommu_domain_finalise()
Drockchip-iommu.c1002 .type = IOMMU_DOMAIN_IDENTITY,
1062 if (type == IOMMU_DOMAIN_IDENTITY) in rk_iommu_domain_alloc()
/Linux-v6.6/drivers/iommu/arm/arm-smmu/
Darm-smmu.c627 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()
1554 return IOMMU_DOMAIN_IDENTITY; in arm_smmu_def_domain_type()
Darm-smmu-qcom.c375 return match ? IOMMU_DOMAIN_IDENTITY : 0; in qcom_smmu_def_domain_type()
/Linux-v6.6/drivers/iommu/amd/
Diommu.c1818 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()
Diommu_v2.c787 dev_state->domain->type = IOMMU_DOMAIN_IDENTITY; in amd_iommu_init_device()
/Linux-v6.6/drivers/iommu/intel/
Diommu.c388 return domain->domain.type == IOMMU_DOMAIN_IDENTITY; in domain_type_is_si()
2392 si_domain = alloc_domain(IOMMU_DOMAIN_IDENTITY); in si_domain_init()
2541 return IOMMU_DOMAIN_IDENTITY; in device_def_domain_type()
2544 return IOMMU_DOMAIN_IDENTITY; in device_def_domain_type()
4050 case IOMMU_DOMAIN_IDENTITY: in intel_iommu_domain_alloc()
/Linux-v6.6/include/linux/
Diommu.h86 #define IOMMU_DOMAIN_IDENTITY (__IOMMU_DOMAIN_PT) macro
/Linux-v6.6/drivers/net/ethernet/sfc/falcon/
Drx.c728 if (domain && domain->type != IOMMU_DOMAIN_IDENTITY) in ef4_init_rx_recycle_ring()
/Linux-v6.6/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2043 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()
/Linux-v6.6/drivers/hwtracing/ptt/
Dhisi_ptt.c1283 if (!iommu_domain || iommu_domain->type == IOMMU_DOMAIN_IDENTITY) in hisi_ptt_check_iommu_mapping()
/Linux-v6.6/sound/pci/emu10k1/
Demu10k1_main.c1498 if (!domain || domain->type == IOMMU_DOMAIN_IDENTITY) in snd_emu10k1_detect_iommu()
/Linux-v6.6/drivers/usb/host/
Dxhci.c253 domain->type == IOMMU_DOMAIN_IDENTITY) in xhci_zero_64b_regs()
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c3464 if (!domain || domain->type == IOMMU_DOMAIN_IDENTITY) in amdgpu_device_check_iommu_direct_map()