Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/usb/
Dusb-common.c21 [USB_SPEED_UNKNOWN] = "UNKNOWN", in usb_speed_string()
30 speed = USB_SPEED_UNKNOWN; in usb_speed_string()
/linux-3.4.99/drivers/usb/gadget/
Dzero.c232 if (g->speed != USB_SPEED_UNKNOWN) { in zero_autoresume()
240 if (cdev->gadget->speed == USB_SPEED_UNKNOWN) in zero_suspend()
Dimx_udc.c70 imx_usb->gadget.speed = USB_SPEED_UNKNOWN; in imx_udc_disable()
698 if (!imx_usb->driver || imx_usb->gadget.speed == USB_SPEED_UNKNOWN) { in imx_ep_enable()
805 if (!imx_usb->driver || imx_usb->gadget.speed == USB_SPEED_UNKNOWN) { in imx_ep_queue()
915 if (imx_ep->imx_usb->gadget.speed == USB_SPEED_UNKNOWN) in imx_ep_fifo_status()
1004 if (imx_usb->gadget.speed == USB_SPEED_UNKNOWN) in udc_stop_activity()
1134 if (imx_usb->gadget.speed == USB_SPEED_UNKNOWN in imx_udc_irq()
1143 if (imx_usb->gadget.speed != USB_SPEED_UNKNOWN in imx_udc_irq()
1148 imx_usb->gadget.speed = USB_SPEED_UNKNOWN; in imx_udc_irq()
1156 imx_usb->gadget.speed = USB_SPEED_UNKNOWN; in imx_udc_irq()
Ds3c-hsudc.c298 hsudc->gadget.speed = USB_SPEED_UNKNOWN; in s3c_hsudc_stop_activity()
776 if (!hsudc->driver || hsudc->gadget.speed == USB_SPEED_UNKNOWN) in s3c_hsudc_ep_enable()
888 if (!hsudc->driver || hsudc->gadget.speed == USB_SPEED_UNKNOWN) in s3c_hsudc_queue()
1093 if (hsudc->gadget.speed != USB_SPEED_UNKNOWN in s3c_hsudc_irq()
1100 if (hsudc->gadget.speed != USB_SPEED_UNKNOWN in s3c_hsudc_irq()
1216 hsudc->gadget.speed = USB_SPEED_UNKNOWN; in s3c_hsudc_stop()
1335 hsudc->gadget.speed = USB_SPEED_UNKNOWN; in s3c_hsudc_probe()
Dpxa25x_udc.c247 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) { in pxa25x_ep_enable()
654 || dev->gadget.speed == USB_SPEED_UNKNOWN)) { in pxa25x_ep_queue()
855 if (ep->dev->gadget.speed == USB_SPEED_UNKNOWN in pxa25x_ep_fifo_status()
943 if (udc->gadget.speed != USB_SPEED_UNKNOWN) { in pullup()
1171 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_disable()
1215 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_enable()
1328 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1330 dev->gadget.speed = USB_SPEED_UNKNOWN; in stop_activity()
1739 if (dev->gadget.speed != USB_SPEED_UNKNOWN in pxa25x_udc_irq()
1752 if (dev->gadget.speed != USB_SPEED_UNKNOWN in pxa25x_udc_irq()
Dnet2272.c203 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_enable()
845 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_queue()
995 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_set_halt_and_wedge()
1050 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_fifo_status()
1070 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_fifo_flush()
1239 else if (dev->gadget.speed == USB_SPEED_UNKNOWN) in net2272_show_registers()
1360 dev->gadget.speed = USB_SPEED_UNKNOWN; in net2272_usb_reset()
1488 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1735 if (dev->gadget.speed == USB_SPEED_UNKNOWN) { in net2272_handle_stat0_irqs()
1992 && (dev->gadget.speed != USB_SPEED_UNKNOWN)) { in net2272_handle_stat1_irqs()
Ds3c2410_udc.c938 dev->gadget.speed = USB_SPEED_UNKNOWN; in s3c2410_udc_irq()
964 if (dev->gadget.speed != USB_SPEED_UNKNOWN in s3c2410_udc_irq()
978 if (dev->gadget.speed != USB_SPEED_UNKNOWN in s3c2410_udc_irq()
1071 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in s3c2410_udc_ep_enable()
1225 || dev->gadget.speed == USB_SPEED_UNKNOWN)) { in s3c2410_udc_queue()
1481 if (udc->gadget.speed != USB_SPEED_UNKNOWN) { in s3c2410_udc_set_pullup()
1610 dev->gadget.speed = USB_SPEED_UNKNOWN; in s3c2410_udc_disable()
Dpxa27x_udc.c1156 if (unlikely(!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN)) { in pxa_ep_queue()
1345 if (ep->dev->gadget.speed == USB_SPEED_UNKNOWN || ep_is_empty(ep)) in pxa_ep_fifo_status()
1440 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in pxa_ep_enable()
1707 udc->gadget.speed = USB_SPEED_UNKNOWN; in udc_disable()
1874 if (udc->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1876 udc->gadget.speed = USB_SPEED_UNKNOWN; in stop_activity()
2294 if (udc->gadget.speed != USB_SPEED_UNKNOWN in irq_udc_suspend()
2309 if (udc->gadget.speed != USB_SPEED_UNKNOWN in irq_udc_resume()
Datmel_usba_udc.c656 if (udc->gadget.speed != USB_SPEED_UNKNOWN) in usba_ep_disable()
779 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN || !ep->desc) in usba_ep_queue()
1661 if (udc->gadget.speed != USB_SPEED_UNKNOWN in usba_udc_irq()
1678 if (udc->gadget.speed != USB_SPEED_UNKNOWN in usba_udc_irq()
1714 if (udc->gadget.speed != USB_SPEED_UNKNOWN in usba_udc_irq()
1716 udc->gadget.speed = USB_SPEED_UNKNOWN; in usba_udc_irq()
1779 udc->gadget.speed = USB_SPEED_UNKNOWN; in usba_vbus_irq()
1866 udc->gadget.speed = USB_SPEED_UNKNOWN; in atmel_usba_stop()
Dnet2280.c154 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in net2280_enable()
847 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in net2280_queue()
1221 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2280_set_halt_and_wedge()
1278 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2280_fifo_status()
1297 if (!ep->dev->driver || ep->dev->gadget.speed == USB_SPEED_UNKNOWN) in net2280_fifo_flush()
1486 else if (dev->gadget.speed == USB_SPEED_UNKNOWN) in net2280_show_registers()
1750 dev->gadget.speed = USB_SPEED_UNKNOWN; in usb_reset()
1931 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
2228 if (dev->gadget.speed == USB_SPEED_UNKNOWN) { in handle_stat0_irqs()
2458 ) && ( dev->gadget.speed != USB_SPEED_UNKNOWN)) { in handle_stat1_irqs()
Dgoku_udc.c111 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()
1246 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_reinit()
1397 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1609 if (dev->gadget.speed != USB_SPEED_UNKNOWN in goku_irq()
1624 if (dev->gadget.speed != USB_SPEED_UNKNOWN in goku_irq()
Dm66592-udc.c96 m66592->gadget.speed = USB_SPEED_UNKNOWN; in m66592_usb_disconnect()
723 if (ep->m66592->gadget.speed == USB_SPEED_UNKNOWN) in transfer_complete()
1132 m66592->gadget.speed = USB_SPEED_UNKNOWN; in m66592_update_usb_speed()
1151 && m66592->gadget.speed == USB_SPEED_UNKNOWN) in irq_device_state()
1368 if (ep->m66592->gadget.speed == USB_SPEED_UNKNOWN) in m66592_queue()
1530 if (m66592->gadget.speed != USB_SPEED_UNKNOWN) in m66592_stop()
Dat91_udc.c487 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in at91_ep_enable()
628 if (!udc || !udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in at91_ep_queue()
851 if (udc->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
853 udc->gadget.speed = USB_SPEED_UNKNOWN; in stop_activity()
884 udc->gadget.speed = USB_SPEED_UNKNOWN; in clk_off()
Domap_udc.c196 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) { in omap_ep_enable()
945 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) in omap_ep_queue()
1411 udc->gadget.speed = USB_SPEED_UNKNOWN; in udc_quiesce()
1799 } else if (udc->gadget.speed != USB_SPEED_UNKNOWN) { in devstate_irq()
1800 udc->gadget.speed = USB_SPEED_UNKNOWN; in devstate_irq()
1829 if (udc->gadget.speed != USB_SPEED_UNKNOWN) { in devstate_irq()
2681 udc->gadget.speed = USB_SPEED_UNKNOWN; in omap_udc_setup()
Dfsl_udc_core.c558 if (!udc->driver || (udc->gadget.speed == USB_SPEED_UNKNOWN)) in fsl_ep_enable()
889 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) in fsl_ep_queue()
1071 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) in fsl_ep_fifo_status()
1731 return USB_SPEED_UNKNOWN; in portscx_device_speed()
2029 udc_controller->gadget.speed = USB_SPEED_UNKNOWN; in fsl_stop()
2539 udc_controller->gadget.speed = USB_SPEED_UNKNOWN; in fsl_udc_probe()
Dr8a66597-udc.c93 r8a66597->gadget.speed = USB_SPEED_UNKNOWN; in r8a66597_usb_disconnect()
916 if (ep->r8a66597->gadget.speed == USB_SPEED_UNKNOWN) in transfer_complete()
1333 r8a66597->gadget.speed = USB_SPEED_UNKNOWN; in r8a66597_update_usb_speed()
1355 && r8a66597->gadget.speed == USB_SPEED_UNKNOWN) in irq_device_state()
1618 if (ep->r8a66597->gadget.speed == USB_SPEED_UNKNOWN) in r8a66597_queue()
Dpch_udc.c1705 if (!dev->driver || (dev->gadget.speed == USB_SPEED_UNKNOWN)) in pch_udc_pcd_ep_enable()
1857 if (!dev->driver || (dev->gadget.speed == USB_SPEED_UNKNOWN)) in pch_udc_pcd_queue()
1993 if (!ep->dev->driver || (ep->dev->gadget.speed == USB_SPEED_UNKNOWN)) in pch_udc_pcd_set_halt()
2038 if (!ep->dev->driver || (ep->dev->gadget.speed == USB_SPEED_UNKNOWN)) in pch_udc_pcd_set_wedge()
2878 dev->gadget.speed = USB_SPEED_UNKNOWN; in pch_udc_pcd_reinit()
2992 if (!driver || (driver->max_speed == USB_SPEED_UNKNOWN) || !bind || in pch_udc_start()
Dmv_udc_core.c471 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) in mv_ep_enable()
728 if (!udc->driver || udc->gadget.speed == USB_SPEED_UNKNOWN) in mv_ep_queue()
1424 udc->gadget.speed = USB_SPEED_UNKNOWN; in mv_udc_stop()
1984 udc->gadget.speed = USB_SPEED_UNKNOWN; in irq_process_port_change()
2312 udc->gadget.speed = USB_SPEED_UNKNOWN; /* speed */ in mv_udc_probe()
Dfusb300_udc.c433 if (ep->fusb300->gadget.speed == USB_SPEED_UNKNOWN) in fusb300_queue()
873 if (ep->fusb300->gadget.speed == USB_SPEED_UNKNOWN) in done()
1002 fusb300->gadget.speed = USB_SPEED_UNKNOWN; in check_device_mode()
/linux-3.4.99/drivers/staging/usbip/userspace/libsrc/
Dusbip_common.c22 { USB_SPEED_UNKNOWN, "unknown", "Unknown Speed"},
180 return USB_SPEED_UNKNOWN; in read_attr_speed()
Dusbip_common.h80 USB_SPEED_UNKNOWN = 0, /* enumerating */ enumerator
/linux-3.4.99/tools/usb/
Dtestusb.c110 USB_SPEED_UNKNOWN = 0, /* enumerating */ enumerator
120 case USB_SPEED_UNKNOWN: return "unknown"; in speed()
/linux-3.4.99/drivers/usb/musb/
Dmusb_gadget.c1881 musb->g.speed = USB_SPEED_UNKNOWN; in musb_gadget_setup()
2007 if (musb->g.speed == USB_SPEED_UNKNOWN) in stop_activity()
2010 musb->g.speed = USB_SPEED_UNKNOWN; in stop_activity()
2166 musb->g.speed = USB_SPEED_UNKNOWN; in musb_g_disconnect()
2215 if (musb->g.speed != USB_SPEED_UNKNOWN) in musb_g_reset()
/linux-3.4.99/drivers/usb/renesas_usbhs/
Dmod_gadget.c109 #define usbhsg_is_not_connected(gp) ((gp)->gadget.speed == USB_SPEED_UNKNOWN)
818 gpriv->gadget.speed = USB_SPEED_UNKNOWN; in usbhsg_try_stop()
/linux-3.4.99/include/linux/usb/
Dch9.h898 USB_SPEED_UNKNOWN = 0, /* enumerating */ enumerator

12