• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/core/

Lines Matching refs:portstatus

155 static inline char *portspeed(int portstatus)
157 if (portstatus & USB_PORT_STAT_HIGH_SPEED)
159 else if (portstatus & USB_PORT_STAT_LOW_SPEED)
161 else if (portstatus & USB_PORT_STAT_SUPER_SPEED)
741 u16 portstatus, portchange;
743 portstatus = portchange = 0;
744 status = hub_port_status(hub, port1, &portstatus, &portchange);
745 if (udev || (portstatus & USB_PORT_STAT_CONNECTION))
748 port1, portstatus, portchange);
755 if ((portstatus & USB_PORT_STAT_ENABLE) && (
757 !(portstatus & USB_PORT_STAT_CONNECTION) ||
762 !(portstatus & USB_PORT_STAT_SUPER_SPEED))) {
765 portstatus &= ~USB_PORT_STAT_ENABLE;
784 if (!(portstatus & USB_PORT_STAT_CONNECTION) ||
792 if (udev || (portstatus & USB_PORT_STAT_CONNECTION))
795 } else if (portstatus & USB_PORT_STAT_ENABLE) {
1944 u16 portstatus;
1954 ret = hub_port_status(hub, port1, &portstatus, &portchange);
1959 if (!(portstatus & USB_PORT_STAT_CONNECTION))
1967 if (!(portstatus & USB_PORT_STAT_RESET) &&
1968 (portstatus & USB_PORT_STAT_ENABLE)) {
1971 else if (portstatus & USB_PORT_STAT_SUPER_SPEED)
1973 else if (portstatus & USB_PORT_STAT_HIGH_SPEED)
1975 else if (portstatus & USB_PORT_STAT_LOW_SPEED)
2073 int status, unsigned portchange, unsigned portstatus)
2076 if (status || (portstatus & MASK_BITS) != WANT_BITS) {
2084 else if (!(portstatus & USB_PORT_STAT_ENABLE) && !udev->reset_resume) {
2094 port1, portchange, portstatus, status);
2326 u16 portchange, portstatus;
2329 status = hub_port_status(hub, port1, &portstatus, &portchange);
2330 if (status == 0 && !(portstatus & USB_PORT_STAT_SUSPEND))
2353 status = hub_port_status(hub, port1, &portstatus, &portchange);
2369 hub, port1, status, portchange, portstatus);
2411 u16 portchange, portstatus;
2413 status = hub_port_status(hub, port1, &portstatus, &portchange);
2415 hub, port1, status, portchange, portstatus);
2518 u16 portchange, portstatus;
2522 ret = hub_port_status(hub, port1, &portstatus, &portchange);
2527 (portstatus & USB_PORT_STAT_CONNECTION) == connection) {
2533 connection = portstatus & USB_PORT_STAT_CONNECTION;
2548 port1, total_time, stable_time, portstatus);
2552 return portstatus;
2960 u16 portstatus, u16 portchange)
2972 port1, portstatus, portchange, portspeed (portstatus));
2988 if ((portstatus & USB_PORT_STAT_CONNECTION) && udev &&
2991 if (portstatus & USB_PORT_STAT_ENABLE) {
3022 if (!(portstatus & USB_PORT_STAT_CONNECTION) ||
3033 portstatus &= ~USB_PORT_STAT_CONNECTION;
3035 portstatus = status;
3042 if (!(portstatus & USB_PORT_STAT_CONNECTION) ||
3047 && !(portstatus & USB_PORT_STAT_POWER))
3050 if (portstatus & USB_PORT_STAT_ENABLE)
3077 (portstatus & USB_PORT_STAT_SUPER_SPEED))
3208 u16 portstatus;
3295 &portstatus, &portchange);
3310 i, portstatus);
3320 if (!(portstatus & USB_PORT_STAT_ENABLE)
3376 portstatus, portchange);