Lines Matching refs:portsc
781 u32 t1, t2, portsc; in xhci_disable_hub_port_wake() local
787 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
788 t1 = xhci_port_state_to_neutral(portsc); in xhci_disable_hub_port_wake()
796 if (!(portsc & (PORT_CSC | PORT_CONNECT))) in xhci_disable_hub_port_wake()
802 rhub->hcd->self.busnum, i + 1, portsc, t2); in xhci_disable_hub_port_wake()
813 u32 portsc; in xhci_pending_portevent() local
827 portsc = readl(ports[port_index]->addr); in xhci_pending_portevent()
828 if (portsc & PORT_CHANGE_MASK || in xhci_pending_portevent()
829 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
835 portsc = readl(ports[port_index]->addr); in xhci_pending_portevent()
836 if (portsc & (PORT_CHANGE_MASK | PORT_CAS) || in xhci_pending_portevent()
837 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()