Lines Matching defs:state
403 register u_char state = bcs->hw.tiger.r_state;
425 state = HDLC_ZERO_SEARCH;
432 if (state == HDLC_ZERO_SEARCH) {
437 state= HDLC_FLAG_SEARCH;
442 } else if (state == HDLC_FLAG_SEARCH) {
446 state=HDLC_ZERO_SEARCH;
452 state=HDLC_FLAG_FOUND;
459 } else if (state == HDLC_FLAG_FOUND) {
463 state=HDLC_ZERO_SEARCH;
483 if ((state != HDLC_ZERO_SEARCH) &&
485 state=HDLC_FRAME_FOUND;
494 } else if (state == HDLC_FRAME_FOUND) {
498 state=HDLC_ZERO_SEARCH;
512 state=HDLC_FLAG_SEARCH;
534 state=HDLC_FLAG_FOUND;
548 if ((state == HDLC_FRAME_FOUND) &&
553 state=HDLC_FLAG_SEARCH;
569 bcs->hw.tiger.r_state = state;