Lines Matching refs:root_entry
192 struct root_entry { struct
196 #define ROOT_ENTRY_NR (VTD_PAGE_SIZE/sizeof(struct root_entry)) argument
202 static phys_addr_t root_entry_lctp(struct root_entry *re) in root_entry_lctp()
214 static phys_addr_t root_entry_uctp(struct root_entry *re) in root_entry_uctp()
839 struct root_entry *root = &iommu->root_entry[bus]; in iommu_context_addr()
972 if (!iommu->root_entry) { in free_context_table()
988 free_pgtable_page(iommu->root_entry); in free_context_table()
989 iommu->root_entry = NULL; in free_context_table()
1289 struct root_entry *root; in iommu_alloc_root_entry()
1292 root = (struct root_entry *)alloc_pgtable_page(iommu->node); in iommu_alloc_root_entry()
1302 iommu->root_entry = root; in iommu_alloc_root_entry()
1314 addr = virt_to_phys(iommu->root_entry); in iommu_set_root_entry()
2890 struct root_entry *old_re, in copy_context_table()
2897 struct root_entry re; in copy_context_table()
2994 struct root_entry *old_rt; in copy_translation_tables()
3049 iommu->root_entry[bus].lo = val; in copy_translation_tables()
3056 iommu->root_entry[bus].hi = val; in copy_translation_tables()
3063 __iommu_flush_cache(iommu, iommu->root_entry, PAGE_SIZE); in copy_translation_tables()