Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/pci/
Dintel-iommu.c78 static inline int agaw_to_level(int agaw) in agaw_to_level() argument
80 return agaw + 2; in agaw_to_level()
83 static inline int agaw_to_width(int agaw) in agaw_to_width() argument
85 return 30 + agaw * LEVEL_STRIDE; in agaw_to_width()
333 int agaw; member
483 int agaw = -1; in __iommu_calculate_agaw() local
486 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 …]
Ddmar.c738 int agaw = 0; in alloc_iommu() local
767 agaw = iommu_calculate_agaw(iommu); in alloc_iommu()
768 if (agaw < 0) { in alloc_iommu()
782 iommu->agaw = agaw; in alloc_iommu()
/linux-2.6.39/include/linux/
Dintel-iommu.h316 int agaw; /* agaw of this iommu */ member