Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Ddma_remapping.h26 struct root_entry;
Dintel-iommu.h342 struct root_entry *root_entry; /* virtual address */ member
/linux-4.1.27/drivers/iommu/
Dintel-iommu.c187 struct root_entry { struct
191 #define ROOT_ENTRY_NR (VTD_PAGE_SIZE/sizeof(struct root_entry)) argument
680 struct root_entry *root = &iommu->root_entry[bus]; in iommu_context_addr()
813 if (!iommu->root_entry) { in free_context_table()
829 free_pgtable_page(iommu->root_entry); in free_context_table()
830 iommu->root_entry = NULL; in free_context_table()
1130 struct root_entry *root; in iommu_alloc_root_entry()
1133 root = (struct root_entry *)alloc_pgtable_page(iommu->node); in iommu_alloc_root_entry()
1143 iommu->root_entry = root; in iommu_alloc_root_entry()
1155 addr = virt_to_phys(iommu->root_entry); in iommu_set_root_entry()