Lines Matching defs:ops
97 static int arm_smmu_bus_init(struct iommu_ops *ops);
188 * delay setting bus ops until we're sure every possible SMMU is ready,
832 /* Publish page table ops for map/unmap */
1149 if (!fwspec || fwspec->ops != &arm_smmu_ops) {
1213 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops;
1217 if (!ops)
1221 ret = ops->map(ops, iova, paddr, size, prot, gfp);
1230 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops;
1234 if (!ops)
1238 ret = ops->unmap(ops, iova, size, gather);
1280 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops;
1308 return ops->iova_to_phys(ops, iova);
1330 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops;
1335 if (!ops)
1342 return ops->iova_to_phys(ops, iova);
1388 } else if (fwspec && fwspec->ops == &arm_smmu_ops) {
1451 if (!fwspec || fwspec->ops != &arm_smmu_ops)
1765 dev_notice(smmu->dev, "\taddress translation ops\n");
2056 static int arm_smmu_bus_init(struct iommu_ops *ops)
2062 err = bus_set_iommu(&platform_bus_type, ops);
2068 err = bus_set_iommu(&amba_bustype, ops);
2075 err = bus_set_iommu(&pci_bus_type, ops);
2082 err = bus_set_iommu(&fsl_mc_bus_type, ops);
2246 * any device which might need it, so we want the bus ops in place