tag | line | file | source code |
flip | 721 | drivers/char/cyclades.c | if (tty->flip.count < TTY_FLIPBUF_SIZE){ |
flip | 722 | drivers/char/cyclades.c | tty->flip.count++; |
flip | 725 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = |
flip | 727 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = |
flip | 733 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = |
flip | 735 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = |
flip | 738 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = |
flip | 740 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = |
flip | 743 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = |
flip | 745 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = 0; |
flip | 750 | drivers/char/cyclades.c | if(tty->flip.count < TTY_FLIPBUF_SIZE){ |
flip | 751 | drivers/char/cyclades.c | tty->flip.count++; |
flip | 752 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = |
flip | 754 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = |
flip | 762 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = 0; |
flip | 763 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = 0; |
flip | 766 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = 0; |
flip | 767 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = 0; |
flip | 785 | drivers/char/cyclades.c | if (tty->flip.count >= TTY_FLIPBUF_SIZE){ |
flip | 788 | drivers/char/cyclades.c | tty->flip.count++; |
flip | 790 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = TTY_NORMAL; |
flip | 791 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = data; |
flip | 797 | drivers/char/cyclades.c | queue_task_irq_off(&tty->flip.tqueue, &tq_timer); |
flip | 2378 | drivers/char/istallion.c | len = MIN(len, (TTY_FLIPBUF_SIZE - tty->flip.count)); |
flip | 2383 | drivers/char/istallion.c | memcpy(tty->flip.char_buf_ptr, (char *) (shbuf + tail), stlen); |
flip | 2384 | drivers/char/istallion.c | memset(tty->flip.flag_buf_ptr, 0, stlen); |
flip | 2385 | drivers/char/istallion.c | tty->flip.char_buf_ptr += stlen; |
flip | 2386 | drivers/char/istallion.c | tty->flip.flag_buf_ptr += stlen; |
flip | 2387 | drivers/char/istallion.c | tty->flip.count += stlen; |
flip | 2563 | drivers/char/istallion.c | if (tty->flip.count < TTY_FLIPBUF_SIZE) { |
flip | 2564 | drivers/char/istallion.c | tty->flip.count++; |
flip | 2565 | drivers/char/istallion.c | *tty->flip.flag_buf_ptr++ = TTY_BREAK; |
flip | 2566 | drivers/char/istallion.c | *tty->flip.char_buf_ptr++ = 0; |
flip | 4364 | drivers/char/istallion.c | stli_comstats.rxbuffered = portp->tty->flip.count; |
flip | 1482 | drivers/char/pcxx.c | tty->flip.count++; |
flip | 1483 | drivers/char/pcxx.c | *tty->flip.flag_buf_ptr++ = TTY_BREAK; |
flip | 1484 | drivers/char/pcxx.c | *tty->flip.char_buf_ptr++ = 0; |
flip | 1779 | drivers/char/pcxx.c | if(tty->flip.count == TTY_FLIPBUF_SIZE) { |
flip | 1790 | drivers/char/pcxx.c | rptr = tty->flip.char_buf_ptr; |
flip | 1791 | drivers/char/pcxx.c | rc = tty->flip.count; |
flip | 1812 | drivers/char/pcxx.c | tty->flip.count = rc; |
flip | 1813 | drivers/char/pcxx.c | tty->flip.char_buf_ptr = rptr; |
flip | 1792 | drivers/char/scc.c | while(tty->flip.count < TTY_FLIPBUF_SIZE-4) |
flip | 1853 | drivers/char/scc.c | queue_task(&tty->flip.tqueue, &tq_timer); /* kick it... */ |
flip | 391 | drivers/char/serial.c | if (tty->flip.count >= TTY_FLIPBUF_SIZE) |
flip | 393 | drivers/char/serial.c | tty->flip.count++; |
flip | 396 | drivers/char/serial.c | *tty->flip.flag_buf_ptr++ = TTY_BREAK; |
flip | 400 | drivers/char/serial.c | *tty->flip.flag_buf_ptr++ = TTY_PARITY; |
flip | 402 | drivers/char/serial.c | *tty->flip.flag_buf_ptr++ = TTY_FRAME; |
flip | 404 | drivers/char/serial.c | *tty->flip.flag_buf_ptr++ = TTY_OVERRUN; |
flip | 406 | drivers/char/serial.c | *tty->flip.flag_buf_ptr++ = 0; |
flip | 407 | drivers/char/serial.c | *tty->flip.char_buf_ptr++ = ch; |
flip | 411 | drivers/char/serial.c | queue_task_irq_off(&tty->flip.tqueue, &tq_timer); |
flip | 1707 | drivers/char/stallion.c | if ((tty == (struct tty_struct *) NULL) || (tty->flip.char_buf_ptr == (char *) NULL) || |
flip | 1708 | drivers/char/stallion.c | ((buflen = TTY_FLIPBUF_SIZE - tty->flip.count) == 0)) { |
flip | 1717 | drivers/char/stallion.c | insb((ioaddr + EREG_DATA), tty->flip.char_buf_ptr, len); |
flip | 1718 | drivers/char/stallion.c | memset(tty->flip.flag_buf_ptr, 0, len); |
flip | 1719 | drivers/char/stallion.c | tty->flip.flag_buf_ptr += len; |
flip | 1720 | drivers/char/stallion.c | tty->flip.char_buf_ptr += len; |
flip | 1721 | drivers/char/stallion.c | tty->flip.count += len; |
flip | 1765 | drivers/char/stallion.c | if (tty->flip.char_buf_ptr != (char *) NULL) { |
flip | 1766 | drivers/char/stallion.c | if (tty->flip.count < TTY_FLIPBUF_SIZE) { |
flip | 1767 | drivers/char/stallion.c | *tty->flip.flag_buf_ptr++ = status; |
flip | 1768 | drivers/char/stallion.c | *tty->flip.char_buf_ptr++ = ch; |
flip | 1769 | drivers/char/stallion.c | tty->flip.count++; |
flip | 3040 | drivers/char/stallion.c | portp->stats.rxbuffered = portp->tty->flip.count; |
flip | 1128 | drivers/char/tty_io.c | if (tty->flip.tqueue.sync) { |
flip | 1132 | drivers/char/tty_io.c | if (tq == &tty->flip.tqueue) { |
flip | 1670 | drivers/char/tty_io.c | if (tty->flip.buf_num) { |
flip | 1671 | drivers/char/tty_io.c | cp = tty->flip.char_buf + TTY_FLIPBUF_SIZE; |
flip | 1672 | drivers/char/tty_io.c | fp = tty->flip.flag_buf + TTY_FLIPBUF_SIZE; |
flip | 1673 | drivers/char/tty_io.c | tty->flip.buf_num = 0; |
flip | 1676 | drivers/char/tty_io.c | tty->flip.char_buf_ptr = tty->flip.char_buf; |
flip | 1677 | drivers/char/tty_io.c | tty->flip.flag_buf_ptr = tty->flip.flag_buf; |
flip | 1679 | drivers/char/tty_io.c | cp = tty->flip.char_buf; |
flip | 1680 | drivers/char/tty_io.c | fp = tty->flip.flag_buf; |
flip | 1681 | drivers/char/tty_io.c | tty->flip.buf_num = 1; |
flip | 1684 | drivers/char/tty_io.c | tty->flip.char_buf_ptr = tty->flip.char_buf + TTY_FLIPBUF_SIZE; |
flip | 1685 | drivers/char/tty_io.c | tty->flip.flag_buf_ptr = tty->flip.flag_buf + TTY_FLIPBUF_SIZE; |
flip | 1687 | drivers/char/tty_io.c | count = tty->flip.count; |
flip | 1688 | drivers/char/tty_io.c | tty->flip.count = 0; |
flip | 1707 | drivers/char/tty_io.c | tty->flip.char_buf_ptr = tty->flip.char_buf; |
flip | 1708 | drivers/char/tty_io.c | tty->flip.flag_buf_ptr = tty->flip.flag_buf; |
flip | 1709 | drivers/char/tty_io.c | tty->flip.tqueue.routine = flush_to_ldisc; |
flip | 1710 | drivers/char/tty_io.c | tty->flip.tqueue.data = tty; |
flip | 64 | drivers/isdn/isdn_tty.c | c = TTY_FLIPBUF_SIZE - tty->flip.count - 1; |
flip | 67 | drivers/isdn/isdn_tty.c | memcpy(tty->flip.char_buf_ptr, buf, len); |
flip | 68 | drivers/isdn/isdn_tty.c | tty->flip.count += len; |
flip | 69 | drivers/isdn/isdn_tty.c | memset(tty->flip.flag_buf_ptr, 0, len); |
flip | 71 | drivers/isdn/isdn_tty.c | tty->flip.flag_buf_ptr[len - 1] = 0xff; |
flip | 72 | drivers/isdn/isdn_tty.c | tty->flip.flag_buf_ptr += len; |
flip | 73 | drivers/isdn/isdn_tty.c | tty->flip.char_buf_ptr += len; |
flip | 76 | drivers/isdn/isdn_tty.c | queue_task_irq_off(&tty->flip.tqueue, &tq_timer); |
flip | 105 | drivers/isdn/isdn_tty.c | c = TTY_FLIPBUF_SIZE - tty->flip.count - 1; |
flip | 108 | drivers/isdn/isdn_tty.c | tty->flip.char_buf_ptr, |
flip | 109 | drivers/isdn/isdn_tty.c | tty->flip.flag_buf_ptr, c, 0); |
flip | 111 | drivers/isdn/isdn_tty.c | memset(tty->flip.flag_buf_ptr, 0, r); |
flip | 112 | drivers/isdn/isdn_tty.c | tty->flip.count += r; |
flip | 113 | drivers/isdn/isdn_tty.c | tty->flip.flag_buf_ptr += r; |
flip | 114 | drivers/isdn/isdn_tty.c | tty->flip.char_buf_ptr += r; |
flip | 116 | drivers/isdn/isdn_tty.c | queue_task_irq_off(&tty->flip.tqueue, &tq_timer); |
flip | 1345 | drivers/isdn/isdn_tty.c | if (tty->flip.count >= TTY_FLIPBUF_SIZE) |
flip | 1350 | drivers/isdn/isdn_tty.c | queue_task(&tty->flip.tqueue, &tq_timer); |
flip | 219 | include/linux/tty.h | struct tty_flip_buffer flip; |
flip | 13 | include/linux/tty_flip.h | if (tty->flip.count++ >= TTY_FLIPBUF_SIZE) |
flip | 15 | include/linux/tty_flip.h | *tty->flip.flag_buf_ptr++ = flag; |
flip | 16 | include/linux/tty_flip.h | *tty->flip.char_buf_ptr++ = ch; |
flip | 21 | include/linux/tty_flip.h | queue_task(&tty->flip.tqueue, &tq_timer); |