Lines Matching refs:root_entry
185 #define ROOT_ENTRY_NR (VTD_PAGE_SIZE/sizeof(struct root_entry))
191 static phys_addr_t root_entry_lctp(struct root_entry *re) in root_entry_lctp()
203 static phys_addr_t root_entry_uctp(struct root_entry *re) in root_entry_uctp()
747 struct root_entry *root = &iommu->root_entry[bus]; in iommu_context_addr()
955 if (!iommu->root_entry) { in free_context_table()
971 free_pgtable_page(iommu->root_entry); in free_context_table()
972 iommu->root_entry = NULL; in free_context_table()
1290 struct root_entry *root; in iommu_alloc_root_entry()
1293 root = (struct root_entry *)alloc_pgtable_page(iommu->node); in iommu_alloc_root_entry()
1303 iommu->root_entry = root; in iommu_alloc_root_entry()
1315 addr = virt_to_phys(iommu->root_entry); in iommu_set_root_entry()
2972 struct root_entry *old_re, in copy_context_table()
2979 struct root_entry re; in copy_context_table()
3076 struct root_entry *old_rt; in copy_translation_tables()
3131 iommu->root_entry[bus].lo = val; in copy_translation_tables()
3138 iommu->root_entry[bus].hi = val; in copy_translation_tables()
3145 __iommu_flush_cache(iommu, iommu->root_entry, PAGE_SIZE); in copy_translation_tables()