Home
last modified time | relevance | path

Searched refs:USB_STATE_CONFIGURED (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-ep0.c66 case USB_STATE_CONFIGURED: in cdnsp_ep0_set_config()
102 if (state == USB_STATE_CONFIGURED) { in cdnsp_ep0_set_address()
219 if (state != USB_STATE_CONFIGURED || speed < USB_SPEED_SUPER) in cdnsp_ep0_handle_feature_device()
226 if (state != USB_STATE_CONFIGURED || speed < USB_SPEED_SUPER) in cdnsp_ep0_handle_feature_device()
235 if (state != USB_STATE_CONFIGURED || speed > USB_SPEED_HIGH) in cdnsp_ep0_handle_feature_device()
H A Dcdns3-ep0.c151 case USB_STATE_CONFIGURED: in cdns3_req_ep0_set_configuration()
196 if (device_state == USB_STATE_CONFIGURED) { in cdns3_req_ep0_set_address()
293 if (state != USB_STATE_CONFIGURED || speed != USB_SPEED_SUPER) in cdns3_ep0_feature_handle_device()
299 if (state != USB_STATE_CONFIGURED || speed != USB_SPEED_SUPER) in cdns3_ep0_feature_handle_device()
308 if (state != USB_STATE_CONFIGURED || speed > USB_SPEED_HIGH) in cdns3_ep0_feature_handle_device()
734 usb_gadget_set_state(&priv_dev->gadget, USB_STATE_CONFIGURED); in cdns3_gadget_ep0_queue()
/openbmc/linux/drivers/usb/dwc3/
H A Dep0.c136 usb_gadget_set_state(dwc->gadget, USB_STATE_CONFIGURED); in __dwc3_gadget_ep0_queue()
409 if (state != USB_STATE_CONFIGURED) in dwc3_ep0_handle_u1()
433 if (state != USB_STATE_CONFIGURED) in dwc3_ep0_handle_u2()
607 if (state == USB_STATE_CONFIGURED) { in dwc3_ep0_set_address()
666 USB_STATE_CONFIGURED); in dwc3_ep0_set_config()
681 case USB_STATE_CONFIGURED: in dwc3_ep0_set_config()
1178 USB_STATE_CONFIGURED); in dwc3_ep0_xfernotready()
/openbmc/u-boot/drivers/usb/dwc3/
H A Dep0.c156 usb_gadget_set_state(&dwc->gadget, USB_STATE_CONFIGURED); in __dwc3_gadget_ep0_queue()
413 if (state != USB_STATE_CONFIGURED) in dwc3_ep0_handle_feature()
427 if (state != USB_STATE_CONFIGURED) in dwc3_ep0_handle_feature()
508 if (state == USB_STATE_CONFIGURED) { in dwc3_ep0_set_address()
563 USB_STATE_CONFIGURED); in dwc3_ep0_set_config()
578 case USB_STATE_CONFIGURED: in dwc3_ep0_set_config()
/openbmc/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-ep0.c156 if (device_state == USB_STATE_CONFIGURED) { in cdns2_req_ep0_set_address()
229 if (state != USB_STATE_CONFIGURED || speed > USB_SPEED_HIGH) in cdns2_ep0_handle_feature_device()
567 usb_gadget_set_state(&pdev->gadget, USB_STATE_CONFIGURED); in cdns2_gadget_ep0_queue()
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_gadget_ep0.c346 mtu->g.state != USB_STATE_CONFIGURED) in ep0_handle_feature_dev()
361 mtu->g.state != USB_STATE_CONFIGURED) in ep0_handle_feature_dev()
473 USB_STATE_CONFIGURED); in handle_standard_request()
474 } else if (state == USB_STATE_CONFIGURED) { in handle_standard_request()
/openbmc/linux/drivers/usb/common/
H A Dcommon.c165 [USB_STATE_CONFIGURED] = "configured", in usb_state_string()
/openbmc/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_ep.c1176 state != USB_STATE_CONFIGURED) in ep0_handle_feature_dev()
1198 state != USB_STATE_CONFIGURED) in ep0_handle_feature_dev()
1217 state != USB_STATE_CONFIGURED) in ep0_handle_feature_dev()
1453 USB_STATE_CONFIGURED); in handle_control_request()
1454 } else if (state == USB_STATE_CONFIGURED) { in handle_control_request()
/openbmc/u-boot/include/linux/usb/
H A Dch9.h983 USB_STATE_CONFIGURED, /* most functions */ enumerator
/openbmc/linux/drivers/usb/core/
H A Durb.c433 dev->state < USB_STATE_CONFIGURED) in usb_submit_urb()
H A Dhub.c509 if (hdev->state != USB_STATE_CONFIGURED || hub->quiescing) in led_work()
2146 else if (new_state == USB_STATE_CONFIGURED) in usb_set_device_state()
3581 ? USB_STATE_CONFIGURED in finish_port_resume()
4125 if (udev->state != USB_STATE_CONFIGURED) { in usb_set_device_initiated_lpm()
4399 udev->state < USB_STATE_CONFIGURED) in usb_disable_lpm()
4458 udev->state < USB_STATE_CONFIGURED) in usb_enable_lpm()
6184 usb_set_device_state(udev, USB_STATE_CONFIGURED); in usb_reset_and_verify_device()
H A Dmessage.c1432 if (dev->state == USB_STATE_CONFIGURED) in usb_disable_device()
2175 usb_set_device_state(dev, USB_STATE_CONFIGURED); in usb_set_configuration()
H A Ddevio.c840 if (ps->dev->state != USB_STATE_CONFIGURED) in checkintf()
886 && ps->dev->state != USB_STATE_CONFIGURED) in check_ctrlrecip()
2346 if (ps->dev->state != USB_STATE_CONFIGURED) in proc_ioctl()
H A Dhcd.c2029 if (dev->state < USB_STATE_CONFIGURED) in usb_alloc_streams()
2335 ? USB_STATE_CONFIGURED in hcd_bus_resume()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c1742 if ((xudc->device_state == USB_STATE_CONFIGURED) && in __tegra_xudc_ep_disable()
1839 xudc->device_state = USB_STATE_CONFIGURED; in __tegra_xudc_ep_enable()
2292 if ((xudc->device_state != USB_STATE_CONFIGURED) || in tegra_xudc_ep0_set_feature()
2330 if (xudc->device_state != USB_STATE_CONFIGURED) in tegra_xudc_ep0_set_feature()
2417 if ((xudc->device_state != USB_STATE_CONFIGURED) && in tegra_xudc_ep0_get_status()
2514 if (xudc->device_state == USB_STATE_CONFIGURED) in tegra_xudc_ep0_set_address()
H A Dgr_udc.c947 if (dev->gadget.state != USB_STATE_CONFIGURED) in gr_interface_request()
990 if (dev->gadget.state != USB_STATE_CONFIGURED && epnum != 0) in gr_endpoint_request()
1148 USB_STATE_CONFIGURED); in gr_ep0_setup()
H A Dmv_u3d_core.c1577 u3d->usb_state = USB_STATE_CONFIGURED; in mv_u3d_handle_setup_packet()
H A Dmv_udc_core.c1620 if (udc->usb_state != USB_STATE_CONFIGURED in ch9setfeature()
/openbmc/linux/drivers/usb/host/
H A Dr8a66597-hcd.c966 dev->state = USB_STATE_CONFIGURED; in init_pipe_config()
1817 if (dev && dev->address && dev->state != USB_STATE_CONFIGURED && in check_pipe_config()
1818 (urb->dev->state == USB_STATE_CONFIGURED)) in check_pipe_config()
2024 if (udev->state == USB_STATE_CONFIGURED && in collect_usb_address_map()
H A Duhci-q.c896 urb->dev->state != USB_STATE_CONFIGURED) in uhci_submit_control()
/openbmc/linux/include/uapi/linux/usb/
H A Dch9.h1202 USB_STATE_CONFIGURED, /* most functions */ enumerator
/openbmc/linux/drivers/usb/isp1760/
H A Disp1760-udc.c685 udc->gadget.state != USB_STATE_CONFIGURED) in isp1760_ep0_setup_standard()
693 USB_STATE_CONFIGURED : USB_STATE_ADDRESS); in isp1760_ep0_setup_standard()
/openbmc/u-boot/drivers/usb/gadget/
H A Dfotg210.c372 chip->state = USB_STATE_CONFIGURED; in fotg210_setup()
/openbmc/linux/drivers/usb/gadget/legacy/
H A Draw_gadget.c1154 usb_gadget_set_state(dev->gadget, USB_STATE_CONFIGURED); in raw_ioctl_configure()
H A Dinode.c1452 usb_gadget_set_state(gadget, USB_STATE_CONFIGURED); in gadgetfs_setup()

12