Lines Matching refs:reset_state
111 mouse8042_reset_state_e reset_state; member
304 state->reset_state = MSE_RESET_IDLE; in mouse8042_attach()
548 while (state->reset_state != MSE_RESET_IDLE) { in mouse8042_close()
643 if (state->reset_state != MSE_RESET_IDLE && in mouse8042_reset_timeout()
644 state->reset_state != MSE_RESET_FAILED) { in mouse8042_reset_timeout()
647 state->reset_state = MSE_RESET_IDLE; in mouse8042_reset_timeout()
682 if (state->reset_state != MSE_RESET_IDLE) { in mouse8042_initiate_reset()
741 state->reset_state = MSE_RESET_PRE; in mouse8042_initiate_reset()
874 if (state->reset_state != MSE_RESET_IDLE) in mouse8042_wput()
912 mouse8042_reset_fsm(mouse8042_reset_state_e reset_state, uint8_t mdata) in mouse8042_reset_fsm() argument
914 switch (reset_state) { in mouse8042_reset_fsm()
931 return (reset_state); in mouse8042_reset_fsm()
965 if (state->reset_state != MSE_RESET_IDLE) { in mouse8042_intr()
968 state->reset_state = MSE_RESET_FAILED; in mouse8042_intr()
970 state->reset_state = in mouse8042_intr()
971 mouse8042_reset_fsm(state->reset_state, in mouse8042_intr()
975 if (state->reset_state == MSE_RESET_ACK) { in mouse8042_intr()
1001 } else if (state->reset_state == MSE_RESET_IDLE || in mouse8042_intr()
1002 state->reset_state == MSE_RESET_FAILED) { in mouse8042_intr()
1028 if (state->reset_state == in mouse8042_intr()
1040 state->reset_state = MSE_RESET_IDLE; in mouse8042_intr()