Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iommu/intel/
Diommu.h34 #define VTD_PAGE_MASK (((u64)-1) << VTD_PAGE_SHIFT) macro
35 #define VTD_PAGE_ALIGN(addr) (((addr) + VTD_PAGE_SIZE - 1) & VTD_PAGE_MASK)
358 #define QI_IOTLB_ADDR(addr) (((u64)addr) & VTD_PAGE_MASK)
369 #define QI_DEV_IOTLB_ADDR(addr) ((u64)(addr) & VTD_PAGE_MASK)
384 #define QI_EIOTLB_ADDR(addr) ((u64)(addr) & VTD_PAGE_MASK)
395 #define QI_DEV_EIOTLB_ADDR(a) ((u64)(a) & VTD_PAGE_MASK)
678 return pte->val & VTD_PAGE_MASK & (~DMA_FL_PTE_XD); in dma_pte_addr()
682 VTD_PAGE_MASK & (~DMA_FL_PTE_XD); in dma_pte_addr()
Dpasid.c297 pasid_set_bits(&pe->val[0], VTD_PAGE_MASK, value); in pasid_set_slptr()
382 pasid_set_bits(&pe->val[2], VTD_PAGE_MASK, value); in pasid_set_flptr()
Diommu.c151 return re->lo & VTD_PAGE_MASK; in root_entry_lctp()
163 return re->hi & VTD_PAGE_MASK; in root_entry_uctp()
186 context->lo &= ~VTD_PAGE_MASK; in context_set_address_root()
187 context->lo |= value & VTD_PAGE_MASK; in context_set_address_root()
613 context = phys_to_virt(*entry & VTD_PAGE_MASK); in iommu_context_addr()
885 pgtable = phys_to_virt(ctx_entry->lo & VTD_PAGE_MASK); in dmar_fault_dump_ptes()
890 dir = phys_to_virt(ctx_entry->lo & VTD_PAGE_MASK); in dmar_fault_dump_ptes()
916 pgtable = phys_to_virt(pte->val[2] & VTD_PAGE_MASK); in dmar_fault_dump_ptes()
919 pgtable = phys_to_virt(pte->val[0] & VTD_PAGE_MASK); in dmar_fault_dump_ptes()
2784 old_rt_phys = rtaddr_reg & VTD_PAGE_MASK; in copy_translation_tables()
Ddebugfs.c254 pasid_dir_ptr = context->lo & VTD_PAGE_MASK; in ctx_tbl_walk()
Dirq_remapping.c445 irt_phys = irta & VTD_PAGE_MASK; in iommu_load_old_irte()