Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/usb/common/
Dcommon.c69 [USB_SPEED_UNKNOWN] = "UNKNOWN",
94 speed = USB_SPEED_UNKNOWN; in usb_speed_string()
114 return USB_SPEED_UNKNOWN; in usb_get_maximum_speed()
121 return (ret < 0) ? USB_SPEED_UNKNOWN : ret; in usb_get_maximum_speed()
/linux-6.1.9/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-6.1.9/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 …]
Ds3c-hsudc.c242 hsudc->gadget.speed = USB_SPEED_UNKNOWN; in s3c_hsudc_stop_activity()
720 if (!hsudc->driver || hsudc->gadget.speed == USB_SPEED_UNKNOWN) in s3c_hsudc_ep_enable()
831 if (!hsudc->driver || hsudc->gadget.speed == USB_SPEED_UNKNOWN) in s3c_hsudc_queue()
1052 if (hsudc->gadget.speed != USB_SPEED_UNKNOWN in s3c_hsudc_irq()
1059 if (hsudc->gadget.speed != USB_SPEED_UNKNOWN in s3c_hsudc_irq()
1166 hsudc->gadget.speed = USB_SPEED_UNKNOWN; in s3c_hsudc_stop()
1261 hsudc->gadget.speed = USB_SPEED_UNKNOWN; in s3c_hsudc_probe()
Ds3c2410_udc.c887 dev->gadget.speed = USB_SPEED_UNKNOWN; in s3c2410_udc_irq()
913 if (dev->gadget.speed != USB_SPEED_UNKNOWN in s3c2410_udc_irq()
927 if (dev->gadget.speed != USB_SPEED_UNKNOWN in s3c2410_udc_irq()
1020 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in s3c2410_udc_ep_enable()
1173 || dev->gadget.speed == USB_SPEED_UNKNOWN)) { in s3c2410_udc_queue()
1427 if (udc->gadget.speed != USB_SPEED_UNKNOWN) { in s3c2410_udc_set_pullup()
1554 dev->gadget.speed = USB_SPEED_UNKNOWN; in s3c2410_udc_disable()
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()
1471 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1731 if (dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2272_handle_stat0_irqs()
1993 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()
2461 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
3113 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()
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()
1923 udc->gadget.speed = USB_SPEED_UNKNOWN; in bcm63xx_update_link_speed()
1985 udc->gadget.speed != USB_SPEED_UNKNOWN) in bcm63xx_udc_ctrl_isr()
1988 udc->gadget.speed = USB_SPEED_UNKNOWN; in bcm63xx_udc_ctrl_isr()
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()
1592 if (dev->gadget.speed != USB_SPEED_UNKNOWN in goku_irq()
1607 if (dev->gadget.speed != USB_SPEED_UNKNOWN in goku_irq()
Dfsl_udc_core.c558 if (!udc->driver || (udc->gadget.speed == USB_SPEED_UNKNOWN)) in fsl_ep_enable()
888 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) in fsl_ep_queue()
1061 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) in fsl_ep_fifo_status()
1730 return USB_SPEED_UNKNOWN; in portscx_device_speed()
1998 udc_controller->gadget.speed = USB_SPEED_UNKNOWN; in fsl_udc_stop()
2466 udc_controller->gadget.speed = USB_SPEED_UNKNOWN; in fsl_udc_probe()
/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c105 d->gadget.speed = USB_SPEED_UNKNOWN; in ast_vhub_dev_disable()
239 if (d->gadget.speed == USB_SPEED_UNKNOWN) { in ast_vhub_std_dev_request()
455 d->gadget.speed = USB_SPEED_UNKNOWN; in ast_vhub_udc_stop()
592 d->gadget.speed = USB_SPEED_UNKNOWN; in ast_vhub_init_dev()
Dhub.c412 if (vhub->speed == USB_SPEED_UNKNOWN) { in ast_vhub_std_hub_request()
622 if (speed == USB_SPEED_UNKNOWN || speed > vhub->speed) in ast_vhub_port_reset()
869 if (vhub->speed == USB_SPEED_UNKNOWN) in ast_vhub_hub_reset()
876 vhub->speed = USB_SPEED_UNKNOWN; in ast_vhub_hub_reset()
1078 vhub->speed = USB_SPEED_UNKNOWN; in ast_vhub_init_hub()
/linux-6.1.9/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-6.1.9/tools/usb/
Dtestusb.c97 USB_SPEED_UNKNOWN = 0, /* enumerating */ enumerator
110 case USB_SPEED_UNKNOWN: return "unknown"; in speed()
/linux-6.1.9/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-6.1.9/drivers/usb/mtu3/
Dmtu3_gadget.c551 if (mtu->g.speed == USB_SPEED_UNKNOWN) in stop_activity()
554 mtu->g.speed = USB_SPEED_UNKNOWN; in stop_activity()
711 mtu->g.speed = USB_SPEED_UNKNOWN; in mtu3_gadget_setup()
768 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-6.1.9/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()
1734 if (ci->gadget.speed == USB_SPEED_UNKNOWN) { in ci_udc_wakeup()
2055 if (ci->gadget.speed != USB_SPEED_UNKNOWN && in udc_irq()
2084 ci->gadget.speed = USB_SPEED_UNKNOWN; in udc_start()
/linux-6.1.9/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-6.1.9/drivers/usb/cdns3/
Dcdnsp-gadget.c41 return USB_SPEED_UNKNOWN; in cdnsp_port_speed()
1268 case USB_SPEED_UNKNOWN: in cdnsp_run()
1710 pdev->gadget.speed = USB_SPEED_UNKNOWN; in cdnsp_disconnect_gadget()
1880 case USB_SPEED_UNKNOWN: in __cdnsp_gadget_init()
1888 pdev->gadget.speed = USB_SPEED_UNKNOWN; in __cdnsp_gadget_init()
Dcdns3-gadget.c372 return USB_SPEED_UNKNOWN; in cdns3_get_speed()
1799 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_check_usb_interrupt_proceed()
2939 case USB_SPEED_UNKNOWN: in cdns3_gadget_udc_start()
2968 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_gadget_udc_stop()
3228 case USB_SPEED_UNKNOWN: in cdns3_gadget_start()
3236 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_gadget_start()
3365 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_gadget_suspend()

123