viodrv 700 arch/powerpc/platforms/pseries/vio.c struct vio_driver *viodrv = to_vio_driver(dev->driver); viodrv 726 arch/powerpc/platforms/pseries/vio.c if (!viodrv->get_desired_dma) { viodrv 733 arch/powerpc/platforms/pseries/vio.c IOMMU_PAGE_ALIGN(viodrv->get_desired_dma(viodev), tbl); viodrv 1232 arch/powerpc/platforms/pseries/vio.c struct vio_driver *viodrv = to_vio_driver(dev->driver); viodrv 1236 arch/powerpc/platforms/pseries/vio.c if (!viodrv->probe) viodrv 1239 arch/powerpc/platforms/pseries/vio.c id = vio_match_device(viodrv->id_table, viodev); viodrv 1247 arch/powerpc/platforms/pseries/vio.c error = viodrv->probe(viodev, id); viodrv 1259 arch/powerpc/platforms/pseries/vio.c struct vio_driver *viodrv = to_vio_driver(dev->driver); viodrv 1269 arch/powerpc/platforms/pseries/vio.c if (viodrv->remove) viodrv 1270 arch/powerpc/platforms/pseries/vio.c ret = viodrv->remove(viodev); viodrv 1283 arch/powerpc/platforms/pseries/vio.c int __vio_register_driver(struct vio_driver *viodrv, struct module *owner, viodrv 1286 arch/powerpc/platforms/pseries/vio.c pr_debug("%s: driver %s registering\n", __func__, viodrv->name); viodrv 1289 arch/powerpc/platforms/pseries/vio.c viodrv->driver.name = viodrv->name; viodrv 1290 arch/powerpc/platforms/pseries/vio.c viodrv->driver.pm = viodrv->pm; viodrv 1291 arch/powerpc/platforms/pseries/vio.c viodrv->driver.bus = &vio_bus_type; viodrv 1292 arch/powerpc/platforms/pseries/vio.c viodrv->driver.owner = owner; viodrv 1293 arch/powerpc/platforms/pseries/vio.c viodrv->driver.mod_name = mod_name; viodrv 1295 arch/powerpc/platforms/pseries/vio.c return driver_register(&viodrv->driver); viodrv 1303 arch/powerpc/platforms/pseries/vio.c void vio_unregister_driver(struct vio_driver *viodrv) viodrv 1305 arch/powerpc/platforms/pseries/vio.c driver_unregister(&viodrv->driver); viodrv 163 arch/sparc/kernel/vio.c int __vio_register_driver(struct vio_driver *viodrv, struct module *owner, viodrv 166 arch/sparc/kernel/vio.c viodrv->driver.bus = &vio_bus_type; viodrv 167 arch/sparc/kernel/vio.c viodrv->driver.name = viodrv->name; viodrv 168 arch/sparc/kernel/vio.c viodrv->driver.owner = owner; viodrv 169 arch/sparc/kernel/vio.c viodrv->driver.mod_name = mod_name; viodrv 171 arch/sparc/kernel/vio.c return driver_register(&viodrv->driver); viodrv 175 arch/sparc/kernel/vio.c void vio_unregister_driver(struct vio_driver *viodrv) viodrv 177 arch/sparc/kernel/vio.c driver_unregister(&viodrv->driver);