tag | line | file | source code |
ldisc | 960 | drivers/char/cyclades.c | && tty->ldisc.write_wakeup){ |
ldisc | 961 | drivers/char/cyclades.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1667 | drivers/char/cyclades.c | && tty->ldisc.write_wakeup) |
ldisc | 1668 | drivers/char/cyclades.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1688 | drivers/char/cyclades.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1729 | drivers/char/cyclades.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 2306 | drivers/char/cyclades.c | if (tty->ldisc.flush_buffer) |
ldisc | 2307 | drivers/char/cyclades.c | tty->ldisc.flush_buffer(tty); |
ldisc | 2310 | drivers/char/cyclades.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 2311 | drivers/char/cyclades.c | if (tty->ldisc.close) |
ldisc | 2312 | drivers/char/cyclades.c | (tty->ldisc.close)(tty); |
ldisc | 2313 | drivers/char/cyclades.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 2315 | drivers/char/cyclades.c | if (tty->ldisc.open) |
ldisc | 2316 | drivers/char/cyclades.c | (tty->ldisc.open)(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 | 287 | drivers/char/selection.c | l = MIN(c, tty->ldisc.receive_room(tty)); |
ldisc | 288 | drivers/char/selection.c | tty->ldisc.receive_buf(tty, bp, 0, l); |
ldisc | 733 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 734 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1349 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 1350 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1368 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1391 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 2039 | drivers/char/serial.c | if (tty->ldisc.flush_buffer) |
ldisc | 2040 | drivers/char/serial.c | tty->ldisc.flush_buffer(tty); |
ldisc | 2044 | drivers/char/serial.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 2045 | drivers/char/serial.c | if (tty->ldisc.close) |
ldisc | 2046 | drivers/char/serial.c | (tty->ldisc.close)(tty); |
ldisc | 2047 | drivers/char/serial.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 2049 | drivers/char/serial.c | if (tty->ldisc.open) |
ldisc | 2050 | drivers/char/serial.c | (tty->ldisc.open)(tty); |
ldisc | 194 | drivers/char/tty_io.c | static int tty_set_ldisc(struct tty_struct *tty, int ldisc) |
ldisc | 199 | drivers/char/tty_io.c | if ((ldisc < N_TTY) || (ldisc >= NR_LDISCS) || |
ldisc | 200 | drivers/char/tty_io.c | !(ldiscs[ldisc].flags & LDISC_FLAG_DEFINED)) |
ldisc | 203 | drivers/char/tty_io.c | if (tty->ldisc.num == ldisc) |
ldisc | 205 | drivers/char/tty_io.c | o_ldisc = tty->ldisc; |
ldisc | 208 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 209 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 212 | drivers/char/tty_io.c | tty->ldisc = ldiscs[ldisc]; |
ldisc | 213 | drivers/char/tty_io.c | tty->termios->c_line = ldisc; |
ldisc | 214 | drivers/char/tty_io.c | if (tty->ldisc.open) |
ldisc | 215 | drivers/char/tty_io.c | retval = (tty->ldisc.open)(tty); |
ldisc | 217 | drivers/char/tty_io.c | tty->ldisc = o_ldisc; |
ldisc | 218 | drivers/char/tty_io.c | tty->termios->c_line = tty->ldisc.num; |
ldisc | 219 | drivers/char/tty_io.c | if (tty->ldisc.open && (tty->ldisc.open(tty) < 0)) { |
ldisc | 220 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 222 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 223 | drivers/char/tty_io.c | int r = tty->ldisc.open(tty); |
ldisc | 232 | drivers/char/tty_io.c | if (tty->ldisc.num != o_ldisc.num && tty->driver.set_ldisc) |
ldisc | 359 | drivers/char/tty_io.c | if (tty->ldisc.flush_buffer) |
ldisc | 360 | drivers/char/tty_io.c | tty->ldisc.flush_buffer(tty); |
ldisc | 364 | drivers/char/tty_io.c | tty->ldisc.write_wakeup) |
ldisc | 365 | drivers/char/tty_io.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 373 | drivers/char/tty_io.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 374 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 375 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 376 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 378 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 379 | drivers/char/tty_io.c | i = (tty->ldisc.open)(tty); |
ldisc | 669 | drivers/char/tty_io.c | tty->ldisc.write_wakeup) |
ldisc | 670 | drivers/char/tty_io.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 701 | drivers/char/tty_io.c | if (tty->ldisc.read) |
ldisc | 703 | drivers/char/tty_io.c | i = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count); |
ldisc | 737 | drivers/char/tty_io.c | if (tty->ldisc.write) |
ldisc | 739 | drivers/char/tty_io.c | i = (tty->ldisc.write)(tty,file,(unsigned char *)buf,(unsigned int)count); |
ldisc | 859 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 860 | drivers/char/tty_io.c | retval = (tty->ldisc.open)(tty); |
ldisc | 884 | drivers/char/tty_io.c | if (o_tty->ldisc.open) { |
ldisc | 885 | drivers/char/tty_io.c | retval = (o_tty->ldisc.open)(o_tty); |
ldisc | 1046 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 1047 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 1048 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1051 | drivers/char/tty_io.c | if (o_tty->ldisc.close) |
ldisc | 1052 | drivers/char/tty_io.c | (o_tty->ldisc.close)(o_tty); |
ldisc | 1053 | drivers/char/tty_io.c | o_tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1196 | drivers/char/tty_io.c | if (tty->ldisc.select) |
ldisc | 1197 | drivers/char/tty_io.c | return (tty->ldisc.select)(tty, inode, filp, sel_type, wait); |
ldisc | 1310 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, &ch, &mbz, 1); |
ldisc | 1437 | drivers/char/tty_io.c | put_fs_long(tty->ldisc.num, (unsigned long *) arg); |
ldisc | 1508 | drivers/char/tty_io.c | if (tty->ldisc.ioctl) { |
ldisc | 1509 | drivers/char/tty_io.c | retval = (tty->ldisc.ioctl)(tty, file, |
ldisc | 1544 | drivers/char/tty_io.c | if (tty->ldisc.flush_buffer) |
ldisc | 1545 | drivers/char/tty_io.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1604 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, cp, fp, count); |
ldisc | 1614 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 131 | drivers/char/tty_ioctl.c | if ((opt & TERMIOS_FLUSH) && tty->ldisc.flush_buffer) |
ldisc | 132 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 174 | drivers/char/tty_ioctl.c | if (tty->ldisc.set_termios) |
ldisc | 175 | drivers/char/tty_ioctl.c | (*tty->ldisc.set_termios)(tty, &old_termios); |
ldisc | 286 | drivers/char/tty_ioctl.c | if (tty->ldisc.flush_buffer) |
ldisc | 287 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 290 | drivers/char/tty_ioctl.c | if (tty->ldisc.flush_buffer) |
ldisc | 291 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 273 | drivers/char/vt.c | if (tty->ldisc.flush_buffer) |
ldisc | 274 | drivers/char/vt.c | tty->ldisc.flush_buffer(tty); |
ldisc | 537 | drivers/net/ppp.c | if (tty->ldisc.flush_buffer) |
ldisc | 538 | drivers/net/ppp.c | tty->ldisc.flush_buffer(tty); |
ldisc | 692 | drivers/net/slip.c | if (tty->ldisc.flush_buffer) { |
ldisc | 693 | drivers/net/slip.c | tty->ldisc.flush_buffer(tty); |
ldisc | 197 | include/linux/tty.h | struct tty_ldisc ldisc; |