Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/common/
H A Dusb_hub.c239 static inline char *portspeed(int portstatus) in portspeed() argument
243 switch (portstatus & USB_PORT_STAT_SPEED_MASK) { in portspeed()
276 unsigned short portstatus, portchange; in usb_hub_port_reset() local
297 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_reset()
300 debug("portstatus %x, change %x, %s\n", portstatus, portchange, in usb_hub_port_reset()
301 portspeed(portstatus)); in usb_hub_port_reset()
306 (portstatus & USB_PORT_STAT_CONNECTION) ? 1 : 0, in usb_hub_port_reset()
307 (portstatus & USB_PORT_STAT_ENABLE) ? 1 : 0); in usb_hub_port_reset()
326 if (portstatus & USB_PORT_STAT_ENABLE) in usb_hub_port_reset()
341 *portstat = portstatus; in usb_hub_port_reset()
[all …]
/rk3399_rockchip-uboot/drivers/usb/host/
H A Dohci.h188 __u32 portstatus[CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS]; member
H A Dohci-hcd.c207 { return ohci_readl(&hc->regs->roothub.portstatus[i]); } in roothub_portstatus()
1211 (x)); ohci_writel((x), &ohci->regs->roothub.portstatus[wIndex-1]); }
1215 &ohci->regs->roothub.portstatus[wIndex-1])
/rk3399_rockchip-uboot/arch/mips/mach-au1x00/
H A Dau1x00_usb_ohci.h175 __u32 portstatus[MAX_ROOT_PORTS]; member
H A Dau1x00_usb_ohci.c110 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()
851 …o("WR:portstatus[%d] %#8x", wIndex-1, (x));writel((x), &gohci.regs->roothub.portstatus[wIndex-1]);}
854 #define WR_RH_PORTSTAT(x) writel((x), &gohci.regs->roothub.portstatus[wIndex-1])