• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/usb/core/

Lines Matching refs:portstatus

121 static inline char *portspeed(int portstatus)
123 if (portstatus & (1 << USB_PORT_FEAT_HIGHSPEED))
125 else if (portstatus & (1 << USB_PORT_FEAT_LOWSPEED))
1458 u16 portstatus;
1468 ret = hub_port_status(hub, port1, &portstatus, &portchange);
1473 if (!(portstatus & USB_PORT_STAT_CONNECTION))
1481 if (!(portstatus & USB_PORT_STAT_RESET) &&
1482 (portstatus & USB_PORT_STAT_ENABLE)) {
1485 else if (portstatus & USB_PORT_STAT_HIGH_SPEED)
1487 else if (portstatus & USB_PORT_STAT_LOW_SPEED)
1762 u16 portchange, portstatus;
1765 status = hub_port_status(hub, port1, &portstatus, &portchange);
1766 if (status == 0 && !(portstatus & USB_PORT_STAT_SUSPEND))
1795 status = hub_port_status(hub, port1, &portstatus, &portchange);
1798 || (portstatus & LIVE_FLAGS) != LIVE_FLAGS
1799 || (portstatus & USB_PORT_STAT_SUSPEND) != 0
1803 port1, portchange, portstatus, status);
2017 u16 portchange, portstatus;
2021 ret = hub_port_status(hub, port1, &portstatus, &portchange);
2026 (portstatus & USB_PORT_STAT_CONNECTION) == connection) {
2032 connection = portstatus & USB_PORT_STAT_CONNECTION;
2047 port1, total_time, stable_time, portstatus);
2051 return portstatus;
2401 u16 portstatus, u16 portchange)
2410 port1, portstatus, portchange, portspeed (portstatus));
2436 portstatus = status;
2440 if (!(portstatus & USB_PORT_STAT_CONNECTION)) {
2444 && !(portstatus & (1 << USB_PORT_FEAT_POWER)))
2447 if (portstatus & USB_PORT_STAT_ENABLE)
2454 if (portstatus & USB_PORT_STAT_SUSPEND) {
2592 u16 portstatus;
2683 &portstatus, &portchange);
2688 (portstatus &
2703 i, portstatus);
2713 if (!(portstatus & USB_PORT_STAT_ENABLE)
2761 portstatus, portchange);