Lines Matching refs:portsc
2613 static inline const char *xhci_portsc_link_state_string(u32 portsc) in xhci_portsc_link_state_string() argument
2615 switch (portsc & PORT_PLS_MASK) { in xhci_portsc_link_state_string()
2648 static inline const char *xhci_decode_portsc(char *str, u32 portsc) in xhci_decode_portsc() argument
2653 portsc & PORT_POWER ? "Powered" : "Powered-off", in xhci_decode_portsc()
2654 portsc & PORT_CONNECT ? "Connected" : "Not-connected", in xhci_decode_portsc()
2655 portsc & PORT_PE ? "Enabled" : "Disabled", in xhci_decode_portsc()
2656 xhci_portsc_link_state_string(portsc), in xhci_decode_portsc()
2657 DEV_PORT_SPEED(portsc)); in xhci_decode_portsc()
2659 if (portsc & PORT_OC) in xhci_decode_portsc()
2661 if (portsc & PORT_RESET) in xhci_decode_portsc()
2665 if (portsc & PORT_CSC) in xhci_decode_portsc()
2667 if (portsc & PORT_PEC) in xhci_decode_portsc()
2669 if (portsc & PORT_WRC) in xhci_decode_portsc()
2671 if (portsc & PORT_OCC) in xhci_decode_portsc()
2673 if (portsc & PORT_RC) in xhci_decode_portsc()
2675 if (portsc & PORT_PLC) in xhci_decode_portsc()
2677 if (portsc & PORT_CEC) in xhci_decode_portsc()
2679 if (portsc & PORT_CAS) in xhci_decode_portsc()
2683 if (portsc & PORT_WKCONN_E) in xhci_decode_portsc()
2685 if (portsc & PORT_WKDISC_E) in xhci_decode_portsc()
2687 if (portsc & PORT_WKOC_E) in xhci_decode_portsc()