Home
last modified time | relevance | path

Searched refs:portstat (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dohci-hub.c100 __hc32 __iomem *portstat = ohci->regs->roothub.portstatus; in ohci_rh_suspend() local
104 for (i = 0; i < ohci->num_ports; (++i, ++portstat)) { in ohci_rh_suspend()
105 temp = ohci_readl(ohci, portstat); in ohci_rh_suspend()
108 ohci_writel(ohci, RH_PS_PSS, portstat); in ohci_rh_suspend()
619 __hc32 __iomem *portstat = &ohci->regs->roothub.portstatus [port]; in root_port_reset() local
635 temp = ohci_readl (ohci, portstat); in root_port_reset()
658 ohci_writel (ohci, RH_PS_PRSC, portstat); in root_port_reset()
661 ohci_writel (ohci, RH_PS_PRS, portstat); in root_port_reset()
H A Du132-hcd.c2644 u32 portstat; in u132_roothub_portreset() local
2647 roothub.portstatus[port_index], &portstat); in u132_roothub_portreset()
2650 if (RH_PS_PRS & portstat) in u132_roothub_portreset()
2655 if (RH_PS_PRS & portstat) in u132_roothub_portreset()
2657 if (RH_PS_CCS & portstat) { in u132_roothub_portreset()
2658 if (RH_PS_PRSC & portstat) { in u132_roothub_portreset()
/OK3568_Linux_fs/u-boot/common/
H A Dusb_hub.c272 unsigned short *portstat) in usb_hub_port_reset() argument
341 *portstat = portstatus; in usb_hub_port_reset()