Home
last modified time | relevance | path

Searched refs:USB_STATE_ADDRESS (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/usb/cdns3/
H A Dcdnsp-ep0.c63 case USB_STATE_ADDRESS: in cdnsp_ep0_set_config()
79 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()
H A Dcdns3-ep0.c144 case USB_STATE_ADDRESS: in cdns3_req_ep0_set_configuration()
168 USB_STATE_ADDRESS); in cdns3_req_ep0_set_configuration()
208 (addr ? USB_STATE_ADDRESS : USB_STATE_DEFAULT)); in cdns3_req_ep0_set_address()
431 if (priv_dev->gadget.state < USB_STATE_ADDRESS) in cdns3_req_ep0_set_sel()
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-ep0.c127 if (state < USB_STATE_ADDRESS) { in cdns2_req_ep0_set_configuration()
139 usb_gadget_set_state(&pdev->gadget, USB_STATE_ADDRESS); in cdns2_req_ep0_set_configuration()
166 (addr ? USB_STATE_ADDRESS : USB_STATE_DEFAULT)); in cdns2_req_ep0_set_address()
/linux/drivers/usb/mtu3/
H A Dmtu3_gadget_ep0.c464 usb_gadget_set_state(&mtu->g, USB_STATE_ADDRESS); in handle_standard_request()
471 if (state == USB_STATE_ADDRESS) { in handle_standard_request()
481 USB_STATE_ADDRESS); in handle_standard_request()
/linux/drivers/usb/common/
H A Dcommon.c163 [USB_STATE_ADDRESS] = "addressed", in usb_state_string()
/linux/drivers/usb/isp1760/
H A Disp1760-udc.c567 udc->gadget.state != USB_STATE_ADDRESS) { in isp1760_udc_set_address()
573 usb_gadget_set_state(&udc->gadget, addr ? USB_STATE_ADDRESS : in isp1760_udc_set_address()
684 if (udc->gadget.state != USB_STATE_ADDRESS && in isp1760_ep0_setup_standard()
693 USB_STATE_CONFIGURED : USB_STATE_ADDRESS); in isp1760_ep0_setup_standard()
/linux/drivers/usb/dwc3/
H A Dep0.c618 usb_gadget_set_state(dwc->gadget, USB_STATE_ADDRESS); in dwc3_ep0_set_address()
650 case USB_STATE_ADDRESS: in dwc3_ep0_set_config()
685 USB_STATE_ADDRESS); in dwc3_ep0_set_config()
/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_ep.c1122 case USB_STATE_ADDRESS: in ep0_set_address()
1129 usb_gadget_set_state(&bdc->gadget, USB_STATE_ADDRESS); in ep0_set_address()
1451 if (state == USB_STATE_ADDRESS) { in handle_control_request()
1463 USB_STATE_ADDRESS); in handle_control_request()
/linux/drivers/usb/core/
H A Dmessage.c1435 usb_set_device_state(dev, USB_STATE_ADDRESS); in usb_disable_device()
2065 if (dev->state != USB_STATE_ADDRESS) in usb_set_configuration()
2172 usb_set_device_state(dev, USB_STATE_ADDRESS); in usb_set_configuration()
H A Dhcd.c966 usb_set_device_state(usb_dev, USB_STATE_ADDRESS); in register_root_hub()
2337 : USB_STATE_ADDRESS); in hcd_bus_resume()
H A Ddevio.c885 && ps->dev->state != USB_STATE_ADDRESS in check_ctrlrecip()
/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c1746 xudc->device_state = USB_STATE_ADDRESS; in __tegra_xudc_ep_disable()
1834 if (xudc->device_state == USB_STATE_ADDRESS) { in __tegra_xudc_ep_enable()
2357 ((xudc->device_state == USB_STATE_ADDRESS) && in tegra_xudc_ep0_set_feature()
2418 ((xudc->device_state != USB_STATE_ADDRESS) || (ep != 0))) in tegra_xudc_ep0_get_status()
2491 xudc->device_state = USB_STATE_ADDRESS; in set_address_complete()
2493 } else if ((xudc->device_state == USB_STATE_ADDRESS) && in set_address_complete()
H A Dmv_udc_core.c1519 udc->usb_state = USB_STATE_ADDRESS; in ch9setaddress()
1621 && udc->usb_state != USB_STATE_ADDRESS in ch9setfeature()
1726 if (udc->usb_state == USB_STATE_ADDRESS) { in ep0_req_complete()
H A Dgr_udc.c897 usb_gadget_set_state(&dev->gadget, USB_STATE_ADDRESS); in gr_device_request()
1143 usb_gadget_set_state(&dev->gadget, USB_STATE_ADDRESS); in gr_ep0_setup()
H A Dfsl_udc_core.c1324 udc->usb_state = USB_STATE_ADDRESS; in ch9setaddress()
1527 if (udc->usb_state == USB_STATE_ADDRESS) { in ep0_req_complete()
H A Dfsl_qe_udc.c1929 udc->usb_state = USB_STATE_ADDRESS; in ch9setaddress()
2177 if ((udc->usb_state == USB_STATE_ADDRESS) in tx_irq()
H A Drenesas_usbf.c2361 usb_gadget_set_state(&ep->udc->gadget, USB_STATE_ADDRESS); in usbf_ep0_req_set_address_complete()
2437 usb_gadget_set_state(&udc->gadget, USB_STATE_ADDRESS); in usbf_req_set_configuration()
/linux/include/uapi/linux/usb/
H A Dch9.h1207 USB_STATE_ADDRESS, enumerator
/linux/drivers/usb/host/
H A Dr8a66597-hcd.c348 dev->state = USB_STATE_ADDRESS; in make_r8a66597_device()
379 if (dev && dev->state >= USB_STATE_ADDRESS) in alloc_usb_address()
/linux/drivers/usb/chipidea/
H A Dudc.c1065 usb_gadget_set_state(&ci->gadget, USB_STATE_ADDRESS); in isr_setup_status_complete()