Lines Matching defs:ops
2247 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops;
2249 if (!ops)
2252 return ops->map(ops, iova, paddr, size, prot, gfp);
2259 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops;
2261 if (!ops)
2264 return ops->unmap(ops, iova, size, gather);
2287 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops;
2292 if (!ops)
2295 return ops->iova_to_phys(ops, iova);
2328 if (!fwspec || fwspec->ops != &arm_smmu_ops)
2395 if (!fwspec || fwspec->ops != &arm_smmu_ops)
3446 static int arm_smmu_set_bus_ops(struct iommu_ops *ops)
3451 if (pci_bus_type.iommu_ops != ops) {
3452 err = bus_set_iommu(&pci_bus_type, ops);
3458 if (amba_bustype.iommu_ops != ops) {
3459 err = bus_set_iommu(&amba_bustype, ops);
3464 if (platform_bus_type.iommu_ops != ops) {
3465 err = bus_set_iommu(&platform_bus_type, ops);