Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c110 d->gadget.speed = USB_SPEED_UNKNOWN; in ast_vhub_dev_disable()
233 if (d->gadget.speed == USB_SPEED_UNKNOWN) { in ast_vhub_std_dev_request()
449 d->gadget.speed = USB_SPEED_UNKNOWN; in ast_vhub_udc_stop()
586 d->gadget.speed = USB_SPEED_UNKNOWN; in ast_vhub_init_dev()
Dhub.c388 if (vhub->speed == USB_SPEED_UNKNOWN) { in ast_vhub_std_hub_request()
596 if (speed == USB_SPEED_UNKNOWN || speed > vhub->speed) in ast_vhub_port_reset()
843 if (vhub->speed == USB_SPEED_UNKNOWN) in ast_vhub_hub_reset()
850 vhub->speed = USB_SPEED_UNKNOWN; in ast_vhub_hub_reset()
1048 vhub->speed = USB_SPEED_UNKNOWN; in ast_vhub_init_hub()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dpxa25x_udc.c455 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) { in pxa25x_ep_enable()
862 || dev->gadget.speed == USB_SPEED_UNKNOWN)) { in pxa25x_ep_queue()
1063 if (ep->dev->gadget.speed == USB_SPEED_UNKNOWN in pxa25x_ep_fifo_status()
1159 if (udc->gadget.speed != USB_SPEED_UNKNOWN) { in pullup()
1372 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_disable()
1417 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_enable()
1496 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in reset_gadget()
1498 dev->gadget.speed = USB_SPEED_UNKNOWN; in reset_gadget()
1523 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1525 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()
1050 if (hsudc->gadget.speed != USB_SPEED_UNKNOWN in s3c_hsudc_irq()
1057 if (hsudc->gadget.speed != USB_SPEED_UNKNOWN in s3c_hsudc_irq()
1164 hsudc->gadget.speed = USB_SPEED_UNKNOWN; in s3c_hsudc_stop()
1260 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()
1556 dev->gadget.speed = USB_SPEED_UNKNOWN; in s3c2410_udc_disable()
Dnet2272.c188 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_enable()
824 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_queue()
975 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_set_halt_and_wedge()
1030 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_fifo_status()
1050 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_fifo_flush()
1210 else if (dev->gadget.speed == USB_SPEED_UNKNOWN) in registers_show()
1331 dev->gadget.speed = USB_SPEED_UNKNOWN; in net2272_usb_reset()
1467 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1718 if (dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2272_handle_stat0_irqs()
1978 if (dev->gadget.speed != USB_SPEED_UNKNOWN) { in net2272_handle_stat1_irqs()
Dpxa27x_udc.c1072 if (unlikely(!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN)) { in pxa_ep_queue()
1261 if (ep->dev->gadget.speed == USB_SPEED_UNKNOWN || ep_is_empty(ep)) in pxa_ep_fifo_status()
1356 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()
852 if (udc->gadget.speed == USB_SPEED_UNKNOWN) in reset_gadget()
854 udc->gadget.speed = USB_SPEED_UNKNOWN; in reset_gadget()
877 if (udc->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
879 udc->gadget.speed = USB_SPEED_UNKNOWN; in stop_activity()
911 udc->gadget.speed = USB_SPEED_UNKNOWN; in clk_off()
Dnet2280.c200 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2280_enable()
1012 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2280_queue()
1338 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2280_set_halt_and_wedge()
1411 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2280_fifo_status()
1437 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2280_fifo_flush()
1697 else if (dev->gadget.speed == USB_SPEED_UNKNOWN) in registers_show()
2064 dev->gadget.speed = USB_SPEED_UNKNOWN; in usb_reset_228x()
2100 dev->gadget.speed = USB_SPEED_UNKNOWN; in usb_reset_338x()
2464 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
3107 if (dev->gadget.speed == USB_SPEED_UNKNOWN) { in handle_stat0_irqs()
[all …]
Dbcm63xx_udc.c973 udc->gadget.speed = USB_SPEED_UNKNOWN; in bcm63xx_init_udc_hw()
1773 udc->gadget.speed = USB_SPEED_UNKNOWN; in bcm63xx_udc_pullup()
1926 udc->gadget.speed = USB_SPEED_UNKNOWN; in bcm63xx_update_link_speed()
1988 udc->gadget.speed != USB_SPEED_UNKNOWN) in bcm63xx_udc_ctrl_isr()
1991 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()
1259 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_reinit()
1590 if (dev->gadget.speed != USB_SPEED_UNKNOWN in goku_irq()
1605 if (dev->gadget.speed != USB_SPEED_UNKNOWN in goku_irq()
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()
Dudc-xilinx.c904 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in xudc_ep_enable()
1002 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in __xudc_ep0_queue()
1086 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in xudc_ep_queue()
1412 udc->gadget.speed = USB_SPEED_UNKNOWN; in xudc_stop()
2097 udc->gadget.speed = USB_SPEED_UNKNOWN; in xudc_probe()
Dfsl_udc_core.c561 if (!udc->driver || (udc->gadget.speed == USB_SPEED_UNKNOWN)) in fsl_ep_enable()
891 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()
2479 udc_controller->gadget.speed = USB_SPEED_UNKNOWN; in fsl_udc_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/usb/
Dtestusb.c97 USB_SPEED_UNKNOWN = 0, /* enumerating */ enumerator
107 case USB_SPEED_UNKNOWN: return "unknown"; in speed()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_gadget.c528 if (mtu->g.speed == USB_SPEED_UNKNOWN) in stop_activity()
531 mtu->g.speed = USB_SPEED_UNKNOWN; in stop_activity()
675 mtu->g.speed = USB_SPEED_UNKNOWN; in mtu3_gadget_setup()
731 if (mtu->g.speed != USB_SPEED_UNKNOWN) in mtu3_gadget_reset()
Dmtu3_core.c674 udev_speed = USB_SPEED_UNKNOWN; in mtu3_link_isr()
685 if (udev_speed == USB_SPEED_UNKNOWN) in mtu3_link_isr()
792 case USB_SPEED_UNKNOWN: in mtu3_check_params()
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dudc.c843 ci->gadget.speed = USB_SPEED_UNKNOWN; in _gadget_stop_activity()
867 if (ci->gadget.speed != USB_SPEED_UNKNOWN) in isr_reset_handler()
1422 if (hwep->ci->gadget.speed == USB_SPEED_UNKNOWN) { in ep_disable()
1515 if (hwep->ci->gadget.speed == USB_SPEED_UNKNOWN) { in ep_queue()
1542 if (hwep->ci->gadget.speed != USB_SPEED_UNKNOWN) in ep_dequeue()
1614 if (hwep->ci->gadget.speed == USB_SPEED_UNKNOWN) { in ep_fifo_flush()
1707 if (ci->gadget.speed == USB_SPEED_UNKNOWN) { in ci_udc_wakeup()
2027 if (ci->gadget.speed != USB_SPEED_UNKNOWN && in udc_irq()
2056 ci->gadget.speed = USB_SPEED_UNKNOWN; in udc_start()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dgadget.c387 return USB_SPEED_UNKNOWN; in cdns3_get_speed()
1800 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_check_usb_interrupt_proceed()
2924 case USB_SPEED_UNKNOWN: in cdns3_gadget_udc_start()
2953 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_gadget_udc_stop()
3176 case USB_SPEED_UNKNOWN: in cdns3_gadget_start()
3184 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_gadget_start()
3303 priv_dev->gadget.speed = USB_SPEED_UNKNOWN; in cdns3_gadget_suspend()

123