Lines Matching refs:root_entry
145 #define ROOT_ENTRY_NR (VTD_PAGE_SIZE/sizeof(struct root_entry))
148 * Take a root_entry and return the Lower Context Table Pointer (LCTP)
151 static phys_addr_t root_entry_lctp(struct root_entry *re)
160 * Take a root_entry and return the Upper Context Table Pointer (UCTP)
163 static phys_addr_t root_entry_uctp(struct root_entry *re)
594 struct root_entry *root = &iommu->root_entry[bus];
788 if (!iommu->root_entry)
804 free_pgtable_page(iommu->root_entry);
805 iommu->root_entry = NULL;
839 struct root_entry *rt_entry;
848 rt_entry = &iommu->root_entry[bus];
1191 struct root_entry *root;
1201 iommu->root_entry = root;
1212 addr = virt_to_phys(iommu->root_entry);
2589 struct root_entry *old_re,
2596 struct root_entry re;
2675 struct root_entry *old_rt;
2726 /* Context tables are copied, now write them to the root_entry table */
2733 iommu->root_entry[bus].lo = val;
2740 iommu->root_entry[bus].hi = val;
2747 __iommu_flush_cache(iommu, iommu->root_entry, PAGE_SIZE);