Lines Matching refs:root_entry
185 #define ROOT_ENTRY_NR (VTD_PAGE_SIZE/sizeof(struct root_entry))
188 * Take a root_entry and return the Lower Context Table Pointer (LCTP)
191 static phys_addr_t root_entry_lctp(struct root_entry *re)
200 * Take a root_entry and return the Upper Context Table Pointer (UCTP)
203 static phys_addr_t root_entry_uctp(struct root_entry *re)
788 struct root_entry *root = &iommu->root_entry[bus];
996 if (!iommu->root_entry) {
1012 free_pgtable_page(iommu->root_entry);
1013 iommu->root_entry = NULL;
1334 struct root_entry *root;
1337 root = (struct root_entry *)alloc_pgtable_page(iommu->node);
1347 iommu->root_entry = root;
1359 addr = virt_to_phys(iommu->root_entry);
3061 struct root_entry *old_re,
3068 struct root_entry re;
3165 struct root_entry *old_rt;
3213 /* Context tables are copied, now write them to the root_entry table */
3220 iommu->root_entry[bus].lo = val;
3227 iommu->root_entry[bus].hi = val;
3234 __iommu_flush_cache(iommu, iommu->root_entry, PAGE_SIZE);