• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/gigaset/

Lines Matching refs:inbuf

45 			   struct inbuf_t *inbuf)
47 struct cardstate *cs = inbuf->cs;
49 int inputstate = inbuf->inputstate;
87 inbuf->inputstate = inputstate;
97 struct inbuf_t *inbuf)
99 struct cardstate *cs = inbuf->cs;
109 struct inbuf_t *inbuf)
111 struct cardstate *cs = inbuf->cs;
112 struct bc_state *bcs = inbuf->bcs;
135 inbuf->inputstate & INS_DLE_command))) {
136 inbuf->inputstate |= INS_DLE_char;
258 inbuf->inputstate & INS_DLE_command))) {
259 inbuf->inputstate |= INS_DLE_char;
270 struct inbuf_t *inbuf)
272 struct cardstate *cs = inbuf->cs;
273 struct bc_state *bcs = inbuf->bcs;
299 inbuf->inputstate & INS_DLE_command))) {
300 inbuf->inputstate |= INS_DLE_char;
330 void gigaset_m10x_input(struct inbuf_t *inbuf)
337 head = atomic_read(&inbuf->head);
338 tail = atomic_read(&inbuf->tail);
342 cs = inbuf->cs;
343 src = inbuf->data + head;
349 procbytes = lock_loop(src, numbytes, inbuf);
356 inbuf->inputstate & INS_DLE_command)) {
357 if (!(inbuf->inputstate & INS_DLE_char)) {
358 inbuf->inputstate |= INS_DLE_char;
362 inbuf->inputstate &= ~INS_DLE_char;
365 if (!(inbuf->inputstate & INS_DLE_char)) {
367 if (inbuf->inputstate & INS_command)
368 procbytes = cmd_loop(c, src, numbytes, inbuf);
369 else if (inbuf->bcs->proto2 == ISDN_PROTO_L2_HDLC)
370 procbytes = hdlc_loop(c, src, numbytes, inbuf);
372 procbytes = iraw_loop(c, src, numbytes, inbuf);
377 inbuf->inputstate &= ~INS_DLE_char;
381 if (inbuf->inputstate & INS_command)
385 inbuf->inputstate |=
390 if (!(inbuf->inputstate & INS_command))
394 inbuf->inputstate &= cs->dle ?
411 src = inbuf->data;
421 atomic_set(&inbuf->head, head);