Lines Matching refs:pls
829 u32 pls = status_reg & PORT_PLS_MASK; in xhci_hub_report_usb3_link_state() local
842 if (pls != USB_SS_PORT_LS_COMP_MOD && in xhci_hub_report_usb3_link_state()
843 pls != USB_SS_PORT_LS_SS_INACTIVE) { in xhci_hub_report_usb3_link_state()
844 pls = USB_SS_PORT_LS_COMP_MOD; in xhci_hub_report_usb3_link_state()
850 pls |= USB_PORT_STAT_CONNECTION; in xhci_hub_report_usb3_link_state()
857 if (pls == XDEV_RESUME) { in xhci_hub_report_usb3_link_state()
871 (pls == USB_SS_PORT_LS_COMP_MOD)) in xhci_hub_report_usb3_link_state()
872 pls |= USB_PORT_STAT_CONNECTION; in xhci_hub_report_usb3_link_state()
876 *status |= pls; in xhci_hub_report_usb3_link_state()
1412 u32 pls = temp & PORT_PLS_MASK; in xhci_hub_control() local
1416 if (pls == XDEV_U0) in xhci_hub_control()
1418 if (pls == XDEV_U3 || in xhci_hub_control()
1419 pls == XDEV_RESUME || in xhci_hub_control()
1420 pls == XDEV_RECOVERY) { in xhci_hub_control()
1424 if (pls <= XDEV_U3) /* U1, U2, U3 */ in xhci_hub_control()
1428 if (pls > XDEV_U3) in xhci_hub_control()