Lines Matching refs:driver
1983 if (ret == 0 && hsotg->driver) { in dwc2_hsotg_process_control()
1985 ret = hsotg->driver->setup(&hsotg->gadget, ctrl); in dwc2_hsotg_process_control()
4531 struct usb_gadget_driver *driver) in dwc2_hsotg_udc_start() argument
4542 if (!driver) { in dwc2_hsotg_udc_start()
4547 if (driver->max_speed < USB_SPEED_FULL) in dwc2_hsotg_udc_start()
4550 if (!driver->setup) { in dwc2_hsotg_udc_start()
4555 WARN_ON(hsotg->driver); in dwc2_hsotg_udc_start()
4557 hsotg->driver = driver; in dwc2_hsotg_udc_start()
4580 dev_info(hsotg->dev, "bound driver %s\n", driver->driver.name); in dwc2_hsotg_udc_start()
4585 hsotg->driver = NULL; in dwc2_hsotg_udc_start()
4614 hsotg->driver = NULL; in dwc2_hsotg_udc_stop()
5096 if (hsotg->driver) { in dwc2_hsotg_suspend()
5100 hsotg->driver->driver.name); in dwc2_hsotg_suspend()
5127 if (hsotg->driver) { in dwc2_hsotg_resume()
5129 hsotg->driver->driver.name); in dwc2_hsotg_resume()