Searched refs:VTD_PAGE_MASK (Results 1 – 5 of 5) sorted by relevance
35 #define VTD_PAGE_MASK (((u64)-1) << VTD_PAGE_SHIFT) macro36 #define VTD_PAGE_ALIGN(addr) (((addr) + VTD_PAGE_SIZE - 1) & VTD_PAGE_MASK)411 #define QI_IOTLB_ADDR(addr) (((u64)addr) & VTD_PAGE_MASK)422 #define QI_DEV_IOTLB_ADDR(addr) ((u64)(addr) & VTD_PAGE_MASK)437 #define QI_EIOTLB_ADDR(addr) ((u64)(addr) & VTD_PAGE_MASK)448 #define QI_DEV_EIOTLB_ADDR(a) ((u64)(a) & VTD_PAGE_MASK)844 return pte->val & VTD_PAGE_MASK; in dma_pte_addr()847 return __cmpxchg64(&pte->val, 0ULL, 0ULL) & VTD_PAGE_MASK; in dma_pte_addr()976 context->lo &= ~VTD_PAGE_MASK; in context_set_address_root()977 context->lo |= value & VTD_PAGE_MASK; in context_set_address_root()
152 pasid_set_bits(&pe->val[0], VTD_PAGE_MASK, value); in pasid_set_slptr()267 pasid_set_bits(&pe->val[2], VTD_PAGE_MASK, value); in pasid_set_flptr()
253 pasid_dir_ptr = context->lo & VTD_PAGE_MASK; in ctx_tbl_walk()401 pasid_dir_ptr = context->lo & VTD_PAGE_MASK; in domain_translation_struct_show()436 pgd &= VTD_PAGE_MASK; in domain_translation_struct_show()438 pgd = context->lo & VTD_PAGE_MASK; in domain_translation_struct_show()
80 return re->lo & VTD_PAGE_MASK; in root_entry_lctp()92 return re->hi & VTD_PAGE_MASK; in root_entry_uctp()506 context = phys_to_virt(*entry & VTD_PAGE_MASK); in iommu_context_addr()765 pgtable = phys_to_virt(ctx_entry->lo & VTD_PAGE_MASK); in dmar_fault_dump_ptes()770 dir = phys_to_virt(ctx_entry->lo & VTD_PAGE_MASK); in dmar_fault_dump_ptes()796 pgtable = phys_to_virt(pte->val[2] & VTD_PAGE_MASK); in dmar_fault_dump_ptes()799 pgtable = phys_to_virt(pte->val[0] & VTD_PAGE_MASK); in dmar_fault_dump_ptes()2188 old_rt_phys = rtaddr_reg & VTD_PAGE_MASK; in copy_translation_tables()
438 irt_phys = irta & VTD_PAGE_MASK; in iommu_load_old_irte()