Lines Matching defs:drv
57 static int vio_bus_match(struct device *dev, struct device_driver *drv)
60 struct vio_driver *vio_drv = to_vio_driver(drv);
72 struct vio_driver *drv = to_vio_driver(dev->driver);
75 if (!drv->probe)
78 id = vio_match_device(drv->id_table, vdev);
83 if (!drv->no_irq) {
93 return drv->probe(vdev, id);
99 struct vio_driver *drv = to_vio_driver(dev->driver);
101 if (drv->remove) {
108 drv->remove(vdev);