Lines Matching refs:sc_state
1025 if (newstate == sc->sc_state) in umb_newstate()
1027 if (((flags & UMB_NS_DONT_DROP) && newstate < sc->sc_state) || in umb_newstate()
1028 ((flags & UMB_NS_DONT_RAISE) && newstate > sc->sc_state)) in umb_newstate()
1032 DEVNAM(sc), newstate > sc->sc_state ? "up" : "down", in umb_newstate()
1033 umb_istate(sc->sc_state), umb_istate(newstate)); in umb_newstate()
1034 sc->sc_state = newstate; in umb_newstate()
1065 state = (sc->sc_state == UMB_S_UP) ? LINK_STATE_UP : LINK_STATE_DOWN; in umb_state_task()
1101 switch (sc->sc_state) { in umb_up()
1151 if (sc->sc_state < UMB_S_UP) in umb_up()
1165 switch (sc->sc_state) { in umb_down()
1194 sc->sc_state = UMB_S_OPEN; in umb_down()
1196 if (sc->sc_state > UMB_S_OPEN) in umb_down()
1678 sc->sc_state >= UMB_S_CONNECTED) in umb_decode_signal_state()