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 …]
1365 struct usb_driver *udriver; in usb_serial_register_drivers() local1381 udriver = kzalloc(sizeof(*udriver), GFP_KERNEL); in usb_serial_register_drivers()1382 if (!udriver) in usb_serial_register_drivers()1385 udriver->name = name; in usb_serial_register_drivers()1386 udriver->no_dynamic_id = 1; in usb_serial_register_drivers()1387 udriver->supports_autosuspend = 1; in usb_serial_register_drivers()1388 udriver->suspend = usb_serial_suspend; in usb_serial_register_drivers()1389 udriver->resume = usb_serial_resume; in usb_serial_register_drivers()1390 udriver->probe = usb_serial_probe; in usb_serial_register_drivers()1391 udriver->disconnect = usb_serial_disconnect; in usb_serial_register_drivers()[all …]