Home
last modified time | relevance | path

Searched refs:nested_domain (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3-iommufd.c44 struct arm_smmu_nested_domain *nested_domain, bool ats_enabled) in arm_smmu_make_nested_cd_table_ste() argument
47 target, master, nested_domain->vsmmu->s2_parent, ats_enabled); in arm_smmu_make_nested_cd_table_ste()
52 target->data[0] |= nested_domain->ste[0] & in arm_smmu_make_nested_cd_table_ste()
54 target->data[1] |= nested_domain->ste[1]; in arm_smmu_make_nested_cd_table_ste()
69 struct arm_smmu_nested_domain *nested_domain, bool ats_enabled) in arm_smmu_make_nested_domain_ste() argument
72 FIELD_GET(STRTAB_STE_0_CFG, le64_to_cpu(nested_domain->ste[0])); in arm_smmu_make_nested_domain_ste()
79 if (!(nested_domain->ste[0] & cpu_to_le64(STRTAB_STE_0_V))) in arm_smmu_make_nested_domain_ste()
84 arm_smmu_make_nested_cd_table_ste(target, master, nested_domain, in arm_smmu_make_nested_domain_ste()
89 nested_domain->vsmmu->s2_parent, in arm_smmu_make_nested_domain_ste()
100 struct arm_smmu_nested_domain *nested_domain) in arm_smmu_attach_prepare_vmaster() argument
[all …]
/linux/drivers/iommu/amd/
H A Dnested.c16 static inline struct nested_domain *to_ndomain(struct iommu_domain *dom) in to_ndomain()
18 return container_of(dom, struct nested_domain, domain); in to_ndomain()
98 struct nested_domain *ndom; in amd_iommu_alloc_domain_nested()
190 struct nested_domain *ndom = to_ndomain(dom); in set_dte_nested()
261 struct nested_domain *ndom = to_ndomain(dom); in nested_domain_free()
H A Damd_iommu_types.h533 struct nested_domain { struct
/linux/tools/testing/selftests/landlock/
H A Dscoped_base_variants.h118 FIXTURE_VARIANT_ADD(scoped_domains, nested_domain) { in FIXTURE_VARIANT_ADD() argument