Searched refs:viodrv (Results 1 – 2 of 2) sorted by relevance
703 struct vio_driver *viodrv = to_vio_driver(dev->driver); in vio_cmo_bus_probe() local729 if (!viodrv->get_desired_dma) { in vio_cmo_bus_probe()736 IOMMU_PAGE_ALIGN(viodrv->get_desired_dma(viodev), tbl); in vio_cmo_bus_probe()1235 struct vio_driver *viodrv = to_vio_driver(dev->driver); in vio_bus_probe() local1239 if (!viodrv->probe) in vio_bus_probe()1242 id = vio_match_device(viodrv->id_table, viodev); in vio_bus_probe()1250 error = viodrv->probe(viodev, id); in vio_bus_probe()1262 struct vio_driver *viodrv = to_vio_driver(dev->driver); in vio_bus_remove() local1272 if (viodrv->remove) in vio_bus_remove()1273 ret = viodrv->remove(viodev); in vio_bus_remove()[all …]
163 int __vio_register_driver(struct vio_driver *viodrv, struct module *owner, in __vio_register_driver() argument166 viodrv->driver.bus = &vio_bus_type; in __vio_register_driver()167 viodrv->driver.name = viodrv->name; in __vio_register_driver()168 viodrv->driver.owner = owner; in __vio_register_driver()169 viodrv->driver.mod_name = mod_name; in __vio_register_driver()171 return driver_register(&viodrv->driver); in __vio_register_driver()175 void vio_unregister_driver(struct vio_driver *viodrv) in vio_unregister_driver() argument177 driver_unregister(&viodrv->driver); in vio_unregister_driver()