Home
last modified time | relevance | path

Searched refs:inputstate (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/isdn/gigaset/
Dasyncdata.c85 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() local
148 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 …]
Disocdata.c634 int inputstate; in hdlc_unpack() local
648 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 …]
Dgigaset.h279 int inputstate; member
373 int inputstate; /* see INS_XXXX */ member
Dcommon.c566 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()
Dev-layer.c1107 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()
Dbas-gigaset.c958 bcs->inputstate |= INS_flag_hunt; in starturbs()