Home
last modified time | relevance | path

Searched refs:usb_drv (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/serial/
Dbus.c128 struct usb_serial_driver *usb_drv = to_usb_serial_driver(driver); in new_id_store() local
129 ssize_t retval = usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, in new_id_store()
132 if (retval >= 0 && usb_drv->usb_driver != NULL) in new_id_store()
133 retval = usb_store_new_id(&usb_drv->usb_driver->dynids, in new_id_store()
134 usb_drv->usb_driver->id_table, in new_id_store()
135 &usb_drv->usb_driver->drvwrap.driver, in new_id_store()
142 struct usb_serial_driver *usb_drv = to_usb_serial_driver(driver); in new_id_show() local
144 return usb_show_dynids(&usb_drv->dynids, buf); in new_id_show()
/drivers/usb/core/
Ddriver.c130 struct usb_driver *usb_drv = to_usb_driver(driver); in new_id_show() local
132 return usb_show_dynids(&usb_drv->dynids, buf); in new_id_show()
138 struct usb_driver *usb_drv = to_usb_driver(driver); in new_id_store() local
140 return usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, driver, buf, count); in new_id_store()
181 static int usb_create_newid_files(struct usb_driver *usb_drv) in usb_create_newid_files() argument
185 if (usb_drv->no_dynamic_id) in usb_create_newid_files()
188 if (usb_drv->probe != NULL) { in usb_create_newid_files()
189 error = driver_create_file(&usb_drv->drvwrap.driver, in usb_create_newid_files()
192 error = driver_create_file(&usb_drv->drvwrap.driver, in usb_create_newid_files()
195 driver_remove_file(&usb_drv->drvwrap.driver, in usb_create_newid_files()
[all …]
/drivers/staging/rtl8723au/os_dep/
Dusb_intf.c60 static struct usb_driver *usb_drv = &rtl8723a_usb_drv; variable
608 return usb_register(usb_drv); in rtw_drv_entry()
616 usb_deregister(usb_drv); in rtw_drv_halt()