Lines Matching refs:gadget_driver
2805 dwc->gadget_driver = driver; in dwc3_gadget_start()
2824 dwc->gadget_driver = NULL; in dwc3_gadget_stop()
3675 if (dwc->async_callbacks && dwc->gadget_driver->disconnect) { in dwc3_disconnect_gadget()
3677 dwc->gadget_driver->disconnect(dwc->gadget); in dwc3_disconnect_gadget()
3684 if (dwc->async_callbacks && dwc->gadget_driver->suspend) { in dwc3_suspend_gadget()
3686 dwc->gadget_driver->suspend(dwc->gadget); in dwc3_suspend_gadget()
3693 if (dwc->async_callbacks && dwc->gadget_driver->resume) { in dwc3_resume_gadget()
3695 dwc->gadget_driver->resume(dwc->gadget); in dwc3_resume_gadget()
3702 if (!dwc->gadget_driver) in dwc3_reset_gadget()
3707 usb_gadget_udc_reset(dwc->gadget, dwc->gadget_driver); in dwc3_reset_gadget()
4066 if (dwc->async_callbacks && dwc->gadget_driver->resume) { in dwc3_gadget_wakeup_interrupt()
4068 dwc->gadget_driver->resume(dwc->gadget); in dwc3_gadget_wakeup_interrupt()
4568 if (!dwc->gadget_driver) in dwc3_gadget_suspend()
4585 if (!dwc->gadget_driver || !dwc->softconnect) in dwc3_gadget_resume()