Searched refs:usb_drv (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/usb/serial/ |
D | bus.c | 109 struct usb_serial_driver *usb_drv = to_usb_serial_driver(driver); in new_id_store() local 110 ssize_t retval = usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, in new_id_store() 113 if (retval >= 0 && usb_drv->usb_driver != NULL) in new_id_store() 114 retval = usb_store_new_id(&usb_drv->usb_driver->dynids, in new_id_store() 115 usb_drv->usb_driver->id_table, in new_id_store() 116 &usb_drv->usb_driver->drvwrap.driver, in new_id_store() 123 struct usb_serial_driver *usb_drv = to_usb_serial_driver(driver); in new_id_show() local 125 return usb_show_dynids(&usb_drv->dynids, buf); in new_id_show()
|
/Linux-v6.1/drivers/staging/r8188eu/os_dep/ |
D | usb_intf.c | 65 static struct rtw_usb_drv *usb_drv = &rtl8188e_usb_drv; variable 306 padapter->hw_init_mutex = &usb_drv->hw_init_mutex; in rtw_usb_if1_init() 442 if (usb_drv->drv_registered) in rtw_dev_remove() 457 mutex_init(&usb_drv->hw_init_mutex); in rtw_drv_entry() 459 usb_drv->drv_registered = true; in rtw_drv_entry() 460 return usb_register(&usb_drv->usbdrv); in rtw_drv_entry() 465 usb_drv->drv_registered = false; in rtw_drv_halt() 466 usb_deregister(&usb_drv->usbdrv); in rtw_drv_halt() 468 mutex_destroy(&usb_drv->hw_init_mutex); in rtw_drv_halt()
|
/Linux-v6.1/drivers/usb/core/ |
D | driver.c | 133 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 …]
|
/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3308-evb.dts | 151 pinctrl-0 = <&usb_drv>; 209 usb_drv: usb-drv { label
|