Home
last modified time | relevance | path

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

123

/Linux-v6.6/drivers/usb/common/
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()
/Linux-v6.6/tools/usb/usbip/libsrc/
Dusbip_device_driver.c37 .speed = USB_SPEED_UNKNOWN,
99 dev->speed = USB_SPEED_UNKNOWN; in read_usb_vudc_device()
Dusbip_common.c26 { USB_SPEED_UNKNOWN, "unknown", "Unknown Speed"},
196 return USB_SPEED_UNKNOWN; in read_attr_speed()
/Linux-v6.6/drivers/usb/gadget/udc/
Dpxa25x_udc.c451 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) { in pxa25x_ep_enable()
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()
[all …]
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()
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()
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()
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 …]
Dm66592-udc.c93 m66592->gadget.speed = USB_SPEED_UNKNOWN; in m66592_usb_disconnect()
720 if (ep->m66592->gadget.speed == USB_SPEED_UNKNOWN) in transfer_complete()
1129 m66592->gadget.speed = USB_SPEED_UNKNOWN; in m66592_update_usb_speed()
1148 && m66592->gadget.speed == USB_SPEED_UNKNOWN) in irq_device_state()
1361 if (ep->m66592->gadget.speed == USB_SPEED_UNKNOWN) in m66592_queue()
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()
Dbcm63xx_udc.c970 udc->gadget.speed = USB_SPEED_UNKNOWN; in bcm63xx_init_udc_hw()
1770 udc->gadget.speed = USB_SPEED_UNKNOWN; in bcm63xx_udc_pullup()
1922 udc->gadget.speed = USB_SPEED_UNKNOWN; in bcm63xx_update_link_speed()
1984 udc->gadget.speed != USB_SPEED_UNKNOWN) in bcm63xx_udc_ctrl_isr()
1987 udc->gadget.speed = USB_SPEED_UNKNOWN; in bcm63xx_udc_ctrl_isr()
Dfsl_udc_core.c557 if (!udc->driver || (udc->gadget.speed == USB_SPEED_UNKNOWN)) in fsl_ep_enable()
887 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) in fsl_ep_queue()
1060 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) in fsl_ep_fifo_status()
1729 return USB_SPEED_UNKNOWN; in portscx_device_speed()
1996 udc_controller->gadget.speed = USB_SPEED_UNKNOWN; in fsl_udc_stop()
2464 udc_controller->gadget.speed = USB_SPEED_UNKNOWN; in fsl_udc_probe()
/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/
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()
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()
/Linux-v6.6/tools/usb/
Dtestusb.c97 USB_SPEED_UNKNOWN = 0, /* enumerating */ enumerator
110 case USB_SPEED_UNKNOWN: return "unknown"; in speed()
/Linux-v6.6/drivers/usb/gadget/legacy/
Dzero.c168 if (g->speed != USB_SPEED_UNKNOWN) { in zero_autoresume()
176 if (cdev->gadget->speed == USB_SPEED_UNKNOWN) in zero_suspend()
/Linux-v6.6/drivers/usb/gadget/udc/bdc/
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()
/Linux-v6.6/drivers/usb/mtu3/
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()
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()
/Linux-v6.6/drivers/usb/chipidea/
Dudc.c857 ci->gadget.speed = USB_SPEED_UNKNOWN; in _gadget_stop_activity()
881 if (ci->gadget.speed != USB_SPEED_UNKNOWN) in isr_reset_handler()
1436 if (hwep->ci->gadget.speed == USB_SPEED_UNKNOWN) { in ep_disable()
1529 if (hwep->ci->gadget.speed == USB_SPEED_UNKNOWN) { in ep_queue()
1556 if (hwep->ci->gadget.speed != USB_SPEED_UNKNOWN) in ep_dequeue()
1628 if (hwep->ci->gadget.speed == USB_SPEED_UNKNOWN) { in ep_fifo_flush()
1741 if (ci->gadget.speed == USB_SPEED_UNKNOWN) { in ci_udc_wakeup()
2065 if (ci->gadget.speed != USB_SPEED_UNKNOWN && in udc_irq()
2094 ci->gadget.speed = USB_SPEED_UNKNOWN; in udc_start()
/Linux-v6.6/drivers/usb/fotg210/
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()
/Linux-v6.6/drivers/usb/renesas_usbhs/
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()
/Linux-v6.6/drivers/usb/cdns3/
Dcdnsp-gadget.c41 return USB_SPEED_UNKNOWN; in cdnsp_port_speed()
1271 case USB_SPEED_UNKNOWN: in cdnsp_run()
1713 pdev->gadget.speed = USB_SPEED_UNKNOWN; in cdnsp_disconnect_gadget()
1883 case USB_SPEED_UNKNOWN: in __cdnsp_gadget_init()
1891 pdev->gadget.speed = USB_SPEED_UNKNOWN; in __cdnsp_gadget_init()
Dcdns3-gadget.c373 return USB_SPEED_UNKNOWN; in cdns3_get_speed()
1801 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_check_usb_interrupt_proceed()
2956 case USB_SPEED_UNKNOWN: in cdns3_gadget_udc_start()
2985 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_gadget_udc_stop()
3247 case USB_SPEED_UNKNOWN: in cdns3_gadget_start()
3255 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_gadget_start()
3384 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_gadget_suspend()
/Linux-v6.6/drivers/usb/gadget/udc/cdns2/
Dcdns2-gadget.c224 return USB_SPEED_UNKNOWN; in cdns2_get_speed()
2107 case USB_SPEED_UNKNOWN: in cdns2_gadget_udc_start()
2136 pdev->gadget.speed = USB_SPEED_UNKNOWN; in cdns2_gadget_udc_stop()
2308 case USB_SPEED_UNKNOWN: in cdns2_gadget_start()
2314 pdev->gadget.speed = USB_SPEED_UNKNOWN; in cdns2_gadget_start()
2386 pdev->gadget.speed = USB_SPEED_UNKNOWN; in cdns2_gadget_suspend()

123