• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/gigaset/

Lines Matching refs:inputstate

39  * (mstate != MS_LOCKED && (inputstate & INS_command))
85 if (cs->dle && !(inbuf->inputstate & INS_DLE_command))
86 inbuf->inputstate &= ~INS_command;
92 if (inbuf->inputstate & INS_DLE_char) {
94 inbuf->inputstate &= ~INS_DLE_char;
96 (inbuf->inputstate & INS_DLE_command)) {
98 inbuf->inputstate |= INS_DLE_char;
130 * (mstate != MS_LOCKED && !(inputstate & INS_command) && proto2 == L2_HDLC)
141 int inputstate = bcs->inputstate;
148 if (inputstate & INS_byte_stuff) {
151 inputstate &= ~INS_byte_stuff;
159 if (inputstate & INS_DLE_char) {
161 inputstate &= ~INS_DLE_char;
162 } else if (cs->dle || (inputstate & INS_DLE_command)) {
164 inputstate |= INS_DLE_char;
173 inputstate |= INS_byte_stuff;
180 if (inputstate & INS_DLE_char) {
182 inputstate &= ~INS_DLE_char;
184 (inputstate & INS_DLE_command)) {
186 inputstate |=
198 if (inputstate & INS_have_data) {
227 inputstate &= ~INS_have_data;
252 if (!(inputstate & INS_have_data)) {
258 inputstate |= INS_have_data;
272 bcs->inputstate = inputstate;
278 * (mstate != MS_LOCKED && !(inputstate & INS_command) && proto2 != L2_HDLC)
288 int inputstate = bcs->inputstate;
305 if (inputstate & INS_DLE_char) {
307 inputstate &= ~INS_DLE_char;
308 } else if (cs->dle || (inputstate & INS_DLE_command)) {
310 inputstate |= INS_DLE_char;
316 inputstate |= INS_have_data;
321 if (inputstate & INS_have_data) {
323 inputstate &= ~INS_have_data;
327 bcs->inputstate = inputstate;
335 * inputstate flag and resumes processing of the sequence on the next call.
344 if (!(inbuf->inputstate & INS_DLE_char)) {
347 (cs->dle || inbuf->inputstate & INS_DLE_command)) {
353 inbuf->inputstate |= INS_DLE_char;
363 inbuf->inputstate &= ~INS_DLE_char;
367 if (inbuf->inputstate & INS_command)
370 inbuf->inputstate |= INS_command | INS_DLE_command;
374 if (!(inbuf->inputstate & INS_DLE_command))
377 inbuf->inputstate &= ~INS_DLE_command;
380 inbuf->inputstate &= ~INS_command;
385 inbuf->inputstate |= INS_DLE_char;
386 if (!(cs->dle || inbuf->inputstate & INS_DLE_command))
428 else if (inbuf->inputstate & INS_command)