Lines Matching defs:root
61 struct ipmmu_vmsa_device *root;
154 return mmu->root == mmu;
170 struct ipmmu_vmsa_device *root = NULL;
172 return driver_for_each_device(&ipmmu_driver.driver, NULL, &root,
173 __ipmmu_check_device) == 0 ? root : NULL;
213 return ipmmu_ctx_read(domain->mmu->root, domain->context_id, reg);
219 ipmmu_ctx_write(domain->mmu->root, domain->context_id, reg, data);
225 if (domain->mmu != domain->mmu->root)
228 ipmmu_ctx_write(domain->mmu->root, domain->context_id, reg, data);
448 domain->cfg.iommu_dev = domain->mmu->root->dev;
453 ret = ipmmu_domain_allocate_context(domain->mmu->root, domain);
462 ipmmu_domain_free_context(domain->mmu->root,
484 ipmmu_domain_free_context(domain->mmu->root, domain->context_id);
1044 * Determine if this IPMMU instance is a root device by checking for
1049 mmu->root = mmu;
1051 mmu->root = ipmmu_find_root();
1054 * Wait until the root device has been registered for sure.
1056 if (!mmu->root)
1083 * - R-Car Gen3 IPMMU (leaf devices only - skip root IPMMU-MM device)
1136 /* Reset root MMU and restore contexts */
1153 ipmmu_utlb_enable(mmu->root->domains[mmu->utlb_ctx[i]], i);