Searched refs:dev_iommu (Results 1 – 6 of 6) sorted by relevance
120 static struct dev_iommu fake_iommu = { .priv = (void *)-1 }; in mock_gem_device()
170 static struct dev_iommu *dev_iommu_get(struct device *dev) in dev_iommu_get()172 struct dev_iommu *param = dev->iommu; in dev_iommu_get()1065 struct dev_iommu *param = dev->iommu; in iommu_register_device_fault_handler()1108 struct dev_iommu *param = dev->iommu; in iommu_unregister_device_fault_handler()1148 struct dev_iommu *param = dev->iommu; in iommu_report_device_fault()1197 struct dev_iommu *param = dev->iommu; in iommu_page_response()
47 struct dev_iommu;547 struct dev_iommu *iommu;
360 struct dev_iommu { struct
487 unsigned dev_iommu[MAX_IOMMUS]; /* per-IOMMU reference count */ member
1311 if (!domain->dev_iommu[i]) in __domain_flush_pages()1349 if (domain && !domain->dev_iommu[i]) in domain_flush_complete()1997 domain->dev_iommu[iommu->index] += 1; in do_attach()2032 domain->dev_iommu[iommu->index] -= 1; in do_detach()2889 if (domain->dev_iommu[i] == 0) in __flush_pasid()