Lines Matching refs:udriver

251 	struct usb_device_driver *udriver = to_usb_device_driver(dev->driver);  in usb_probe_device()  local
262 if (!udriver->supports_autosuspend) in usb_probe_device()
267 if (udriver->generic_subclass) in usb_probe_device()
293 error = udriver->probe(udev); in usb_probe_device()
294 if (error == -ENODEV && udriver != &usb_generic_driver && in usb_probe_device()
295 (udriver->id_table || udriver->match)) { in usb_probe_device()
306 struct usb_device_driver *udriver = to_usb_device_driver(dev->driver); in usb_unbind_device() local
308 if (udriver->disconnect) in usb_unbind_device()
309 udriver->disconnect(udev); in usb_unbind_device()
310 if (udriver->generic_subclass) in usb_unbind_device()
312 if (!udriver->supports_autosuspend) in usb_unbind_device()
1018 void usb_deregister_device_driver(struct usb_device_driver *udriver) in usb_deregister_device_driver() argument
1021 usbcore_name, udriver->name); in usb_deregister_device_driver()
1023 driver_unregister(&udriver->drvwrap.driver); in usb_deregister_device_driver()
1237 struct usb_device_driver *udriver; in usb_suspend_device() local
1246 udriver = to_usb_device_driver(udev->dev.driver); in usb_suspend_device()
1249 udriver = &usb_generic_driver; in usb_suspend_device()
1251 if (udriver->suspend) in usb_suspend_device()
1252 status = udriver->suspend(udev, msg); in usb_suspend_device()
1253 if (status == 0 && udriver->generic_subclass) in usb_suspend_device()
1263 struct usb_device_driver *udriver; in usb_resume_device() local
1285 udriver = to_usb_device_driver(udev->dev.driver); in usb_resume_device()
1286 if (udriver->generic_subclass) in usb_resume_device()
1288 if (status == 0 && udriver->resume) in usb_resume_device()
1289 status = udriver->resume(udev, msg); in usb_resume_device()