tag | line | file | source code |
flip | 697 | drivers/char/cyclades.c | if (tty->flip.count < TTY_FLIPBUF_SIZE){ |
flip | 698 | drivers/char/cyclades.c | tty->flip.count++; |
flip | 701 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = |
flip | 703 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = |
flip | 709 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = |
flip | 711 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = |
flip | 714 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = |
flip | 716 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = |
flip | 719 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = |
flip | 721 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = 0; |
flip | 726 | drivers/char/cyclades.c | if(tty->flip.count < TTY_FLIPBUF_SIZE){ |
flip | 727 | drivers/char/cyclades.c | tty->flip.count++; |
flip | 728 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = |
flip | 730 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = |
flip | 738 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = 0; |
flip | 739 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = 0; |
flip | 742 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = 0; |
flip | 743 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = 0; |
flip | 761 | drivers/char/cyclades.c | if (tty->flip.count >= TTY_FLIPBUF_SIZE){ |
flip | 764 | drivers/char/cyclades.c | tty->flip.count++; |
flip | 766 | drivers/char/cyclades.c | *tty->flip.flag_buf_ptr++ = TTY_NORMAL; |
flip | 767 | drivers/char/cyclades.c | *tty->flip.char_buf_ptr++ = data; |
flip | 773 | drivers/char/cyclades.c | queue_task_irq_off(&tty->flip.tqueue, &tq_timer); |
flip | 2275 | drivers/char/istallion.c | len = MIN(len, (TTY_FLIPBUF_SIZE - tty->flip.count)); |
flip | 2280 | drivers/char/istallion.c | memcpy(tty->flip.char_buf_ptr, (char *) (shbuf + tail), stlen); |
flip | 2281 | drivers/char/istallion.c | memset(tty->flip.flag_buf_ptr, 0, stlen); |
flip | 2282 | drivers/char/istallion.c | tty->flip.char_buf_ptr += stlen; |
flip | 2283 | drivers/char/istallion.c | tty->flip.flag_buf_ptr += stlen; |
flip | 2284 | drivers/char/istallion.c | tty->flip.count += stlen; |
flip | 2460 | drivers/char/istallion.c | if (tty->flip.count < TTY_FLIPBUF_SIZE) { |
flip | 2461 | drivers/char/istallion.c | tty->flip.count++; |
flip | 2462 | drivers/char/istallion.c | *tty->flip.flag_buf_ptr++ = TTY_BREAK; |
flip | 2463 | drivers/char/istallion.c | *tty->flip.char_buf_ptr++ = 0; |
flip | 1556 | drivers/char/scc.c | while(tty->flip.count < TTY_FLIPBUF_SIZE-3) |
flip | 1613 | drivers/char/scc.c | queue_task(&tty->flip.tqueue, &tq_timer); |
flip | 1624 | drivers/char/scc.c | queue_task(&tty->flip.tqueue, &tq_timer); /* kick it... */ |
flip | 385 | drivers/char/serial.c | if (tty->flip.count >= TTY_FLIPBUF_SIZE) |
flip | 387 | drivers/char/serial.c | tty->flip.count++; |
flip | 390 | drivers/char/serial.c | *tty->flip.flag_buf_ptr++ = TTY_BREAK; |
flip | 394 | drivers/char/serial.c | *tty->flip.flag_buf_ptr++ = TTY_PARITY; |
flip | 396 | drivers/char/serial.c | *tty->flip.flag_buf_ptr++ = TTY_FRAME; |
flip | 398 | drivers/char/serial.c | *tty->flip.flag_buf_ptr++ = TTY_OVERRUN; |
flip | 400 | drivers/char/serial.c | *tty->flip.flag_buf_ptr++ = 0; |
flip | 401 | drivers/char/serial.c | *tty->flip.char_buf_ptr++ = ch; |
flip | 405 | drivers/char/serial.c | queue_task_irq_off(&tty->flip.tqueue, &tq_timer); |
flip | 1650 | drivers/char/stallion.c | if ((tty == (struct tty_struct *) NULL) || (tty->flip.char_buf_ptr == (char *) NULL) || |
flip | 1651 | drivers/char/stallion.c | ((buflen = TTY_FLIPBUF_SIZE - tty->flip.count) == 0)) { |
flip | 1658 | drivers/char/stallion.c | insb((ioaddr + EREG_DATA), tty->flip.char_buf_ptr, len); |
flip | 1659 | drivers/char/stallion.c | memset(tty->flip.flag_buf_ptr, 0, len); |
flip | 1660 | drivers/char/stallion.c | tty->flip.flag_buf_ptr += len; |
flip | 1661 | drivers/char/stallion.c | tty->flip.char_buf_ptr += len; |
flip | 1662 | drivers/char/stallion.c | tty->flip.count += len; |
flip | 1690 | drivers/char/stallion.c | if (tty->flip.char_buf_ptr != (char *) NULL) { |
flip | 1691 | drivers/char/stallion.c | if (tty->flip.count < TTY_FLIPBUF_SIZE) { |
flip | 1692 | drivers/char/stallion.c | *tty->flip.flag_buf_ptr++ = status; |
flip | 1693 | drivers/char/stallion.c | *tty->flip.char_buf_ptr++ = ch; |
flip | 1694 | drivers/char/stallion.c | tty->flip.count++; |
flip | 1104 | drivers/char/tty_io.c | if (tty->flip.tqueue.sync) { |
flip | 1108 | drivers/char/tty_io.c | if (tq == &tty->flip.tqueue) { |
flip | 1635 | drivers/char/tty_io.c | if (tty->flip.buf_num) { |
flip | 1636 | drivers/char/tty_io.c | cp = tty->flip.char_buf + TTY_FLIPBUF_SIZE; |
flip | 1637 | drivers/char/tty_io.c | fp = tty->flip.flag_buf + TTY_FLIPBUF_SIZE; |
flip | 1638 | drivers/char/tty_io.c | tty->flip.buf_num = 0; |
flip | 1641 | drivers/char/tty_io.c | tty->flip.char_buf_ptr = tty->flip.char_buf; |
flip | 1642 | drivers/char/tty_io.c | tty->flip.flag_buf_ptr = tty->flip.flag_buf; |
flip | 1644 | drivers/char/tty_io.c | cp = tty->flip.char_buf; |
flip | 1645 | drivers/char/tty_io.c | fp = tty->flip.flag_buf; |
flip | 1646 | drivers/char/tty_io.c | tty->flip.buf_num = 1; |
flip | 1649 | drivers/char/tty_io.c | tty->flip.char_buf_ptr = tty->flip.char_buf + TTY_FLIPBUF_SIZE; |
flip | 1650 | drivers/char/tty_io.c | tty->flip.flag_buf_ptr = tty->flip.flag_buf + TTY_FLIPBUF_SIZE; |
flip | 1652 | drivers/char/tty_io.c | count = tty->flip.count; |
flip | 1653 | drivers/char/tty_io.c | tty->flip.count = 0; |
flip | 1672 | drivers/char/tty_io.c | tty->flip.char_buf_ptr = tty->flip.char_buf; |
flip | 1673 | drivers/char/tty_io.c | tty->flip.flag_buf_ptr = tty->flip.flag_buf; |
flip | 1674 | drivers/char/tty_io.c | tty->flip.tqueue.routine = flush_to_ldisc; |
flip | 1675 | drivers/char/tty_io.c | tty->flip.tqueue.data = tty; |
flip | 217 | 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); |