Lines Matching refs:pls
830 u32 pls = status_reg & PORT_PLS_MASK; in xhci_hub_report_usb3_link_state() local
843 if (pls != USB_SS_PORT_LS_COMP_MOD && in xhci_hub_report_usb3_link_state()
844 pls != USB_SS_PORT_LS_SS_INACTIVE) { in xhci_hub_report_usb3_link_state()
845 pls = USB_SS_PORT_LS_COMP_MOD; in xhci_hub_report_usb3_link_state()
851 pls |= USB_PORT_STAT_CONNECTION; in xhci_hub_report_usb3_link_state()
858 if (pls == XDEV_RESUME) { in xhci_hub_report_usb3_link_state()
872 (pls == USB_SS_PORT_LS_COMP_MOD)) in xhci_hub_report_usb3_link_state()
873 pls |= USB_PORT_STAT_CONNECTION; in xhci_hub_report_usb3_link_state()
877 *status |= pls; in xhci_hub_report_usb3_link_state()
1416 u32 pls = temp & PORT_PLS_MASK; in xhci_hub_control() local
1420 if (pls == XDEV_U0) in xhci_hub_control()
1422 if (pls == XDEV_U3 || in xhci_hub_control()
1423 pls == XDEV_RESUME || in xhci_hub_control()
1424 pls == XDEV_RECOVERY) { in xhci_hub_control()
1428 if (pls <= XDEV_U3) /* U1, U2, U3 */ in xhci_hub_control()
1432 if (pls > XDEV_U3) in xhci_hub_control()