Searched refs:raw_port_status (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/usb/host/
H A Dxhci-hub.c662 static u32 xhci_get_ext_port_status(u32 raw_port_status, u32 port_li) xhci_get_ext_port_status() argument
668 speed_id = DEV_PORT_SPEED(raw_port_status); xhci_get_ext_port_status()
691 u16 wIndex, u32 raw_port_status,
701 if (raw_port_status & PORT_CSC)
703 if (raw_port_status & PORT_PEC)
705 if ((raw_port_status & PORT_OCC))
707 if ((raw_port_status & PORT_RC))
717 if ((raw_port_status & PORT_PLC) &&
718 (raw_port_status & PORT_PLS_MASK) != XDEV_RESUME)
720 if ((raw_port_status & PORT_WRC))
722 if ((raw_port_status & PORT_CEC))
727 if ((raw_port_status & PORT_PLS_MASK) == XDEV_U3
728 && (raw_port_status & PORT_POWER))
731 if ((raw_port_status & PORT_PLS_MASK) == XDEV_RESUME &&
732 !DEV_SUPERSPEED_ANY(raw_port_status)) {
733 if ((raw_port_status & PORT_RESET) ||
734 !(raw_port_status & PORT_PE))
813 (raw_port_status & PORT_PLS_MASK) != XDEV_U3 &&
814 (raw_port_status & PORT_PLS_MASK) != XDEV_RESUME) {
820 if ((raw_port_status & PORT_PLS_MASK) == XDEV_U0 &&
821 (raw_port_status & PORT_POWER)) {
830 if (raw_port_status & PORT_CONNECT) {
832 status |= xhci_port_speed(raw_port_status);
834 if (raw_port_status & PORT_PE)
836 if (raw_port_status & PORT_OC)
838 if (raw_port_status & PORT_RESET)
840 if (raw_port_status & PORT_POWER) {
848 xhci_hub_report_usb3_link_state(xhci, &status, raw_port_status);
853 xhci_del_comp_mod_timer(xhci, raw_port_status, wIndex);
855 xhci_hub_report_usb2_link_state(&status, raw_port_status);

Completed in 76 milliseconds