Lines Matching defs:portsc
198 u32 portsc;
215 portsc = readl(rhub->ports[i]->addr);
219 if (portsc & PORT_DEV_REMOVE)
252 u32 portsc;
272 portsc = readl(rhub->ports[i]->addr);
273 if (portsc & PORT_DEV_REMOVE)
500 xhci_dbg(xhci, "disable port %d-%d, portsc: 0x%x\n",
551 xhci_dbg(xhci, "clear port%d %s change, portsc: 0x%x\n",
581 xhci_dbg(xhci, "set port power %d-%d %s, portsc: 0x%x\n",
686 u32 portsc;
688 portsc = readl(port->addr);
689 temp = xhci_port_state_to_neutral(portsc);
694 xhci_dbg(xhci, "Set port %d-%d link state, portsc: 0x%x, write 0x%x",
696 portsc, temp);
822 u32 portsc,
836 if ((portsc & PORT_RESET) || !(portsc & PORT_PE)) {
929 u32 portsc)
940 link_state = portsc & PORT_PLS_MASK;
952 if (portsc & PORT_PLC && (link_state != XDEV_RESUME))
954 if (portsc & PORT_WRC)
956 if (portsc & PORT_CEC)
960 if (portsc & PORT_POWER)
975 xhci_hub_report_usb3_link_state(xhci, status, portsc);
976 xhci_del_comp_mod_timer(xhci, portsc, portnum);
980 u32 portsc, unsigned long *flags)
988 link_state = portsc & PORT_PLS_MASK;
992 if (portsc & PORT_POWER) {
1007 err = xhci_handle_usb2_port_link_resume(port, portsc,
1746 u32 portsc;
1748 portsc = readl(port->addr);
1751 if (portsc & (PORT_CONNECT | PORT_CAS))
1754 if (((portsc & PORT_PLS_MASK) != XDEV_POLLING) &&
1755 ((portsc & PORT_PLS_MASK) != XDEV_COMP_MODE))
1759 portsc &= ~(PORT_RWC_BITS | PORT_CEC | PORT_WAKE_BITS);
1760 portsc |= PORT_WR;
1761 writel(portsc, port->addr);
1776 u32 temp, portsc;
1807 portsc = readl(ports[port_index]->addr);
1820 switch (portsc & PORT_PLS_MASK) {
1822 portsc = xhci_port_state_to_neutral(portsc);
1823 portsc &= ~PORT_PLS_MASK;
1824 portsc |= PORT_LINK_STROBE | next_state;
1836 portsc &= ~(PORT_RWC_BITS | PORT_CEC | PORT_WAKE_BITS);
1837 writel(portsc, ports[port_index]->addr);