Searched refs:tws_state (Results 1 – 2 of 2) sorted by relevance
718 sc->tws_state = TWS_INIT; in tws_send_event()722 if (sc->tws_state != TWS_INIT) { in tws_send_event()723 … device_printf(sc->tws_dev, "invalid state transition %d => TWS_ONLINE\n", sc->tws_state); in tws_send_event()725 sc->tws_state = TWS_ONLINE; in tws_send_event()731 if (sc->tws_state != TWS_RESET) { in tws_send_event()732 sc->tws_prev_state = sc->tws_state; in tws_send_event()733 sc->tws_state = TWS_RESET; in tws_send_event()738 if (sc->tws_state != TWS_RESET) { in tws_send_event()739 …c->tws_dev, "invalid state transition %d => %d (previous state)\n", sc->tws_state, sc->tws_prev_st… in tws_send_event()741 sc->tws_state = sc->tws_prev_state; in tws_send_event()[all …]
220 u_int8_t tws_state; /* driver state */ member