Lines Matching refs:root_entry
194 struct root_entry { struct
198 #define ROOT_ENTRY_NR (VTD_PAGE_SIZE/sizeof(struct root_entry)) argument
204 static phys_addr_t root_entry_lctp(struct root_entry *re) in root_entry_lctp()
216 static phys_addr_t root_entry_uctp(struct root_entry *re) in root_entry_uctp()
794 struct root_entry *root = &iommu->root_entry[bus]; in iommu_context_addr()
933 if (!iommu->root_entry) { in free_context_table()
949 free_pgtable_page(iommu->root_entry); in free_context_table()
950 iommu->root_entry = NULL; in free_context_table()
1267 struct root_entry *root; in iommu_alloc_root_entry()
1270 root = (struct root_entry *)alloc_pgtable_page(iommu->node); in iommu_alloc_root_entry()
1280 iommu->root_entry = root; in iommu_alloc_root_entry()
1292 addr = virt_to_phys(iommu->root_entry); in iommu_set_root_entry()
3076 struct root_entry *old_re, in copy_context_table()
3083 struct root_entry re; in copy_context_table()
3180 struct root_entry *old_rt; in copy_translation_tables()
3235 iommu->root_entry[bus].lo = val; in copy_translation_tables()
3242 iommu->root_entry[bus].hi = val; in copy_translation_tables()
3249 __iommu_flush_cache(iommu, iommu->root_entry, PAGE_SIZE); in copy_translation_tables()