tag | line | file | source code |
ldisc | 1000 | drivers/char/cyclades.c | && tty->ldisc.write_wakeup){ |
ldisc | 1001 | drivers/char/cyclades.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1694 | drivers/char/cyclades.c | && tty->ldisc.write_wakeup) |
ldisc | 1695 | drivers/char/cyclades.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1715 | drivers/char/cyclades.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1757 | drivers/char/cyclades.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 2340 | drivers/char/cyclades.c | if (tty->ldisc.flush_buffer) |
ldisc | 2341 | drivers/char/cyclades.c | tty->ldisc.flush_buffer(tty); |
ldisc | 2344 | drivers/char/cyclades.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 2345 | drivers/char/cyclades.c | if (tty->ldisc.close) |
ldisc | 2346 | drivers/char/cyclades.c | (tty->ldisc.close)(tty); |
ldisc | 2347 | drivers/char/cyclades.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 2349 | drivers/char/cyclades.c | if (tty->ldisc.open) |
ldisc | 2350 | drivers/char/cyclades.c | (tty->ldisc.open)(tty); |
ldisc | 1041 | drivers/char/istallion.c | if (tty->ldisc.flush_buffer) |
ldisc | 1042 | drivers/char/istallion.c | (tty->ldisc.flush_buffer)(tty); |
ldisc | 2223 | drivers/char/istallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 2224 | drivers/char/istallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 2496 | drivers/char/istallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 2497 | drivers/char/istallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 106 | drivers/char/pty.c | o_tty->ldisc.write_wakeup) |
ldisc | 107 | drivers/char/pty.c | (o_tty->ldisc.write_wakeup)(o_tty); |
ldisc | 129 | drivers/char/pty.c | r = to->ldisc.receive_room(to); |
ldisc | 133 | drivers/char/pty.c | to->ldisc.receive_buf(to, temp_buffer, 0, n); |
ldisc | 139 | drivers/char/pty.c | c = MIN(count, to->ldisc.receive_room(to)); |
ldisc | 140 | drivers/char/pty.c | to->ldisc.receive_buf(to, buf, 0, c); |
ldisc | 153 | drivers/char/pty.c | return to->ldisc.receive_room(to); |
ldisc | 160 | drivers/char/pty.c | if (!to || !to->ldisc.chars_in_buffer) |
ldisc | 163 | drivers/char/pty.c | return to->ldisc.chars_in_buffer(to); |
ldisc | 173 | drivers/char/pty.c | if (to->ldisc.flush_buffer) |
ldisc | 174 | drivers/char/pty.c | to->ldisc.flush_buffer(to); |
ldisc | 2247 | drivers/char/scc.c | tty->ldisc.write_wakeup) |
ldisc | 2248 | drivers/char/scc.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 288 | drivers/char/selection.c | l = MIN(c, tty->ldisc.receive_room(tty)); |
ldisc | 289 | drivers/char/selection.c | tty->ldisc.receive_buf(tty, bp, 0, l); |
ldisc | 727 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 728 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1373 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 1374 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1392 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1415 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 2079 | drivers/char/serial.c | if (tty->ldisc.flush_buffer) |
ldisc | 2080 | drivers/char/serial.c | tty->ldisc.flush_buffer(tty); |
ldisc | 2084 | drivers/char/serial.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 2085 | drivers/char/serial.c | if (tty->ldisc.close) |
ldisc | 2086 | drivers/char/serial.c | (tty->ldisc.close)(tty); |
ldisc | 2087 | drivers/char/serial.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 2089 | drivers/char/serial.c | if (tty->ldisc.open) |
ldisc | 2090 | drivers/char/serial.c | (tty->ldisc.open)(tty); |
ldisc | 890 | drivers/char/stallion.c | if (tty->ldisc.flush_buffer) |
ldisc | 891 | drivers/char/stallion.c | (tty->ldisc.flush_buffer)(tty); |
ldisc | 1526 | drivers/char/stallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 1527 | drivers/char/stallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1951 | drivers/char/stallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 1952 | drivers/char/stallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 201 | drivers/char/tty_io.c | static int tty_set_ldisc(struct tty_struct *tty, int ldisc) |
ldisc | 206 | drivers/char/tty_io.c | if ((ldisc < N_TTY) || (ldisc >= NR_LDISCS) || |
ldisc | 207 | drivers/char/tty_io.c | !(ldiscs[ldisc].flags & LDISC_FLAG_DEFINED)) |
ldisc | 210 | drivers/char/tty_io.c | if (tty->ldisc.num == ldisc) |
ldisc | 212 | drivers/char/tty_io.c | o_ldisc = tty->ldisc; |
ldisc | 217 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 218 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 221 | drivers/char/tty_io.c | tty->ldisc = ldiscs[ldisc]; |
ldisc | 222 | drivers/char/tty_io.c | tty->termios->c_line = ldisc; |
ldisc | 223 | drivers/char/tty_io.c | if (tty->ldisc.open) |
ldisc | 224 | drivers/char/tty_io.c | retval = (tty->ldisc.open)(tty); |
ldisc | 226 | drivers/char/tty_io.c | tty->ldisc = o_ldisc; |
ldisc | 227 | drivers/char/tty_io.c | tty->termios->c_line = tty->ldisc.num; |
ldisc | 228 | drivers/char/tty_io.c | if (tty->ldisc.open && (tty->ldisc.open(tty) < 0)) { |
ldisc | 229 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 231 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 232 | drivers/char/tty_io.c | int r = tty->ldisc.open(tty); |
ldisc | 241 | drivers/char/tty_io.c | if (tty->ldisc.num != o_ldisc.num && tty->driver.set_ldisc) |
ldisc | 368 | drivers/char/tty_io.c | if (tty->ldisc.flush_buffer) |
ldisc | 369 | drivers/char/tty_io.c | tty->ldisc.flush_buffer(tty); |
ldisc | 373 | drivers/char/tty_io.c | tty->ldisc.write_wakeup) |
ldisc | 374 | drivers/char/tty_io.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 382 | drivers/char/tty_io.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 383 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 384 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 385 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 387 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 388 | drivers/char/tty_io.c | i = (tty->ldisc.open)(tty); |
ldisc | 683 | drivers/char/tty_io.c | tty->ldisc.write_wakeup) |
ldisc | 684 | drivers/char/tty_io.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 715 | drivers/char/tty_io.c | if (tty->ldisc.read) |
ldisc | 717 | drivers/char/tty_io.c | i = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count); |
ldisc | 751 | drivers/char/tty_io.c | if (tty->ldisc.write) |
ldisc | 753 | drivers/char/tty_io.c | i = (tty->ldisc.write)(tty,file,(const unsigned char *)buf,(unsigned int)count); |
ldisc | 873 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 874 | drivers/char/tty_io.c | retval = (tty->ldisc.open)(tty); |
ldisc | 905 | drivers/char/tty_io.c | if (o_tty->ldisc.open) { |
ldisc | 906 | drivers/char/tty_io.c | retval = (o_tty->ldisc.open)(o_tty); |
ldisc | 1071 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 1072 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 1073 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1076 | drivers/char/tty_io.c | if (o_tty->ldisc.close) |
ldisc | 1077 | drivers/char/tty_io.c | (o_tty->ldisc.close)(o_tty); |
ldisc | 1078 | drivers/char/tty_io.c | o_tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1218 | drivers/char/tty_io.c | if (tty->ldisc.select) |
ldisc | 1219 | drivers/char/tty_io.c | return (tty->ldisc.select)(tty, inode, filp, sel_type, wait); |
ldisc | 1355 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, &ch, &mbz, 1); |
ldisc | 1482 | drivers/char/tty_io.c | put_user(tty->ldisc.num, (int *) arg); |
ldisc | 1553 | drivers/char/tty_io.c | if (tty->ldisc.ioctl) { |
ldisc | 1554 | drivers/char/tty_io.c | retval = (tty->ldisc.ioctl)(tty, file, |
ldisc | 1589 | drivers/char/tty_io.c | if (tty->ldisc.flush_buffer) |
ldisc | 1590 | drivers/char/tty_io.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1649 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, cp, fp, count); |
ldisc | 1659 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 139 | drivers/char/tty_ioctl.c | if (tty->ldisc.set_termios) |
ldisc | 140 | drivers/char/tty_ioctl.c | (*tty->ldisc.set_termios)(tty, &old_termios); |
ldisc | 169 | drivers/char/tty_ioctl.c | if ((opt & TERMIOS_FLUSH) && tty->ldisc.flush_buffer) |
ldisc | 170 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 461 | drivers/char/tty_ioctl.c | if (tty->ldisc.flush_buffer) |
ldisc | 462 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 465 | drivers/char/tty_ioctl.c | if (tty->ldisc.flush_buffer) |
ldisc | 466 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 321 | drivers/char/vt.c | if (tty->ldisc.flush_buffer) |
ldisc | 322 | drivers/char/vt.c | tty->ldisc.flush_buffer(tty); |
ldisc | 538 | drivers/net/ppp.c | if (tty->ldisc.flush_buffer) |
ldisc | 539 | drivers/net/ppp.c | tty->ldisc.flush_buffer(tty); |
ldisc | 747 | drivers/net/slip.c | if (tty->ldisc.flush_buffer) { |
ldisc | 748 | drivers/net/slip.c | tty->ldisc.flush_buffer(tty); |
ldisc | 202 | include/linux/tty.h | struct tty_ldisc ldisc; |