Home
last modified time | relevance | path

Searched refs:agaw (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/iommu/intel/
H A Dpasid.c548 pasid_set_address_width(pte, iommu->agaw); in intel_pasid_setup_first_level()
570 int agaw; in iommu_skip_agaw() local
572 for (agaw = domain->agaw; agaw > iommu->agaw; agaw--) { in iommu_skip_agaw()
578 return agaw; in iommu_skip_agaw()
591 int agaw; in intel_pasid_setup_second_level() local
605 agaw = iommu_skip_agaw(domain, iommu, &pgd); in intel_pasid_setup_second_level()
606 if (agaw < 0) { in intel_pasid_setup_second_level()
629 pasid_set_address_width(pte, agaw); in intel_pasid_setup_second_level()
666 pasid_set_address_width(pte, iommu->agaw); in intel_pasid_setup_pass_through()
H A Diommu.c72 return agaw + 2; in agaw_to_level()
425 int agaw; in __iommu_calculate_agaw() local
428 for (agaw = width_to_agaw(max_gaw); agaw >= 0; agaw--) { in __iommu_calculate_agaw()
433 return agaw; in __iommu_calculate_agaw()
1850 int agaw; in guestwidth_to_adjustwidth() local
1854 agaw = gaw; in guestwidth_to_adjustwidth()
1858 agaw = 64; in guestwidth_to_adjustwidth()
2003 int agaw; in domain_context_mapping_one() local
2012 for (agaw = domain->agaw; agaw > iommu->agaw; agaw--) { in domain_context_mapping_one()
2344 for (agaw = domain->agaw; agaw > iommu->agaw; agaw--) { in domain_setup_first_level()
[all …]
H A Ddmar.c1042 int agaw = -1; in alloc_iommu() local
1079 agaw = iommu_calculate_agaw(iommu); in alloc_iommu()
1080 if (agaw < 0) { in alloc_iommu()
1092 agaw = -1; in alloc_iommu()
1095 iommu->agaw = agaw; in alloc_iommu()
H A Diommu.h607 int agaw; member
664 int agaw; /* agaw of this iommu */ member
H A Ddebugfs.c357 pgtable_walk_level(m, domain->pgd, domain->agaw + 2, 0, path); in __show_device_domain_translation()