/openbmc/u-boot/drivers/usb/common/ |
H A D | common.c | 43 [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 D | common.c | 70 [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 D | usbip_device_driver.c | 37 .speed = USB_SPEED_UNKNOWN, 99 dev->speed = USB_SPEED_UNKNOWN; in read_usb_vudc_device()
|
H A D | usbip_common.c | 26 { USB_SPEED_UNKNOWN, "unknown", "Unknown Speed"}, 196 return USB_SPEED_UNKNOWN; in read_attr_speed()
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | dwc2_udc_otg.c | 168 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 D | pxa25x_udc.c | 327 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 D | atmel_usba_udc.c | 287 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 D | at91_udc.c | 301 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 D | dev.c | 104 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 D | hub.c | 411 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 D | pxa25x_udc.c | 858 || 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 D | net2272.c | 188 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 D | pxa27x_udc.c | 1070 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 D | at91_udc.c | 490 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 D | net2280.c | 200 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 D | goku_udc.c | 106 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 D | zero.c | 168 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 D | testusb.c | 97 USB_SPEED_UNKNOWN = 0, /* enumerating */ enumerator 110 case USB_SPEED_UNKNOWN: return "unknown"; in speed()
|
/openbmc/linux/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_udc.c | 149 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 D | mtu3_gadget.c | 550 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 D | mtu3_core.c | 713 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 D | udc.c | 857 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 D | fotg210-udc.c | 76 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 D | mod_gadget.c | 107 #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 D | dwc3-generic.c | 87 if (dwc3->maximum_speed == USB_SPEED_UNKNOWN) { in dwc3_generic_peripheral_ofdata_to_platdata()
|