/Linux-v5.15/drivers/usb/mtu3/ |
D | mtu3_gadget.c | 496 if (mtu->gadget_driver) { in mtu3_gadget_start() 498 mtu->g.name, mtu->gadget_driver->driver.name); in mtu3_gadget_start() 508 mtu->gadget_driver = driver; in mtu3_gadget_start() 521 struct usb_gadget_driver *driver = mtu->gadget_driver; in stop_activity() 563 mtu->gadget_driver = NULL; in mtu3_gadget_stop() 691 if (mtu->gadget_driver && mtu->gadget_driver->resume) { in mtu3_gadget_resume() 693 mtu->gadget_driver->resume(&mtu->g); in mtu3_gadget_resume() 702 if (mtu->gadget_driver && mtu->gadget_driver->suspend) { in mtu3_gadget_suspend() 704 mtu->gadget_driver->suspend(&mtu->g); in mtu3_gadget_suspend() 713 if (mtu->gadget_driver && mtu->gadget_driver->disconnect) { in mtu3_gadget_disconnect() [all …]
|
D | mtu3.h | 343 struct usb_gadget_driver *gadget_driver; member
|
D | mtu3_gadget_ep0.c | 69 if (!mtu->gadget_driver) in forward_to_driver() 73 ret = mtu->gadget_driver->setup(&mtu->g, setup); in forward_to_driver()
|
D | mtu3_core.c | 1032 if (!mtu->gadget_driver) in ssusb_gadget_suspend() 1048 if (!mtu->gadget_driver) in ssusb_gadget_resume()
|
/Linux-v5.15/drivers/usb/gadget/udc/bdc/ |
D | bdc_udc.c | 143 if (bdc->gadget_driver && bdc->gadget_driver->disconnect) { in bdc_uspc_disconnected() 145 bdc->gadget_driver->disconnect(&bdc->gadget); in bdc_uspc_disconnected() 188 bdc->gadget_driver->suspend) { in handle_link_state_change() 192 bdc->gadget_driver->suspend(&bdc->gadget); in handle_link_state_change() 220 bdc->gadget_driver->resume(&bdc->gadget); in handle_link_state_change() 371 if (bdc->gadget_driver) { in bdc_udc_start() 374 bdc->gadget_driver->driver.name); in bdc_udc_start() 388 bdc->gadget_driver = driver; in bdc_udc_start() 404 bdc->gadget_driver = NULL; in bdc_udc_stop()
|
D | bdc.h | 406 struct usb_gadget_driver *gadget_driver; member
|
D | bdc_ep.c | 1502 ret = bdc->gadget_driver->setup(&bdc->gadget, setup_pkt); in handle_control_request() 1877 if (!bdc->gadget_driver in bdc_gadget_ep_enable()
|
/Linux-v5.15/drivers/usb/gadget/ |
D | configfs.c | 235 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 …]
|
D | composite.c | 2463 struct usb_gadget_driver *gadget_driver; in usb_composite_probe() local 2471 driver->gadget_driver = composite_driver_template; in usb_composite_probe() 2472 gadget_driver = &driver->gadget_driver; in usb_composite_probe() 2474 gadget_driver->function = (char *) driver->name; in usb_composite_probe() 2475 gadget_driver->driver.name = driver->name; in usb_composite_probe() 2476 gadget_driver->max_speed = driver->max_speed; in usb_composite_probe() 2478 return usb_gadget_probe_driver(gadget_driver); in usb_composite_probe() 2491 usb_gadget_unregister_driver(&driver->gadget_driver); in usb_composite_unregister()
|
/Linux-v5.15/drivers/usb/musb/ |
D | musb_gadget.c | 1844 musb->gadget_driver = driver; in musb_gadget_start() 1900 musb->gadget_driver = NULL; in musb_gadget_stop() 1932 if (musb->gadget_driver && musb->gadget_driver->resume) { in musb_g_resume() 1934 musb->gadget_driver->resume(&musb->g); in musb_g_resume() 1959 if (musb->gadget_driver && musb->gadget_driver->suspend) { in musb_g_suspend() 1961 musb->gadget_driver->suspend(&musb->g); in musb_g_suspend() 1995 if (musb->gadget_driver && musb->gadget_driver->disconnect) { in musb_g_disconnect() 1997 musb->gadget_driver->disconnect(&musb->g); in musb_g_disconnect() 2036 musb->gadget_driver in musb_g_reset() 2037 ? musb->gadget_driver->driver.name in musb_g_reset() [all …]
|
D | musb_gadget_ep0.c | 628 if (!musb->gadget_driver) in forward_to_driver() 631 retval = musb->gadget_driver->setup(&musb->g, ctrlrequest); in forward_to_driver()
|
D | musb_core.h | 409 struct usb_gadget_driver *gadget_driver; /* its driver */ member
|
D | omap2430.c | 123 if (musb->gadget_driver) { in omap_musb_set_mailbox()
|
D | tusb6010.c | 483 if (!musb->gadget_driver) { in musb_do_idle()
|
/Linux-v5.15/drivers/usb/cdns3/ |
D | cdnsp-gadget.c | 1325 pdev->gadget_driver = driver; in cdnsp_gadget_udc_start() 1478 pdev->gadget_driver = NULL; in cdnsp_gadget_udc_stop() 1699 if (pdev->gadget_driver && pdev->gadget_driver->disconnect) { in cdnsp_disconnect_gadget() 1701 pdev->gadget_driver->disconnect(&pdev->gadget); in cdnsp_disconnect_gadget() 1713 if (pdev->gadget_driver && pdev->gadget_driver->suspend) { in cdnsp_suspend_gadget() 1715 pdev->gadget_driver->suspend(&pdev->gadget); in cdnsp_suspend_gadget() 1722 if (pdev->gadget_driver && pdev->gadget_driver->resume) { in cdnsp_resume_gadget() 1724 pdev->gadget_driver->resume(&pdev->gadget); in cdnsp_resume_gadget() 1739 usb_gadget_udc_reset(&pdev->gadget, pdev->gadget_driver); in cdnsp_irq_reset() 1979 if (!pdev->gadget_driver) in cdnsp_gadget_resume() [all …]
|
D | cdns3-gadget.c | 1769 if (priv_dev->gadget_driver && priv_dev->gadget_driver->disconnect) in cdns3_disconnect_gadget() 1770 priv_dev->gadget_driver->disconnect(&priv_dev->gadget); in cdns3_disconnect_gadget() 1815 if (priv_dev->gadget_driver && in cdns3_check_usb_interrupt_proceed() 1816 priv_dev->gadget_driver->suspend) { in cdns3_check_usb_interrupt_proceed() 1818 priv_dev->gadget_driver->suspend(&priv_dev->gadget); in cdns3_check_usb_interrupt_proceed() 1824 if (priv_dev->gadget_driver && in cdns3_check_usb_interrupt_proceed() 1825 priv_dev->gadget_driver->resume) { in cdns3_check_usb_interrupt_proceed() 1827 priv_dev->gadget_driver->resume(&priv_dev->gadget); in cdns3_check_usb_interrupt_proceed() 1834 if (priv_dev->gadget_driver) { in cdns3_check_usb_interrupt_proceed() 1837 priv_dev->gadget_driver); in cdns3_check_usb_interrupt_proceed() [all …]
|
D | cdnsp-ep0.c | 47 ret = pdev->gadget_driver->setup(&pdev->gadget, ctrl); in cdnsp_ep0_delegate_req() 436 if (!pdev->gadget_driver) in cdnsp_setup_analyze()
|
D | cdns3-ep0.c | 90 ret = priv_dev->gadget_driver->setup(&priv_dev->gadget, ctrl_req); in cdns3_ep0_delegate_req()
|
D | cdns3-gadget.h | 1292 struct usb_gadget_driver *gadget_driver; member
|
D | cdnsp-gadget.h | 1395 struct usb_gadget_driver *gadget_driver; member
|
/Linux-v5.15/include/linux/usb/ |
D | composite.h | 403 struct usb_gadget_driver gadget_driver; member 433 return container_of(gdrv, struct usb_composite_driver, gadget_driver); in to_cdriver()
|
/Linux-v5.15/drivers/usb/dwc3/ |
D | gadget.c | 2676 dwc->gadget_driver = driver; in dwc3_gadget_start() 2695 dwc->gadget_driver = NULL; in dwc3_gadget_stop() 3487 if (dwc->async_callbacks && dwc->gadget_driver->disconnect) { in dwc3_disconnect_gadget() 3489 dwc->gadget_driver->disconnect(dwc->gadget); in dwc3_disconnect_gadget() 3496 if (dwc->async_callbacks && dwc->gadget_driver->suspend) { in dwc3_suspend_gadget() 3498 dwc->gadget_driver->suspend(dwc->gadget); in dwc3_suspend_gadget() 3505 if (dwc->async_callbacks && dwc->gadget_driver->resume) { in dwc3_resume_gadget() 3507 dwc->gadget_driver->resume(dwc->gadget); in dwc3_resume_gadget() 3514 if (!dwc->gadget_driver) in dwc3_reset_gadget() 3519 usb_gadget_udc_reset(dwc->gadget, dwc->gadget_driver); in dwc3_reset_gadget() [all …]
|
D | ep0.c | 604 ret = dwc->gadget_driver->setup(dwc->gadget, ctrl); in dwc3_ep0_delegate_req() 802 if (!dwc->gadget_driver) in dwc3_ep0_inspect_setup()
|
D | core.h | 1119 struct usb_gadget_driver *gadget_driver; member
|