Lines Matching refs:viommu_ops
843 static struct iommu_ops viommu_ops; variable
867 if (!fwspec || fwspec->ops != &viommu_ops) in viommu_probe_device()
913 if (!fwspec || fwspec->ops != &viommu_ops) in viommu_release_device()
935 static struct iommu_ops viommu_ops = { variable
1057 viommu_ops.pgsize_bitmap = viommu->pgsize_bitmap; in viommu_probe()
1071 iommu_device_register(&viommu->iommu, &viommu_ops, parent_dev); in viommu_probe()
1074 if (pci_bus_type.iommu_ops != &viommu_ops) { in viommu_probe()
1075 ret = bus_set_iommu(&pci_bus_type, &viommu_ops); in viommu_probe()
1081 if (amba_bustype.iommu_ops != &viommu_ops) { in viommu_probe()
1082 ret = bus_set_iommu(&amba_bustype, &viommu_ops); in viommu_probe()
1087 if (platform_bus_type.iommu_ops != &viommu_ops) { in viommu_probe()
1088 ret = bus_set_iommu(&platform_bus_type, &viommu_ops); in viommu_probe()