• Home
  • Raw
  • Download

Lines Matching refs:port_status

72 	uint16_t port_status;  member
562 sc->sc_st.port_status = 0; in uhub_read_port_status()
571 sc->sc_st.port_status = UGETW(ps.wPortStatus); in uhub_read_port_status()
575 sc->sc_st.port_status = 0; in uhub_read_port_status()
584 portno, sc->sc_st.port_status, in uhub_read_port_status()
607 uint16_t port_change, port_status; in uhub_port_debounce() local
618 port_status = sc->sc_st.port_status; in uhub_port_debounce()
621 ((port_status & UPS_CURRENT_CONNECT_STATUS) == connection)) { in uhub_port_debounce()
627 connection = port_status & UPS_CURRENT_CONNECT_STATUS; in uhub_port_debounce()
707 if (!(sc->sc_st.port_status & UPS_CURRENT_CONNECT_STATUS)) { in uhub_reattach_port()
737 if ((sc->sc_st.port_status & power_mask) != power_mask) { in uhub_reattach_port()
744 if (!(sc->sc_st.port_status & UPS_PORT_MODE_DEVICE)) { in uhub_reattach_port()
747 if (sc->sc_st.port_status & UPS_SUSPEND) { in uhub_reattach_port()
783 (!(sc->sc_st.port_status & UPS_CURRENT_CONNECT_STATUS))) { in uhub_reattach_port()
788 sc->sc_st.port_status); in uhub_reattach_port()
803 if (sc->sc_st.port_status & UPS_HIGH_SPEED) in uhub_reattach_port()
805 else if (sc->sc_st.port_status & UPS_LOW_SPEED) in uhub_reattach_port()
811 if (sc->sc_st.port_status & UPS_LOW_SPEED) in uhub_reattach_port()
822 switch (sc->sc_st.port_status & UPS_OTHER_SPEED) { in uhub_reattach_port()
870 } else if (sc->sc_st.port_status & UPS_PORT_MODE_DEVICE) in uhub_reattach_port()
893 if (sc->sc_st.port_status & UPS_PORT_ENABLED) { in uhub_reattach_port()
973 if (sc->sc_st.port_status & UPS_SUSPEND) { in uhub_suspend_resume_port()
979 switch (UPS_PORT_LINK_STATE_GET(sc->sc_st.port_status)) { in uhub_suspend_resume_port()
1122 } else if (sc->sc_st.port_status & UPS_PORT_ENABLED) { in uhub_explore()