Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/intel/
Diommu.c49 #define __DOMAIN_MAX_PFN(gaw) ((((uint64_t)1) << ((gaw) - VTD_PAGE_SHIFT)) - 1) argument
50 #define __DOMAIN_MAX_ADDR(gaw) ((((uint64_t)1) << (gaw)) - 1) argument
54 #define DOMAIN_MAX_PFN(gaw) ((unsigned long) min_t(uint64_t, \ argument
55 __DOMAIN_MAX_PFN(gaw), (unsigned long)-1))
56 #define DOMAIN_MAX_ADDR(gaw) (((uint64_t)__DOMAIN_MAX_PFN(gaw)) << VTD_PAGE_SHIFT) argument
476 domain->domain.geometry.aperture_end = __DOMAIN_MAX_ADDR(domain->gaw - 1); in domain_update_iommu_cap()
478 domain->domain.geometry.aperture_end = __DOMAIN_MAX_ADDR(domain->gaw); in domain_update_iommu_cap()
983 if (start_pfn == 0 && last_pfn == DOMAIN_MAX_PFN(domain->gaw)) { in dma_pte_free_pagetable()
1074 if (start_pfn == 0 && last_pfn == DOMAIN_MAX_PFN(domain->gaw)) { in domain_unmap()
1549 static int guestwidth_to_adjustwidth(int gaw) in guestwidth_to_adjustwidth() argument
[all …]
Diommu.h635 int gaw; member