Searched refs:dev_iommu (Results 1 – 7 of 7) sorted by relevance
194 struct dev_iommu *param = dev->iommu; in iommu_queue_iopf()277 struct dev_iommu *param = dev->iommu; in iopf_queue_flush_dev()336 struct dev_iommu *param = dev->iommu; in iopf_queue_add_device()380 struct dev_iommu *param = dev->iommu; in iopf_queue_remove_device()
253 static struct dev_iommu *dev_iommu_get(struct device *dev) in dev_iommu_get()255 struct dev_iommu *param = dev->iommu; in dev_iommu_get()271 struct dev_iommu *param = dev->iommu; in dev_iommu_free()1161 struct dev_iommu *param = dev->iommu; in iommu_register_device_fault_handler()1204 struct dev_iommu *param = dev->iommu; in iommu_unregister_device_fault_handler()1244 struct dev_iommu *param = dev->iommu; in iommu_report_device_fault()1293 struct dev_iommu *param = dev->iommu; in iommu_page_response()
124 static struct dev_iommu fake_iommu = { .priv = (void *)-1 }; in mock_gem_device()
47 struct dev_iommu;634 struct dev_iommu *iommu;
373 struct dev_iommu { struct
555 unsigned dev_iommu[MAX_IOMMUS]; /* per-IOMMU reference count */ member
1350 if (!domain->dev_iommu[i]) in __domain_flush_pages()1425 if (domain && !domain->dev_iommu[i]) in amd_iommu_domain_flush_complete()1648 domain->dev_iommu[iommu->index] += 1; in do_attach()1688 domain->dev_iommu[iommu->index] -= 1; in do_detach()2542 if (domain->dev_iommu[i] == 0) in __flush_pasid()