Home
last modified time | relevance | path

Searched refs:viodrv (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/powerpc/platforms/pseries/
Dvio.c706 struct vio_driver *viodrv = to_vio_driver(dev->driver); in vio_cmo_bus_probe() local
732 if (!viodrv->get_desired_dma) { in vio_cmo_bus_probe()
739 IOMMU_PAGE_ALIGN(viodrv->get_desired_dma(viodev), tbl); in vio_cmo_bus_probe()
1238 struct vio_driver *viodrv = to_vio_driver(dev->driver); in vio_bus_probe() local
1242 if (!viodrv->probe) in vio_bus_probe()
1245 id = vio_match_device(viodrv->id_table, viodev); in vio_bus_probe()
1253 error = viodrv->probe(viodev, id); in vio_bus_probe()
1265 struct vio_driver *viodrv = to_vio_driver(dev->driver); in vio_bus_remove() local
1274 if (viodrv->remove) in vio_bus_remove()
1275 viodrv->remove(viodev); in vio_bus_remove()
[all …]
/linux-6.6.21/arch/sparc/kernel/
Dvio.c161 int __vio_register_driver(struct vio_driver *viodrv, struct module *owner, in __vio_register_driver() argument
164 viodrv->driver.bus = &vio_bus_type; in __vio_register_driver()
165 viodrv->driver.name = viodrv->name; in __vio_register_driver()
166 viodrv->driver.owner = owner; in __vio_register_driver()
167 viodrv->driver.mod_name = mod_name; in __vio_register_driver()
169 return driver_register(&viodrv->driver); in __vio_register_driver()
173 void vio_unregister_driver(struct vio_driver *viodrv) in vio_unregister_driver() argument
175 driver_unregister(&viodrv->driver); in vio_unregister_driver()