Home
last modified time | relevance | path

Searched refs:gadget_driver (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_gadget.c501 if (mtu->gadget_driver) { in mtu3_gadget_start()
503 mtu->g.name, mtu->gadget_driver->driver.name); in mtu3_gadget_start()
512 mtu->gadget_driver = driver; in mtu3_gadget_start()
524 struct usb_gadget_driver *driver = mtu->gadget_driver; in stop_activity()
566 mtu->gadget_driver = NULL; in mtu3_gadget_stop()
694 if (mtu->gadget_driver && mtu->gadget_driver->resume) { in mtu3_gadget_resume()
696 mtu->gadget_driver->resume(&mtu->g); in mtu3_gadget_resume()
705 if (mtu->gadget_driver && mtu->gadget_driver->suspend) { in mtu3_gadget_suspend()
707 mtu->gadget_driver->suspend(&mtu->g); in mtu3_gadget_suspend()
716 if (mtu->gadget_driver && mtu->gadget_driver->disconnect) { in mtu3_gadget_disconnect()
[all …]
Dmtu3.h346 struct usb_gadget_driver *gadget_driver; member
Dmtu3_gadget_ep0.c69 if (!mtu->gadget_driver) in forward_to_driver()
73 ret = mtu->gadget_driver->setup(&mtu->g, setup); in forward_to_driver()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c143 if (bdc->gadget_driver && bdc->gadget_driver->disconnect) { in bdc_uspc_disconnected()
145 bdc->gadget_driver->disconnect(&bdc->gadget); in bdc_uspc_disconnected()
189 bdc->gadget_driver->suspend) { in handle_link_state_change()
193 bdc->gadget_driver->suspend(&bdc->gadget); in handle_link_state_change()
221 bdc->gadget_driver->resume(&bdc->gadget); in handle_link_state_change()
372 if (bdc->gadget_driver) { in bdc_udc_start()
375 bdc->gadget_driver->driver.name); in bdc_udc_start()
389 bdc->gadget_driver = driver; in bdc_udc_start()
405 bdc->gadget_driver = NULL; in bdc_udc_stop()
Dbdc.h406 struct usb_gadget_driver *gadget_driver; member
Dbdc_ep.c1502 ret = bdc->gadget_driver->setup(&bdc->gadget, setup_pkt); in handle_control_request()
1877 if (!bdc->gadget_driver in bdc_gadget_ep_enable()
/kernel/linux/linux-5.10/drivers/usb/gadget/
Dconfigfs.c235 udc_name = gi->composite.gadget_driver.udc_name; in gadget_dev_desc_UDC_show()
246 if (!gi->composite.gadget_driver.udc_name) in unregister_gadget()
249 ret = usb_gadget_unregister_driver(&gi->composite.gadget_driver); in unregister_gadget()
252 kfree(gi->composite.gadget_driver.udc_name); in unregister_gadget()
253 gi->composite.gadget_driver.udc_name = NULL; in unregister_gadget()
281 if (gi->composite.gadget_driver.udc_name) { in gadget_dev_desc_UDC_store()
285 gi->composite.gadget_driver.udc_name = name; in gadget_dev_desc_UDC_store()
286 ret = usb_gadget_probe_driver(&gi->composite.gadget_driver); in gadget_dev_desc_UDC_store()
288 gi->composite.gadget_driver.udc_name = NULL; in gadget_dev_desc_UDC_store()
316 if (gi->composite.gadget_driver.udc_name) in gadget_dev_desc_max_speed_store()
[all …]
Dcomposite.c2430 struct usb_gadget_driver *gadget_driver; in usb_composite_probe() local
2438 driver->gadget_driver = composite_driver_template; in usb_composite_probe()
2439 gadget_driver = &driver->gadget_driver; in usb_composite_probe()
2441 gadget_driver->function = (char *) driver->name; in usb_composite_probe()
2442 gadget_driver->driver.name = driver->name; in usb_composite_probe()
2443 gadget_driver->max_speed = driver->max_speed; in usb_composite_probe()
2445 return usb_gadget_probe_driver(gadget_driver); in usb_composite_probe()
2458 usb_gadget_unregister_driver(&driver->gadget_driver); in usb_composite_unregister()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_gadget.c1847 musb->gadget_driver = driver; in musb_gadget_start()
1903 musb->gadget_driver = NULL; in musb_gadget_stop()
1935 if (musb->gadget_driver && musb->gadget_driver->resume) { in musb_g_resume()
1937 musb->gadget_driver->resume(&musb->g); in musb_g_resume()
1962 if (musb->gadget_driver && musb->gadget_driver->suspend) { in musb_g_suspend()
1964 musb->gadget_driver->suspend(&musb->g); in musb_g_suspend()
1998 if (musb->gadget_driver && musb->gadget_driver->disconnect) { in musb_g_disconnect()
2000 musb->gadget_driver->disconnect(&musb->g); in musb_g_disconnect()
2039 musb->gadget_driver in musb_g_reset()
2040 ? musb->gadget_driver->driver.name in musb_g_reset()
[all …]
Dmusb_gadget_ep0.c628 if (!musb->gadget_driver) in forward_to_driver()
631 retval = musb->gadget_driver->setup(&musb->g, ctrlrequest); in forward_to_driver()
Dmusb_core.h409 struct usb_gadget_driver *gadget_driver; /* its driver */ member
Domap2430.c120 if (musb->gadget_driver) { in omap_musb_set_mailbox()
Dtusb6010.c482 if (!musb->gadget_driver) { in musb_do_idle()
/kernel/linux/linux-5.10/drivers/usb/dwc3/
Dgadget.c2411 if (dwc->gadget_driver) { in dwc3_gadget_start()
2414 dwc->gadget_driver->driver.name); in dwc3_gadget_start()
2419 dwc->gadget_driver = driver; in dwc3_gadget_start()
2445 dwc->gadget_driver = NULL; in dwc3_gadget_stop()
3241 if (dwc->gadget_driver && dwc->gadget_driver->disconnect) { in dwc3_disconnect_gadget()
3243 dwc->gadget_driver->disconnect(dwc->gadget); in dwc3_disconnect_gadget()
3250 if (dwc->gadget_driver && dwc->gadget_driver->suspend) { in dwc3_suspend_gadget()
3252 dwc->gadget_driver->suspend(dwc->gadget); in dwc3_suspend_gadget()
3259 if (dwc->gadget_driver && dwc->gadget_driver->resume) { in dwc3_resume_gadget()
3261 dwc->gadget_driver->resume(dwc->gadget); in dwc3_resume_gadget()
[all …]
Dep0.c603 ret = dwc->gadget_driver->setup(dwc->gadget, ctrl); in dwc3_ep0_delegate_req()
798 if (!dwc->gadget_driver) in dwc3_ep0_inspect_setup()
Dcore.h1094 struct usb_gadget_driver *gadget_driver; member
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dgadget.c1760 if (priv_dev->gadget_driver && priv_dev->gadget_driver->disconnect) in cdns3_disconnect_gadget()
1761 priv_dev->gadget_driver->disconnect(&priv_dev->gadget); in cdns3_disconnect_gadget()
1806 if (priv_dev->gadget_driver && in cdns3_check_usb_interrupt_proceed()
1807 priv_dev->gadget_driver->suspend) { in cdns3_check_usb_interrupt_proceed()
1809 priv_dev->gadget_driver->suspend(&priv_dev->gadget); in cdns3_check_usb_interrupt_proceed()
1815 if (priv_dev->gadget_driver && in cdns3_check_usb_interrupt_proceed()
1816 priv_dev->gadget_driver->resume) { in cdns3_check_usb_interrupt_proceed()
1818 priv_dev->gadget_driver->resume(&priv_dev->gadget); in cdns3_check_usb_interrupt_proceed()
1825 if (priv_dev->gadget_driver) { in cdns3_check_usb_interrupt_proceed()
1828 priv_dev->gadget_driver); in cdns3_check_usb_interrupt_proceed()
[all …]
Dep0.c90 ret = priv_dev->gadget_driver->setup(&priv_dev->gadget, ctrl_req); in cdns3_ep0_delegate_req()
Dgadget.h1290 struct usb_gadget_driver *gadget_driver; member
/kernel/linux/linux-5.10/include/linux/usb/
Dcomposite.h403 struct usb_gadget_driver gadget_driver; member
433 return container_of(gdrv, struct usb_composite_driver, gadget_driver); in to_cdriver()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch15058 if (!gi->composite.gadget_driver.function)
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch54585 struct usb_gadget_driver *gadget_driver;
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch62596 if (!gi->composite.gadget_driver.function)
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch356823 struct usb_gadget_driver *gadget_driver;