Lines Matching refs:drv
200 struct device_driver *drv = data;
211 if (drv && (dev->driver != drv))
232 static int exists_essential_connecting_device(struct device_driver *drv)
234 return bus_for_each_dev(&xenbus_frontend.bus, NULL, drv,
237 static int exists_non_essential_connecting_device(struct device_driver *drv)
239 return bus_for_each_dev(&xenbus_frontend.bus, NULL, drv,
246 struct device_driver *drv = data;
249 if (drv && (dev->driver != drv))
304 struct device_driver *drv = xendrv ? &xendrv->driver : NULL;
310 while (exists_non_essential_connecting_device(drv))
315 while (exists_essential_connecting_device(drv))
322 bus_for_each_dev(&xenbus_frontend.bus, NULL, drv,
326 int __xenbus_register_frontend(struct xenbus_driver *drv, struct module *owner,
331 drv->read_otherend_details = read_backend_details;
333 ret = xenbus_register_driver_common(drv, &xenbus_frontend,
339 wait_for_devices(drv);