Lines Matching refs:sc_st

564 		sc->sc_st.port_status = 0;  in uhub_read_port_status()
565 sc->sc_st.port_change = 0; in uhub_read_port_status()
573 sc->sc_st.port_status = UGETW(ps.wPortStatus); in uhub_read_port_status()
574 sc->sc_st.port_change = UGETW(ps.wPortChange); in uhub_read_port_status()
577 sc->sc_st.port_status = 0; in uhub_read_port_status()
578 sc->sc_st.port_change = 0; in uhub_read_port_status()
586 portno, sc->sc_st.port_status, in uhub_read_port_status()
587 sc->sc_st.port_change, usbd_errstr(err)); in uhub_read_port_status()
651 if (!(sc->sc_st.port_status & UPS_CURRENT_CONNECT_STATUS)) in uhub_reattach_port()
672 if ((sc->sc_st.port_status & power_mask) != power_mask) { in uhub_reattach_port()
679 if (!(sc->sc_st.port_status & UPS_PORT_MODE_DEVICE)) { in uhub_reattach_port()
682 if (sc->sc_st.port_status & UPS_SUSPEND) { in uhub_reattach_port()
719 if ((sc->sc_st.port_change & UPS_C_CONNECT_STATUS) || in uhub_reattach_port()
720 (!(sc->sc_st.port_status & UPS_CURRENT_CONNECT_STATUS))) { in uhub_reattach_port()
724 portno, sc->sc_st.port_change, in uhub_reattach_port()
725 sc->sc_st.port_status); in uhub_reattach_port()
740 if (sc->sc_st.port_status & UPS_HIGH_SPEED) in uhub_reattach_port()
742 else if (sc->sc_st.port_status & UPS_LOW_SPEED) in uhub_reattach_port()
748 if (sc->sc_st.port_status & UPS_LOW_SPEED) in uhub_reattach_port()
759 switch (sc->sc_st.port_status & UPS_OTHER_SPEED) { in uhub_reattach_port()
807 } else if (sc->sc_st.port_status & UPS_PORT_MODE_DEVICE) in uhub_reattach_port()
830 if (sc->sc_st.port_status & UPS_PORT_ENABLED) { in uhub_reattach_port()
910 if (sc->sc_st.port_status & UPS_SUSPEND) { in uhub_suspend_resume_port()
916 switch (UPS_PORT_LINK_STATE_GET(sc->sc_st.port_status)) { in uhub_suspend_resume_port()
1039 if (sc->sc_st.port_change & UPS_C_OVERCURRENT_INDICATOR) { in uhub_explore()
1051 sc->sc_st.port_change |= in uhub_explore()
1054 if (sc->sc_st.port_change & UPS_C_PORT_ENABLED) { in uhub_explore()
1059 if (sc->sc_st.port_change & UPS_C_CONNECT_STATUS) { in uhub_explore()
1064 } else if (sc->sc_st.port_status & UPS_PORT_ENABLED) { in uhub_explore()
1073 sc->sc_st.port_change |= in uhub_explore()
1079 if (sc->sc_st.port_change & UPS_C_CONNECT_STATUS) { in uhub_explore()
1084 if (sc->sc_st.port_change & (UPS_C_SUSPEND | in uhub_explore()
1091 (sc->sc_st.port_change & UPS_C_BH_PORT_RESET) != 0) { in uhub_explore()
1098 if (sc->sc_st.port_change & UPS_C_PORT_RESET) { in uhub_explore()