Searched refs:agaw (Results 1 – 3 of 3) sorted by relevance
78 static inline int agaw_to_level(int agaw) in agaw_to_level() argument80 return agaw + 2; in agaw_to_level()83 static inline int agaw_to_width(int agaw) in agaw_to_width() argument85 return 30 + agaw * LEVEL_STRIDE; in agaw_to_width()333 int agaw; member483 int agaw = -1; in __iommu_calculate_agaw() local486 for (agaw = width_to_agaw(max_gaw); in __iommu_calculate_agaw()487 agaw >= 0; agaw--) { in __iommu_calculate_agaw()488 if (test_bit(agaw, &sagaw)) in __iommu_calculate_agaw()492 return agaw; in __iommu_calculate_agaw()[all …]
738 int agaw = 0; in alloc_iommu() local767 agaw = iommu_calculate_agaw(iommu); in alloc_iommu()768 if (agaw < 0) { in alloc_iommu()782 iommu->agaw = agaw; in alloc_iommu()
316 int agaw; /* agaw of this iommu */ member