tag | line | file | source code |
ldisc | 1018 | drivers/char/cyclades.c | && tty->ldisc.write_wakeup){ |
ldisc | 1019 | drivers/char/cyclades.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1718 | drivers/char/cyclades.c | && tty->ldisc.write_wakeup) |
ldisc | 1719 | drivers/char/cyclades.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1739 | drivers/char/cyclades.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1781 | drivers/char/cyclades.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 2377 | drivers/char/cyclades.c | if (tty->ldisc.flush_buffer) |
ldisc | 2378 | drivers/char/cyclades.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1038 | drivers/char/istallion.c | if (tty->ldisc.flush_buffer) |
ldisc | 1039 | drivers/char/istallion.c | (tty->ldisc.flush_buffer)(tty); |
ldisc | 2257 | drivers/char/istallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 2258 | drivers/char/istallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 2532 | drivers/char/istallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 2533 | drivers/char/istallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 108 | drivers/char/pty.c | o_tty->ldisc.write_wakeup) |
ldisc | 109 | drivers/char/pty.c | (o_tty->ldisc.write_wakeup)(o_tty); |
ldisc | 131 | drivers/char/pty.c | r = to->ldisc.receive_room(to); |
ldisc | 135 | drivers/char/pty.c | to->ldisc.receive_buf(to, temp_buffer, 0, n); |
ldisc | 141 | drivers/char/pty.c | c = MIN(count, to->ldisc.receive_room(to)); |
ldisc | 142 | drivers/char/pty.c | to->ldisc.receive_buf(to, buf, 0, c); |
ldisc | 155 | drivers/char/pty.c | return to->ldisc.receive_room(to); |
ldisc | 162 | drivers/char/pty.c | if (!to || !to->ldisc.chars_in_buffer) |
ldisc | 165 | drivers/char/pty.c | return to->ldisc.chars_in_buffer(to); |
ldisc | 175 | drivers/char/pty.c | if (to->ldisc.flush_buffer) |
ldisc | 176 | drivers/char/pty.c | to->ldisc.flush_buffer(to); |
ldisc | 2504 | drivers/char/scc.c | tty->ldisc.write_wakeup) |
ldisc | 2505 | drivers/char/scc.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 2578 | drivers/char/scc.c | tty->ldisc.write_wakeup) |
ldisc | 2579 | 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 | 742 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 743 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1399 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 1400 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1418 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1441 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 2157 | drivers/char/serial.c | if (tty->ldisc.flush_buffer) |
ldisc | 2158 | drivers/char/serial.c | tty->ldisc.flush_buffer(tty); |
ldisc | 2162 | drivers/char/serial.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 2163 | drivers/char/serial.c | if (tty->ldisc.close) |
ldisc | 2164 | drivers/char/serial.c | (tty->ldisc.close)(tty); |
ldisc | 2165 | drivers/char/serial.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 2167 | drivers/char/serial.c | if (tty->ldisc.open) |
ldisc | 2168 | drivers/char/serial.c | (tty->ldisc.open)(tty); |
ldisc | 845 | drivers/char/stallion.c | if (tty->ldisc.flush_buffer) |
ldisc | 846 | drivers/char/stallion.c | (tty->ldisc.flush_buffer)(tty); |
ldisc | 1481 | drivers/char/stallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 1482 | drivers/char/stallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1906 | drivers/char/stallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 1907 | drivers/char/stallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 215 | drivers/char/tty_io.c | static int tty_set_ldisc(struct tty_struct *tty, int ldisc) |
ldisc | 220 | drivers/char/tty_io.c | if ((ldisc < N_TTY) || (ldisc >= NR_LDISCS)) |
ldisc | 224 | drivers/char/tty_io.c | if (!(ldiscs[ldisc].flags & LDISC_FLAG_DEFINED)) { |
ldisc | 226 | drivers/char/tty_io.c | sprintf(modname, "tty-ldisc-%d", ldisc); |
ldisc | 230 | drivers/char/tty_io.c | if (!(ldiscs[ldisc].flags & LDISC_FLAG_DEFINED)) |
ldisc | 233 | drivers/char/tty_io.c | if (tty->ldisc.num == ldisc) |
ldisc | 235 | drivers/char/tty_io.c | o_ldisc = tty->ldisc; |
ldisc | 240 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 241 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 244 | drivers/char/tty_io.c | tty->ldisc = ldiscs[ldisc]; |
ldisc | 245 | drivers/char/tty_io.c | tty->termios->c_line = ldisc; |
ldisc | 246 | drivers/char/tty_io.c | if (tty->ldisc.open) |
ldisc | 247 | drivers/char/tty_io.c | retval = (tty->ldisc.open)(tty); |
ldisc | 249 | drivers/char/tty_io.c | tty->ldisc = o_ldisc; |
ldisc | 250 | drivers/char/tty_io.c | tty->termios->c_line = tty->ldisc.num; |
ldisc | 251 | drivers/char/tty_io.c | if (tty->ldisc.open && (tty->ldisc.open(tty) < 0)) { |
ldisc | 252 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 254 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 255 | drivers/char/tty_io.c | int r = tty->ldisc.open(tty); |
ldisc | 264 | drivers/char/tty_io.c | if (tty->ldisc.num != o_ldisc.num && tty->driver.set_ldisc) |
ldisc | 392 | drivers/char/tty_io.c | if (tty->ldisc.flush_buffer) |
ldisc | 393 | drivers/char/tty_io.c | tty->ldisc.flush_buffer(tty); |
ldisc | 397 | drivers/char/tty_io.c | tty->ldisc.write_wakeup) |
ldisc | 398 | drivers/char/tty_io.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 406 | drivers/char/tty_io.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 407 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 408 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 409 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 411 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 412 | drivers/char/tty_io.c | i = (tty->ldisc.open)(tty); |
ldisc | 713 | drivers/char/tty_io.c | tty->ldisc.write_wakeup) |
ldisc | 714 | drivers/char/tty_io.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 745 | drivers/char/tty_io.c | if (tty->ldisc.read) |
ldisc | 747 | drivers/char/tty_io.c | i = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count); |
ldisc | 781 | drivers/char/tty_io.c | if (tty->ldisc.write) |
ldisc | 783 | drivers/char/tty_io.c | i = (tty->ldisc.write)(tty,file,(const unsigned char *)buf,(unsigned int)count); |
ldisc | 903 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 904 | drivers/char/tty_io.c | retval = (tty->ldisc.open)(tty); |
ldisc | 935 | drivers/char/tty_io.c | if (o_tty->ldisc.open) { |
ldisc | 936 | drivers/char/tty_io.c | retval = (o_tty->ldisc.open)(o_tty); |
ldisc | 1106 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 1107 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 1108 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1111 | drivers/char/tty_io.c | if (o_tty->ldisc.close) |
ldisc | 1112 | drivers/char/tty_io.c | (o_tty->ldisc.close)(o_tty); |
ldisc | 1113 | drivers/char/tty_io.c | o_tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1253 | drivers/char/tty_io.c | if (tty->ldisc.select) |
ldisc | 1254 | drivers/char/tty_io.c | return (tty->ldisc.select)(tty, inode, filp, sel_type, wait); |
ldisc | 1390 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, &ch, &mbz, 1); |
ldisc | 1517 | drivers/char/tty_io.c | put_user(tty->ldisc.num, (int *) arg); |
ldisc | 1599 | drivers/char/tty_io.c | if (tty->ldisc.ioctl) { |
ldisc | 1600 | drivers/char/tty_io.c | retval = (tty->ldisc.ioctl)(tty, file, |
ldisc | 1635 | drivers/char/tty_io.c | if (tty->ldisc.flush_buffer) |
ldisc | 1636 | drivers/char/tty_io.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1695 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, cp, fp, count); |
ldisc | 1705 | 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 | 342 | drivers/char/vt.c | if (tty->ldisc.flush_buffer) |
ldisc | 343 | drivers/char/vt.c | tty->ldisc.flush_buffer(tty); |
ldisc | 876 | drivers/net/ppp.c | if (tty->ldisc.flush_buffer) |
ldisc | 877 | drivers/net/ppp.c | tty->ldisc.flush_buffer (tty); |
ldisc | 762 | drivers/net/slip.c | if (tty->ldisc.flush_buffer) { |
ldisc | 763 | drivers/net/slip.c | tty->ldisc.flush_buffer(tty); |
ldisc | 202 | include/linux/tty.h | struct tty_ldisc ldisc; |