Home
last modified time | relevance | path

Searched refs:USB_SPEED_UNKNOWN (Results 1 – 25 of 83) sorted by relevance

1234

/openbmc/u-boot/drivers/usb/common/
H A Dcommon.c43 [USB_SPEED_UNKNOWN] = "UNKNOWN",
60 return USB_SPEED_UNKNOWN; in usb_get_maximum_speed()
67 return USB_SPEED_UNKNOWN; in usb_get_maximum_speed()
/openbmc/linux/drivers/usb/common/
H A Dcommon.c70 [USB_SPEED_UNKNOWN] = "UNKNOWN",
95 speed = USB_SPEED_UNKNOWN; in usb_speed_string()
115 return USB_SPEED_UNKNOWN; in usb_get_maximum_speed()
122 return (ret < 0) ? USB_SPEED_UNKNOWN : ret; in usb_get_maximum_speed()
/openbmc/linux/tools/usb/usbip/libsrc/
H A Dusbip_device_driver.c37 .speed = USB_SPEED_UNKNOWN,
99 dev->speed = USB_SPEED_UNKNOWN; in read_usb_vudc_device()
H A Dusbip_common.c26 { USB_SPEED_UNKNOWN, "unknown", "Unknown Speed"},
196 return USB_SPEED_UNKNOWN; in read_attr_speed()
/openbmc/u-boot/drivers/usb/gadget/
H A Ddwc2_udc_otg.c168 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_disable()
221 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_enable()
374 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
376 dev->gadget.speed = USB_SPEED_UNKNOWN; in stop_activity()
579 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) { in dwc2_ep_enable()
H A Dpxa25x_udc.c327 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) { in pxa25x_ep_enable()
745 || dev->gadget.speed == USB_SPEED_UNKNOWN)) { in pxa25x_ep_queue()
954 if (ep->dev->gadget.speed == USB_SPEED_UNKNOWN in pxa25x_ep_fifo_status()
1047 if (udc->gadget.speed != USB_SPEED_UNKNOWN) in pullup()
1121 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_disable()
1170 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_enable()
1535 if (dev->gadget.speed != USB_SPEED_UNKNOWN in pxa25x_udc_irq()
1548 if (dev->gadget.speed != USB_SPEED_UNKNOWN in pxa25x_udc_irq()
1982 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1984 dev->gadget.speed = USB_SPEED_UNKNOWN; in stop_activity()
H A Datmel_usba_udc.c287 if (udc->gadget.speed != USB_SPEED_UNKNOWN) in usba_ep_disable()
346 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN || in usba_ep_queue()
1078 if (udc->gadget.speed != USB_SPEED_UNKNOWN && in usba_udc_irq()
1094 if (udc->gadget.speed != USB_SPEED_UNKNOWN && in usba_udc_irq()
1121 if (udc->gadget.speed != USB_SPEED_UNKNOWN && in usba_udc_irq()
1123 udc->gadget.speed = USB_SPEED_UNKNOWN; in usba_udc_irq()
1179 udc->gadget.speed = USB_SPEED_UNKNOWN; in atmel_usba_stop()
H A Dat91_udc.c301 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in at91_ep_enable()
440 if (!udc || !udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in at91_ep_queue()
660 if (udc->gadget.speed == USB_SPEED_UNKNOWN) in reset_gadget()
662 udc->gadget.speed = USB_SPEED_UNKNOWN; in reset_gadget()
685 if (udc->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
687 udc->gadget.speed = USB_SPEED_UNKNOWN; in stop_activity()
716 udc->gadget.speed = USB_SPEED_UNKNOWN; in clk_off()
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Ddev.c104 d->gadget.speed = USB_SPEED_UNKNOWN; in ast_vhub_dev_disable()
238 if (d->gadget.speed == USB_SPEED_UNKNOWN) { in ast_vhub_std_dev_request()
454 d->gadget.speed = USB_SPEED_UNKNOWN; in ast_vhub_udc_stop()
591 d->gadget.speed = USB_SPEED_UNKNOWN; in ast_vhub_init_dev()
H A Dhub.c411 if (vhub->speed == USB_SPEED_UNKNOWN) { in ast_vhub_std_hub_request()
621 if (speed == USB_SPEED_UNKNOWN || speed > vhub->speed) in ast_vhub_port_reset()
868 if (vhub->speed == USB_SPEED_UNKNOWN) in ast_vhub_hub_reset()
875 vhub->speed = USB_SPEED_UNKNOWN; in ast_vhub_hub_reset()
1077 vhub->speed = USB_SPEED_UNKNOWN; in ast_vhub_init_hub()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dpxa25x_udc.c858 || dev->gadget.speed == USB_SPEED_UNKNOWN)) { in pxa25x_ep_queue()
1062 if (ep->dev->gadget.speed == USB_SPEED_UNKNOWN in pxa25x_ep_fifo_status()
1158 if (udc->gadget.speed != USB_SPEED_UNKNOWN) { in pullup()
1371 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_disable()
1416 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_enable()
1495 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in reset_gadget()
1497 dev->gadget.speed = USB_SPEED_UNKNOWN; in reset_gadget()
1522 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1524 dev->gadget.speed = USB_SPEED_UNKNOWN; in stop_activity()
1886 if (dev->gadget.speed != USB_SPEED_UNKNOWN in pxa25x_udc_irq()
[all …]
H A Dnet2272.c188 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_enable()
825 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_queue()
977 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_set_halt_and_wedge()
1032 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_fifo_status()
1052 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_fifo_flush()
1214 else if (dev->gadget.speed == USB_SPEED_UNKNOWN) in registers_show()
1335 dev->gadget.speed = USB_SPEED_UNKNOWN; in net2272_usb_reset()
1470 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1730 if (dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2272_handle_stat0_irqs()
1992 if (dev->gadget.speed != USB_SPEED_UNKNOWN) { in net2272_handle_stat1_irqs()
H A Dpxa27x_udc.c1070 if (unlikely(!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN)) { in pxa_ep_queue()
1260 if (ep->dev->gadget.speed == USB_SPEED_UNKNOWN || ep_is_empty(ep)) in pxa_ep_fifo_status()
1355 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in pxa_ep_enable()
1644 udc->gadget.speed = USB_SPEED_UNKNOWN; in udc_disable()
1784 udc->gadget.speed = USB_SPEED_UNKNOWN; in stop_activity()
2188 if (udc->gadget.speed != USB_SPEED_UNKNOWN in irq_udc_suspend()
2203 if (udc->gadget.speed != USB_SPEED_UNKNOWN in irq_udc_resume()
H A Dat91_udc.c490 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in at91_ep_enable()
629 if (!udc || !udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in at91_ep_queue()
854 if (udc->gadget.speed == USB_SPEED_UNKNOWN) in reset_gadget()
856 udc->gadget.speed = USB_SPEED_UNKNOWN; in reset_gadget()
879 if (udc->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
881 udc->gadget.speed = USB_SPEED_UNKNOWN; in stop_activity()
913 udc->gadget.speed = USB_SPEED_UNKNOWN; in clk_off()
H A Dnet2280.c200 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2280_enable()
1004 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2280_queue()
1333 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2280_set_halt_and_wedge()
1406 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2280_fifo_status()
1432 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2280_fifo_flush()
1694 else if (dev->gadget.speed == USB_SPEED_UNKNOWN) in registers_show()
2061 dev->gadget.speed = USB_SPEED_UNKNOWN; in usb_reset_228x()
2097 dev->gadget.speed = USB_SPEED_UNKNOWN; in usb_reset_338x()
2460 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
3112 if (dev->gadget.speed == USB_SPEED_UNKNOWN) { in handle_stat0_irqs()
[all …]
H A Dgoku_udc.c106 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in goku_ep_enable()
728 if (unlikely(!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN)) in goku_queue()
1261 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_reinit()
1591 if (dev->gadget.speed != USB_SPEED_UNKNOWN in goku_irq()
1606 if (dev->gadget.speed != USB_SPEED_UNKNOWN in goku_irq()
/openbmc/linux/drivers/usb/gadget/legacy/
H A Dzero.c168 if (g->speed != USB_SPEED_UNKNOWN) { in zero_autoresume()
176 if (cdev->gadget->speed == USB_SPEED_UNKNOWN) in zero_suspend()
/openbmc/linux/tools/usb/
H A Dtestusb.c97 USB_SPEED_UNKNOWN = 0, /* enumerating */ enumerator
110 case USB_SPEED_UNKNOWN: return "unknown"; in speed()
/openbmc/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_udc.c149 bdc->gadget.speed = USB_SPEED_UNKNOWN; in bdc_uspc_disconnected()
188 if ((bdc->gadget.speed != USB_SPEED_UNKNOWN) && in handle_link_state_change()
526 bdc->gadget.speed = USB_SPEED_UNKNOWN; in bdc_udc_init()
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_gadget.c550 if (mtu->g.speed == USB_SPEED_UNKNOWN) in stop_activity()
553 mtu->g.speed = USB_SPEED_UNKNOWN; in stop_activity()
710 mtu->g.speed = USB_SPEED_UNKNOWN; in mtu3_gadget_setup()
767 if (mtu->g.speed != USB_SPEED_UNKNOWN) in mtu3_gadget_reset()
H A Dmtu3_core.c713 udev_speed = USB_SPEED_UNKNOWN; in mtu3_link_isr()
723 mtu->connected = !!(udev_speed != USB_SPEED_UNKNOWN); in mtu3_link_isr()
725 if (udev_speed == USB_SPEED_UNKNOWN) { in mtu3_link_isr()
839 case USB_SPEED_UNKNOWN: in mtu3_check_params()
/openbmc/linux/drivers/usb/chipidea/
H A Dudc.c857 ci->gadget.speed = USB_SPEED_UNKNOWN; in _gadget_stop_activity()
882 if (ci->gadget.speed != USB_SPEED_UNKNOWN) in isr_reset_handler()
1442 if (hwep->ci->gadget.speed == USB_SPEED_UNKNOWN) { in ep_disable()
1535 if (hwep->ci->gadget.speed == USB_SPEED_UNKNOWN) { in ep_queue()
1562 if (hwep->ci->gadget.speed != USB_SPEED_UNKNOWN) in ep_dequeue()
1634 if (hwep->ci->gadget.speed == USB_SPEED_UNKNOWN) { in ep_fifo_flush()
1747 if (ci->gadget.speed == USB_SPEED_UNKNOWN) { in ci_udc_wakeup()
2071 if (ci->gadget.speed != USB_SPEED_UNKNOWN && in udc_irq()
2100 ci->gadget.speed = USB_SPEED_UNKNOWN; in udc_start()
/openbmc/linux/drivers/usb/fotg210/
H A Dfotg210-udc.c76 if (ep->fotg210->gadget.speed == USB_SPEED_UNKNOWN) in fotg210_done()
415 if (ep->fotg210->gadget.speed == USB_SPEED_UNKNOWN) in fotg210_ep_queue()
779 if (fotg210->gadget.speed == USB_SPEED_UNKNOWN) { in fotg210_setup_packet()
1015 fotg210->gadget.speed = USB_SPEED_UNKNOWN; in fotg210_udc_start()
1088 fotg210->gadget.speed = USB_SPEED_UNKNOWN; in fotg210_udc_stop()
/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dmod_gadget.c107 #define usbhsg_is_not_connected(gp) ((gp)->gadget.speed == USB_SPEED_UNKNOWN)
466 if (gpriv->gadget.speed != USB_SPEED_UNKNOWN && in usbhsg_irq_dev_state()
906 gpriv->gadget.speed = USB_SPEED_UNKNOWN; in usbhsg_try_stop()
/openbmc/u-boot/drivers/usb/dwc3/
H A Ddwc3-generic.c87 if (dwc3->maximum_speed == USB_SPEED_UNKNOWN) { in dwc3_generic_peripheral_ofdata_to_platdata()

1234