Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/serial/
Dbus.c126 struct usb_serial_driver *usb_drv = to_usb_serial_driver(driver); in new_id_store() local
127 ssize_t retval = usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, in new_id_store()
130 if (retval >= 0 && usb_drv->usb_driver != NULL) in new_id_store()
131 retval = usb_store_new_id(&usb_drv->usb_driver->dynids, in new_id_store()
132 usb_drv->usb_driver->id_table, in new_id_store()
133 &usb_drv->usb_driver->drvwrap.driver, in new_id_store()
140 struct usb_serial_driver *usb_drv = to_usb_serial_driver(driver); in new_id_show() local
142 return usb_show_dynids(&usb_drv->dynids, buf); in new_id_show()
/kernel/linux/linux-5.10/drivers/usb/core/
Ddriver.c133 struct usb_driver *usb_drv = to_usb_driver(driver); in new_id_show() local
135 return usb_show_dynids(&usb_drv->dynids, buf); in new_id_show()
141 struct usb_driver *usb_drv = to_usb_driver(driver); in new_id_store() local
143 return usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, driver, buf, count); in new_id_store()
184 static int usb_create_newid_files(struct usb_driver *usb_drv) in usb_create_newid_files() argument
188 if (usb_drv->no_dynamic_id) in usb_create_newid_files()
191 if (usb_drv->probe != NULL) { in usb_create_newid_files()
192 error = driver_create_file(&usb_drv->drvwrap.driver, in usb_create_newid_files()
195 error = driver_create_file(&usb_drv->drvwrap.driver, in usb_create_newid_files()
198 driver_remove_file(&usb_drv->drvwrap.driver, in usb_create_newid_files()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3308-evb.dts151 pinctrl-0 = <&usb_drv>;
209 usb_drv: usb-drv { label