Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iommu/intel/
Diommu.h33 #define VTD_PAGE_SIZE (1UL << VTD_PAGE_SHIFT) macro
35 #define VTD_PAGE_ALIGN(addr) (((addr) + VTD_PAGE_SIZE - 1) & VTD_PAGE_MASK)
791 return IS_ALIGNED((unsigned long)pte, VTD_PAGE_SIZE); in first_pte_in_page()
797 (struct dma_pte *)ALIGN((unsigned long)pte, VTD_PAGE_SIZE) - pte; in nr_pte_to_next_page()
Diommu.c35 #define ROOT_SIZE VTD_PAGE_SIZE
36 #define CONTEXT_SIZE VTD_PAGE_SIZE
145 #define ROOT_ENTRY_NR (VTD_PAGE_SIZE/sizeof(struct root_entry))
947 domain_flush_cache(domain, tmp_page, VTD_PAGE_SIZE); in pfn_to_dma_pte()
2257 pteval += lvl_pages * VTD_PAGE_SIZE; in __domain_mapping()
2608 VTD_PAGE_SIZE); in copy_context_table()
2660 __iommu_flush_cache(iommu, new_ce, VTD_PAGE_SIZE); in copy_context_table()
4195 if (size < VTD_PAGE_SIZE << level_to_offset_bits(level)) in intel_iommu_unmap()
4196 size = VTD_PAGE_SIZE << level_to_offset_bits(level); in intel_iommu_unmap()
Ddmar.c893 addr = ioremap(drhd->address, VTD_PAGE_SIZE); in dmar_validate_one_drhd()
895 addr = early_ioremap(drhd->address, VTD_PAGE_SIZE); in dmar_validate_one_drhd()
907 early_iounmap(addr, VTD_PAGE_SIZE); in dmar_validate_one_drhd()
1603 if (!IS_ALIGNED(addr, VTD_PAGE_SIZE << size_order)) in qi_flush_dev_iotlb_pasid()
Dpasid.c222 clflush_cache_range(entries, VTD_PAGE_SIZE); in intel_pasid_get_entry()