Home
last modified time | relevance | path

Searched refs:portstatus (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/drivers/usb/
Dhub.c45 static inline char *portspeed (int portstatus) in portspeed() argument
47 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() local
556 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 …]
/linux-2.4.37.9/drivers/usb/host/
Dhc_sl811.c1031 __u32 portstatus; in getPortStatusAndChange() local
1035 portstatus = hp->RHportStatus->portChange << 16 | hp->RHportStatus->portStatus; in getPortStatusAndChange()
1037 return (portstatus); in getPortStatusAndChange()
Dusb-ohci.h177 __u32 portstatus[MAX_ROOT_PORTS]; member
Dusb-uhci.c2964 unsigned int portstatus; in alloc_uhci() local
2966 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()
Duhci.c2814 unsigned int portstatus; in alloc_uhci() local
2816 portstatus = inw(uhci->io_addr + 0x10 + (port * 2)); in alloc_uhci()
2817 if (!(portstatus & 0x0080)) in alloc_uhci()
Dusb-ohci.c127 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()
1942 #define WR_RH_PORTSTAT(x) writel((x), &ohci->regs->roothub.portstatus[wIndex-1])