Lines Matching refs:drv
186 struct device_driver *drv = data; in is_device_connecting() local
197 if (drv && (dev->driver != drv)) in is_device_connecting()
226 static int exists_essential_connecting_device(struct device_driver *drv) in exists_essential_connecting_device() argument
228 return bus_for_each_dev(&xenbus_frontend.bus, NULL, drv, in exists_essential_connecting_device()
231 static int exists_non_essential_connecting_device(struct device_driver *drv) in exists_non_essential_connecting_device() argument
233 return bus_for_each_dev(&xenbus_frontend.bus, NULL, drv, in exists_non_essential_connecting_device()
240 struct device_driver *drv = data; in print_device_status() local
243 if (drv && (dev->driver != drv)) in print_device_status()
298 struct device_driver *drv = xendrv ? &xendrv->driver : NULL; in wait_for_devices() local
304 while (exists_non_essential_connecting_device(drv)) in wait_for_devices()
309 while (exists_essential_connecting_device(drv)) in wait_for_devices()
316 bus_for_each_dev(&xenbus_frontend.bus, NULL, drv, in wait_for_devices()
320 int __xenbus_register_frontend(struct xenbus_driver *drv, struct module *owner, in __xenbus_register_frontend() argument
325 drv->read_otherend_details = read_backend_details; in __xenbus_register_frontend()
327 ret = xenbus_register_driver_common(drv, &xenbus_frontend, in __xenbus_register_frontend()
333 wait_for_devices(drv); in __xenbus_register_frontend()