Lines Matching refs:state
95 } state;
108 /* Parser state */
153 /* Take the ELM327 out of almost any state and back into command mode.
162 if (elm->state != CAN327_STATE_GETDUMMYCHAR &&
163 elm->state != CAN327_STATE_GETPROMPT) {
166 elm->state = CAN327_STATE_GETDUMMYCHAR;
238 elm->state = CAN327_STATE_NOTINIT;
295 elm->can.state = CAN_STATE_BUS_OFF;
502 * However, this will correctly drop the state machine back into
538 if (elm->state == CAN327_STATE_RECEIVING &&
562 elm->state = CAN327_STATE_RECEIVING;
564 /* We will be in the default state once this command is
639 elm->state = CAN327_STATE_RECEIVING;
641 /* We will be in the default state once this command is
672 switch (elm->state) {
682 elm->state = CAN327_STATE_GETPROMPT;
782 elm->can.state = CAN_STATE_ERROR_ACTIVE;
804 elm->can.state = CAN_STATE_STOPPED;