Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/pci/
Dintel-iommu.c61 #define __DOMAIN_MAX_PFN(gaw) ((((uint64_t)1) << (gaw-VTD_PAGE_SHIFT)) - 1) argument
62 #define __DOMAIN_MAX_ADDR(gaw) ((((uint64_t)1) << gaw) - 1) argument
66 #define DOMAIN_MAX_PFN(gaw) ((unsigned long) min_t(uint64_t, \ argument
67 __DOMAIN_MAX_PFN(gaw), (unsigned long)-1))
68 #define DOMAIN_MAX_ADDR(gaw) (((uint64_t)__DOMAIN_MAX_PFN(gaw)) << VTD_PAGE_SHIFT) argument
330 int gaw; /* max guest address width */ member
837 if (start_pfn == 0 && last_pfn == DOMAIN_MAX_PFN(domain->gaw)) { in dma_pte_free_pagetable()
1346 static inline int guestwidth_to_adjustwidth(int gaw) in guestwidth_to_adjustwidth() argument
1349 int r = (gaw - 12) % 9; in guestwidth_to_adjustwidth()
1352 agaw = gaw; in guestwidth_to_adjustwidth()
[all …]