Searched refs:portstatus (Results 1 – 6 of 6) sorted by relevance
45 static inline char *portspeed (int portstatus) in portspeed() argument47 if (portstatus & (1 << USB_PORT_FEAT_HIGHSPEED)) in portspeed()49 else if (portstatus & (1 << USB_PORT_FEAT_LOWSPEED)) in portspeed()548 u16 portstatus; in usb_hub_port_wait_reset() local556 ret = usb_hub_port_status(hub, port, &portstatus, &portchange); in usb_hub_port_wait_reset()562 if (!(portstatus & USB_PORT_STAT_CONNECTION)) in usb_hub_port_wait_reset()570 if (!(portstatus & USB_PORT_STAT_RESET) && in usb_hub_port_wait_reset()571 (portstatus & USB_PORT_STAT_ENABLE)) { in usb_hub_port_wait_reset()572 if (portstatus & USB_PORT_STAT_HIGH_SPEED) in usb_hub_port_wait_reset()574 else if (portstatus & USB_PORT_STAT_LOW_SPEED) in usb_hub_port_wait_reset()[all …]
1031 __u32 portstatus; in getPortStatusAndChange() local1035 portstatus = hp->RHportStatus->portChange << 16 | hp->RHportStatus->portStatus; in getPortStatusAndChange()1037 return (portstatus); in getPortStatusAndChange()
177 __u32 portstatus[MAX_ROOT_PORTS]; member
2964 unsigned int portstatus; in alloc_uhci() local2966 portstatus = inw (io_addr + 0x10 + (s->maxports * 2)); in alloc_uhci()2968 io_addr + 0x10 + (s->maxports * 2), portstatus); in alloc_uhci()2969 if (!(portstatus & 0x0080)) in alloc_uhci()
2814 unsigned int portstatus; in alloc_uhci() local2816 portstatus = inw(uhci->io_addr + 0x10 + (port * 2)); in alloc_uhci()2817 if (!(portstatus & 0x0080)) in alloc_uhci()
127 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()1942 #define WR_RH_PORTSTAT(x) writel((x), &ohci->regs->roothub.portstatus[wIndex-1])