Searched refs:udriver (Results 1 – 2 of 2) sorted by relevance
251 struct usb_device_driver *udriver = to_usb_device_driver(dev->driver); in usb_probe_device() local262 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() local308 if (udriver->disconnect) in usb_unbind_device()309 udriver->disconnect(udev); in usb_unbind_device()310 if (udriver->generic_subclass) in usb_unbind_device()[all …]
1475 struct usb_driver *udriver; in usb_serial_register_drivers() local1491 udriver = kzalloc(sizeof(*udriver), GFP_KERNEL); in usb_serial_register_drivers()1492 if (!udriver) in usb_serial_register_drivers()1495 udriver->name = name; in usb_serial_register_drivers()1496 udriver->no_dynamic_id = 1; in usb_serial_register_drivers()1497 udriver->supports_autosuspend = 1; in usb_serial_register_drivers()1498 udriver->suspend = usb_serial_suspend; in usb_serial_register_drivers()1499 udriver->resume = usb_serial_resume; in usb_serial_register_drivers()1500 udriver->probe = usb_serial_probe; in usb_serial_register_drivers()1501 udriver->disconnect = usb_serial_disconnect; in usb_serial_register_drivers()[all …]