Home
last modified time | relevance | path

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

/linux/drivers/usb/core/
H A Dhub.c145 u16 portstatus);
147 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument
153 if (portstatus & USB_PORT_STAT_HIGH_SPEED) in portspeed()
155 else if (portstatus & USB_PORT_STAT_LOW_SPEED) in portspeed()
1182 u16 portstatus, portchange; in hub_activate() local
1184 portstatus = portchange = 0; in hub_activate()
1185 status = usb_hub_port_status(hub, port1, &portstatus, &portchange); in hub_activate()
1189 if (udev || (portstatus & USB_PORT_STAT_CONNECTION)) in hub_activate()
1191 portstatus, portchange); in hub_activate()
1199 if ((portstatus & USB_PORT_STAT_ENABLE) && ( in hub_activate()
[all …]
H A Dhub.h141 extern int usb_port_is_power_on(struct usb_hub *hub, unsigned int portstatus);
/linux/drivers/usb/host/
H A Dohci-hub.c103 __hc32 __iomem *portstat = ohci->regs->roothub.portstatus; in ohci_rh_suspend()
590 status = ohci_readl(ohci, &ohci->regs->roothub.portstatus [port]); in ohci_start_port_reset()
595 ohci_writel(ohci, RH_PS_PRS, &ohci->regs->roothub.portstatus [port]); in ohci_start_port_reset()
622 __hc32 __iomem *portstat = &ohci->regs->roothub.portstatus [port]; in root_port_reset()
739 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control()
782 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control()
786 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control()
H A Duhci-hcd.c822 unsigned int portstatus; in uhci_count_ports() local
824 portstatus = uhci_readw(uhci, USBPORTSC1 + (port * 2)); in uhci_count_ports()
825 if (!(portstatus & 0x0080) || portstatus == 0xffff) in uhci_count_ports()
H A Dohci.h241 __hc32 portstatus [MAX_ROOT_PORTS]; member
725 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()
H A Dohci-hcd.c1170 &ohci->regs->roothub.portstatus[port]); in ohci_resume()