Searched refs:portstatus (Results 1 – 12 of 12) sorted by relevance
/openbmc/u-boot/common/ |
H A D | usb_hub.c | 236 static inline char *portspeed(int portstatus) in portspeed() argument 240 switch (portstatus & USB_PORT_STAT_SPEED_MASK) { in portspeed() 273 unsigned short portstatus, portchange; in usb_hub_port_reset() local 294 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_reset() 297 debug("portstatus %x, change %x, %s\n", portstatus, portchange, in usb_hub_port_reset() 298 portspeed(portstatus)); in usb_hub_port_reset() 303 (portstatus & USB_PORT_STAT_CONNECTION) ? 1 : 0, in usb_hub_port_reset() 304 (portstatus & USB_PORT_STAT_ENABLE) ? 1 : 0); in usb_hub_port_reset() 323 if (portstatus & USB_PORT_STAT_ENABLE) in usb_hub_port_reset() 338 *portstat = portstatus; in usb_hub_port_reset() [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | hub.c | 135 u16 portstatus); 137 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument 143 if (portstatus & USB_PORT_STAT_HIGH_SPEED) in portspeed() 145 else if (portstatus & USB_PORT_STAT_LOW_SPEED) in portspeed() 1149 u16 portstatus, portchange; in hub_activate() local 1151 portstatus = portchange = 0; in hub_activate() 1152 status = usb_hub_port_status(hub, port1, &portstatus, &portchange); in hub_activate() 1156 if (udev || (portstatus & USB_PORT_STAT_CONNECTION)) in hub_activate() 1158 portstatus, portchange); in hub_activate() 1166 if ((portstatus & USB_PORT_STAT_ENABLE) && ( in hub_activate() [all …]
|
H A D | hub.h | 137 extern int usb_port_is_power_on(struct usb_hub *hub, unsigned int portstatus);
|
H A D | port.c | 55 u16 portstatus, unused; in disable_show() local 82 usb_hub_port_status(hub, port1, &portstatus, &unused); in disable_show() 83 disabled = !usb_port_is_power_on(hub, portstatus); in disable_show()
|
/openbmc/linux/drivers/usb/host/ |
H A D | ohci-hub.c | 103 __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 D | uhci-hcd.c | 823 unsigned int portstatus; in uhci_count_ports() local 825 portstatus = uhci_readw(uhci, USBPORTSC1 + (port * 2)); in uhci_count_ports() 826 if (!(portstatus & 0x0080) || portstatus == 0xffff) in uhci_count_ports()
|
H A D | ohci.h | 241 __hc32 portstatus [MAX_ROOT_PORTS]; member 725 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()
|
H A D | ohci-omap.c | 81 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]); in start_hnp()
|
H A D | ohci-hcd.c | 1169 &ohci->regs->roothub.portstatus[port]); in ohci_resume()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ohci.h | 188 __u32 portstatus[CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS]; member
|
H A D | ohci-hcd.c | 203 { return ohci_readl(&hc->regs->roothub.portstatus[i]); } in roothub_portstatus() 1206 (x)); ohci_writel((x), &ohci->regs->roothub.portstatus[wIndex-1]); } 1210 &ohci->regs->roothub.portstatus[wIndex-1])
|
/openbmc/linux/drivers/staging/wlan-ng/ |
H A D | prism2sta.c | 1210 u16 portstatus; in prism2sta_processing_defer() local 1243 &portstatus); in prism2sta_processing_defer() 1251 (portstatus == HFA384x_PSTATUS_CONN_IBSS) ? in prism2sta_processing_defer()
|