Home
last modified time | relevance | path

Searched refs:udriver (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/serial/
Dusb-serial.c1365 struct usb_driver *udriver; in usb_serial_register_drivers() local
1381 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 …]
/drivers/usb/core/
Ddriver.c251 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()
266 error = udriver->probe(udev); in usb_probe_device()
274 struct usb_device_driver *udriver = to_usb_device_driver(dev->driver); in usb_unbind_device() local
276 udriver->disconnect(udev); in usb_unbind_device()
277 if (!udriver->supports_autosuspend) in usb_unbind_device()
918 void usb_deregister_device_driver(struct usb_device_driver *udriver) in usb_deregister_device_driver() argument
921 usbcore_name, udriver->name); in usb_deregister_device_driver()
923 driver_unregister(&udriver->drvwrap.driver); in usb_deregister_device_driver()
1138 struct usb_device_driver *udriver; in usb_suspend_device() local
[all …]