Searched refs:inputstate (Results 1 – 6 of 6) sorted by relevance
85 if (cs->dle && !(inbuf->inputstate & INS_DLE_command)) in cmd_loop()86 inbuf->inputstate &= ~INS_command; in cmd_loop()92 if (inbuf->inputstate & INS_DLE_char) { in cmd_loop()94 inbuf->inputstate &= ~INS_DLE_char; in cmd_loop()96 (inbuf->inputstate & INS_DLE_command)) { in cmd_loop()98 inbuf->inputstate |= INS_DLE_char; in cmd_loop()141 int inputstate = bcs->inputstate; in hdlc_loop() local148 if (inputstate & INS_byte_stuff) { in hdlc_loop()151 inputstate &= ~INS_byte_stuff; in hdlc_loop()159 if (inputstate & INS_DLE_char) { in hdlc_loop()[all …]
634 int inputstate; in hdlc_unpack() local648 inputstate = bcs->inputstate; in hdlc_unpack()666 if (unlikely(inputstate & INS_flag_hunt)) { in hdlc_unpack()669 inputstate &= ~(INS_flag_hunt | INS_have_data); in hdlc_unpack()674 inputstate &= ~(INS_flag_hunt | INS_have_data); in hdlc_unpack()695 inputstate |= INS_have_data; in hdlc_unpack()700 !(inputstate & INS_have_data))) { in hdlc_unpack()706 inputstate |= INS_flag_hunt; in hdlc_unpack()712 inputstate &= ~INS_have_data; in hdlc_unpack()716 if (inputstate & INS_have_data) { in hdlc_unpack()[all …]
279 int inputstate; member373 int inputstate; /* see INS_XXXX */ member
566 inbuf->inputstate = INS_command; in gigaset_inbuf_init()640 bcs->inputstate = 0; in gigaset_initbcs()824 bcs->inputstate = 0; in gigaset_bcs_reinit()856 cs->inbuf->inputstate = INS_command; in cleanup_cs()
1107 cs->inbuf[0].inputstate &= in do_action()1112 cs->inbuf[0].inputstate = in do_action()1113 (cs->inbuf[0].inputstate & ~INS_DLE_command) in do_action()1729 cs->inbuf->inputstate = INS_command; in process_command_flags()
958 bcs->inputstate |= INS_flag_hunt; in starturbs()