Searched refs:udriver (Results 1 – 3 of 3) sorted by relevance
97 int drm_usb_init(struct drm_driver *driver, struct usb_driver *udriver) in drm_usb_init() argument103 driver->kdriver.usb = udriver; in drm_usb_init()106 res = usb_register(udriver); in drm_usb_init()112 struct usb_driver *udriver) in drm_usb_exit() argument114 usb_deregister(udriver); in drm_usb_exit()
213 struct usb_device_driver *udriver = to_usb_device_driver(dev->driver); in usb_probe_device() local224 if (!udriver->supports_autosuspend) in usb_probe_device()228 error = udriver->probe(udev); in usb_probe_device()236 struct usb_device_driver *udriver = to_usb_device_driver(dev->driver); in usb_unbind_device() local238 udriver->disconnect(udev); in usb_unbind_device()239 if (!udriver->supports_autosuspend) in usb_unbind_device()812 void usb_deregister_device_driver(struct usb_device_driver *udriver) in usb_deregister_device_driver() argument815 usbcore_name, udriver->name); in usb_deregister_device_driver()817 driver_unregister(&udriver->drvwrap.driver); in usb_deregister_device_driver()1017 struct usb_device_driver *udriver; in usb_suspend_device() local[all …]
1391 int usb_serial_register_drivers(struct usb_driver *udriver, in usb_serial_register_drivers() argument1411 saved_id_table = udriver->id_table; in usb_serial_register_drivers()1412 udriver->id_table = NULL; in usb_serial_register_drivers()1414 udriver->no_dynamic_id = 1; in usb_serial_register_drivers()1415 udriver->supports_autosuspend = 1; in usb_serial_register_drivers()1416 udriver->suspend = usb_serial_suspend; in usb_serial_register_drivers()1417 udriver->resume = usb_serial_resume; in usb_serial_register_drivers()1418 rc = usb_register(udriver); in usb_serial_register_drivers()1423 (*sd)->usb_driver = udriver; in usb_serial_register_drivers()1430 udriver->id_table = saved_id_table; in usb_serial_register_drivers()[all …]