Home
last modified time | relevance | path

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

/external/u-boot/common/
Dusb_hub.c236 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 …]
/external/u-boot/arch/mips/mach-au1x00/
Dau1x00_usb_ohci.h175 __u32 portstatus[MAX_ROOT_PORTS]; member
Dau1x00_usb_ohci.c109 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()
850 …o("WR:portstatus[%d] %#8x", wIndex-1, (x));writel((x), &gohci.regs->roothub.portstatus[wIndex-1]);}
853 #define WR_RH_PORTSTAT(x) writel((x), &gohci.regs->roothub.portstatus[wIndex-1])
/external/u-boot/drivers/usb/host/
Dohci.h188 __u32 portstatus[CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS]; member
Dohci-hcd.c203 { 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])