Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/cdns3/
Dcdnsp-ep0.c79 usb_gadget_set_state(&pdev->gadget, USB_STATE_ADDRESS); in cdnsp_ep0_set_config()
120 usb_gadget_set_state(&pdev->gadget, USB_STATE_ADDRESS); in cdnsp_ep0_set_address()
122 usb_gadget_set_state(&pdev->gadget, USB_STATE_DEFAULT); in cdnsp_ep0_set_address()
Dcdns3-ep0.c167 usb_gadget_set_state(&priv_dev->gadget, in cdns3_req_ep0_set_configuration()
207 usb_gadget_set_state(&priv_dev->gadget, in cdns3_req_ep0_set_address()
734 usb_gadget_set_state(&priv_dev->gadget, USB_STATE_CONFIGURED); in cdns3_gadget_ep0_queue()
Dcdns3-gadget.c1790 usb_gadget_set_state(&priv_dev->gadget, USB_STATE_POWERED); in cdns3_check_usb_interrupt_proceed()
1800 usb_gadget_set_state(&priv_dev->gadget, USB_STATE_NOTATTACHED); in cdns3_check_usb_interrupt_proceed()
3354 usb_gadget_set_state(&priv_dev->gadget, USB_STATE_NOTATTACHED); in cdns3_gadget_suspend()
Dcdnsp-gadget.c1715 usb_gadget_set_state(&pdev->gadget, USB_STATE_NOTATTACHED); in cdnsp_disconnect_gadget()
1770 usb_gadget_set_state(&pdev->gadget, USB_STATE_DEFAULT); in cdnsp_irq_reset()
Dcdnsp-ring.c864 usb_gadget_set_state(&pdev->gadget, USB_STATE_ATTACHED); in cdnsp_handle_port_status()
/linux-5.19.10/drivers/usb/dwc3/
Dep0.c134 usb_gadget_set_state(dwc->gadget, USB_STATE_CONFIGURED); in __dwc3_gadget_ep0_queue()
605 usb_gadget_set_state(dwc->gadget, USB_STATE_ADDRESS); in dwc3_ep0_set_address()
607 usb_gadget_set_state(dwc->gadget, USB_STATE_DEFAULT); in dwc3_ep0_set_address()
651 usb_gadget_set_state(dwc->gadget, in dwc3_ep0_set_config()
670 usb_gadget_set_state(dwc->gadget, in dwc3_ep0_set_config()
1156 usb_gadget_set_state(dwc->gadget, in dwc3_ep0_xfernotready()
Dgadget.c3769 usb_gadget_set_state(dwc->gadget, USB_STATE_NOTATTACHED); in dwc3_gadget_disconnect_interrupt()
/linux-5.19.10/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c125 usb_gadget_set_state(&bdc->gadget, USB_STATE_DEFAULT); in bdc_uspc_connected()
256 usb_gadget_set_state(&bdc->gadget, USB_STATE_POWERED); in bdc_sr_uspc()
552 usb_gadget_set_state(&bdc->gadget, USB_STATE_NOTATTACHED); in bdc_udc_init()
Dbdc_ep.c1129 usb_gadget_set_state(&bdc->gadget, USB_STATE_ADDRESS); in ep0_set_address()
1131 usb_gadget_set_state(&bdc->gadget, USB_STATE_DEFAULT); in ep0_set_address()
1452 usb_gadget_set_state(&bdc->gadget, in handle_control_request()
1461 usb_gadget_set_state( in handle_control_request()
/linux-5.19.10/drivers/usb/gadget/udc/
Dgr_udc.c785 usb_gadget_set_state(&dev->gadget, USB_STATE_NOTATTACHED); in gr_stop_activity()
898 usb_gadget_set_state(&dev->gadget, USB_STATE_ADDRESS); in gr_device_request()
900 usb_gadget_set_state(&dev->gadget, USB_STATE_DEFAULT); in gr_device_request()
1144 usb_gadget_set_state(&dev->gadget, USB_STATE_ADDRESS); in gr_ep0_setup()
1148 usb_gadget_set_state(&dev->gadget, in gr_ep0_setup()
1174 usb_gadget_set_state(&dev->gadget, USB_STATE_POWERED); in gr_vbus_connected()
1219 usb_gadget_set_state(&dev->gadget, USB_STATE_DEFAULT); in gr_udc_usbreset()
1359 usb_gadget_set_state(&dev->gadget, USB_STATE_SUSPENDED); in gr_handle_state_changes()
1379 usb_gadget_set_state(&dev->gadget, dev->suspended_from); in gr_handle_state_changes()
Dcore.c1044 void usb_gadget_set_state(struct usb_gadget *gadget, in usb_gadget_set_state() function
1050 EXPORT_SYMBOL_GPL(usb_gadget_set_state);
1095 usb_gadget_set_state(gadget, USB_STATE_DEFAULT); in usb_gadget_udc_reset()
1309 usb_gadget_set_state(gadget, USB_STATE_NOTATTACHED); in usb_add_gadget()
Dtegra-xudc.c1737 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in __tegra_xudc_ep_disable()
1830 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in __tegra_xudc_ep_enable()
1982 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in tegra_xudc_resume_device_state()
2086 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in tegra_xudc_gadget_start()
2483 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in set_address_complete()
2487 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in set_address_complete()
2802 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in tegra_xudc_reset()
2862 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in tegra_xudc_port_connect()
2913 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in tegra_xudc_port_disconnect()
2937 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in tegra_xudc_port_suspend()
Dmax3420_udc.c508 usb_gadget_set_state(&udc->gadget, udc->vbus_active in max3420_vbus_handler()
1277 usb_gadget_set_state(&udc->gadget, USB_STATE_POWERED); in max3420_probe()
Drenesas_usb3.c786 usb_gadget_set_state(&usb3->gadget, USB_STATE_SUSPENDED); in usb3_irq_epc_int_1_suspend()
/linux-5.19.10/drivers/usb/mtu3/
Dmtu3_gadget_ep0.c464 usb_gadget_set_state(&mtu->g, USB_STATE_ADDRESS); in handle_standard_request()
466 usb_gadget_set_state(&mtu->g, USB_STATE_DEFAULT); in handle_standard_request()
472 usb_gadget_set_state(&mtu->g, in handle_standard_request()
480 usb_gadget_set_state(&mtu->g, in handle_standard_request()
Dmtu3_gadget.c728 usb_gadget_set_state(&mtu->g, USB_STATE_NOTATTACHED); in mtu3_gadget_disconnect()
/linux-5.19.10/drivers/usb/isp1760/
Disp1760-udc.c573 usb_gadget_set_state(&udc->gadget, addr ? USB_STATE_ADDRESS : in isp1760_udc_set_address()
692 usb_gadget_set_state(&udc->gadget, req->wValue ? in isp1760_ep0_setup_standard()
1129 usb_gadget_set_state(&udc->gadget, USB_STATE_POWERED); in isp1760_udc_connect()
1143 usb_gadget_set_state(&udc->gadget, USB_STATE_ATTACHED); in isp1760_udc_disconnect()
1296 usb_gadget_set_state(&udc->gadget, USB_STATE_ATTACHED); in isp1760_udc_start()
/linux-5.19.10/drivers/usb/chipidea/
Dudc.c1058 usb_gadget_set_state(&ci->gadget, USB_STATE_ADDRESS); in isr_setup_status_complete()
1670 usb_gadget_set_state(_gadget, USB_STATE_POWERED); in ci_hdrc_gadget_connect()
1686 usb_gadget_set_state(_gadget, USB_STATE_NOTATTACHED); in ci_hdrc_gadget_connect()
2030 usb_gadget_set_state(&ci->gadget, in udc_irq()
2047 usb_gadget_set_state(&ci->gadget, in udc_irq()
/linux-5.19.10/include/linux/usb/
Dgadget.h893 extern void usb_gadget_set_state(struct usb_gadget *gadget,
/linux-5.19.10/drivers/usb/renesas_usbhs/
Dmod_gadget.c470 usb_gadget_set_state(&gpriv->gadget, USB_STATE_SUSPENDED); in usbhsg_irq_dev_state()
/linux-5.19.10/drivers/usb/gadget/legacy/
Draw_gadget.c1146 usb_gadget_set_state(dev->gadget, USB_STATE_CONFIGURED); in raw_ioctl_configure()
Dinode.c1451 usb_gadget_set_state(gadget, USB_STATE_CONFIGURED); in gadgetfs_setup()
/linux-5.19.10/drivers/usb/gadget/
Dcomposite.c901 usb_gadget_set_state(gadget, USB_STATE_CONFIGURED); in set_config()
/linux-5.19.10/drivers/usb/dwc2/
Dgadget.c3335 usb_gadget_set_state(&hsotg->gadget, USB_STATE_NOTATTACHED); in dwc2_hsotg_disconnect()