Lines Matching refs:arch_iommu
34 static const struct iommu_functions *arch_iommu; variable
48 if (arch_iommu) in install_iommu_arch()
51 arch_iommu = ops; in install_iommu_arch()
64 if (arch_iommu != ops) in uninstall_iommu_arch()
67 arch_iommu = NULL; in uninstall_iommu_arch()
77 arch_iommu->save_ctx(obj); in iommu_save_ctx()
87 arch_iommu->restore_ctx(obj); in iommu_restore_ctx()
96 return arch_iommu->version; in iommu_arch_version()
107 if (!arch_iommu) in iommu_enable()
112 err = arch_iommu->enable(obj); in iommu_enable()
125 arch_iommu->disable(obj); in iommu_disable()
137 arch_iommu->cr_to_e(cr, e); in iotlb_cr_to_e()
146 return arch_iommu->cr_valid(cr); in iotlb_cr_valid()
155 return arch_iommu->alloc_cr(obj, e); in iotlb_alloc_cr()
160 return arch_iommu->cr_to_virt(cr); in iotlb_cr_to_virt()
166 return arch_iommu->get_pte_attr(e); in get_iopte_attr()
171 return arch_iommu->fault_isr(obj, da); in iommu_report_fault()
197 arch_iommu->tlb_read_cr(obj, cr); in iotlb_read_cr()
202 arch_iommu->tlb_load_cr(obj, cr); in iotlb_load_cr()
219 return arch_iommu->dump_cr(obj, cr, buf); in iotlb_dump_cr()
389 arch_iommu->set_twl(obj, on); in iommu_set_twl()
403 bytes = arch_iommu->dump_ctx(obj, buf, bytes); in iommu_dump_ctx()