tag | line | file | source code |
ldisc | 1040 | drivers/char/cyclades.c | && tty->ldisc.write_wakeup){ |
ldisc | 1041 | drivers/char/cyclades.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1738 | drivers/char/cyclades.c | && tty->ldisc.write_wakeup) |
ldisc | 1739 | drivers/char/cyclades.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1759 | drivers/char/cyclades.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1801 | drivers/char/cyclades.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 2390 | drivers/char/cyclades.c | if (tty->ldisc.flush_buffer) |
ldisc | 2391 | drivers/char/cyclades.c | tty->ldisc.flush_buffer(tty); |
ldisc | 937 | drivers/char/istallion.c | if (tty->ldisc.flush_buffer) |
ldisc | 938 | drivers/char/istallion.c | (tty->ldisc.flush_buffer)(tty); |
ldisc | 2172 | drivers/char/istallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 2173 | drivers/char/istallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 2449 | drivers/char/istallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) { |
ldisc | 2450 | drivers/char/istallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 492 | drivers/char/pcxx.c | if(tty->ldisc.flush_buffer) |
ldisc | 493 | drivers/char/pcxx.c | tty->ldisc.flush_buffer(tty); |
ldisc | 498 | drivers/char/pcxx.c | if(tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 499 | drivers/char/pcxx.c | if(tty->ldisc.close) |
ldisc | 500 | drivers/char/pcxx.c | (tty->ldisc.close)(tty); |
ldisc | 501 | drivers/char/pcxx.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 503 | drivers/char/pcxx.c | if(tty->ldisc.open) |
ldisc | 504 | drivers/char/pcxx.c | (tty->ldisc.open)(tty); |
ldisc | 742 | drivers/char/pcxx.c | if((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 743 | drivers/char/pcxx.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1494 | drivers/char/pcxx.c | tty->ldisc.write_wakeup) |
ldisc | 1495 | drivers/char/pcxx.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1505 | drivers/char/pcxx.c | tty->ldisc.write_wakeup) |
ldisc | 1506 | drivers/char/pcxx.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1973 | drivers/char/pcxx.c | if(tty->ldisc.flush_buffer) |
ldisc | 1974 | drivers/char/pcxx.c | tty->ldisc.flush_buffer(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 | 1182 | drivers/char/riscom8.c | if (tty->ldisc.flush_buffer) |
ldisc | 1183 | drivers/char/riscom8.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1335 | drivers/char/riscom8.c | tty->ldisc.write_wakeup) |
ldisc | 1336 | drivers/char/riscom8.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1717 | drivers/char/riscom8.c | tty->ldisc.write_wakeup) |
ldisc | 1718 | drivers/char/riscom8.c | (tty->ldisc.write_wakeup)(tty); |
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 | 295 | drivers/char/selection.c | l = MIN(c, tty->ldisc.receive_room(tty)); |
ldisc | 296 | drivers/char/selection.c | tty->ldisc.receive_buf(tty, bp, 0, l); |
ldisc | 759 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 760 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1424 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 1425 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1443 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1466 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 2189 | drivers/char/serial.c | if (tty->ldisc.flush_buffer) |
ldisc | 2190 | drivers/char/serial.c | tty->ldisc.flush_buffer(tty); |
ldisc | 807 | drivers/char/stallion.c | if (tty->ldisc.flush_buffer) |
ldisc | 808 | drivers/char/stallion.c | (tty->ldisc.flush_buffer)(tty); |
ldisc | 1456 | drivers/char/stallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 1457 | drivers/char/stallion.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1904 | drivers/char/stallion.c | if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) |
ldisc | 1905 | 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 | 432 | drivers/isdn/isdn_tty.c | tty->ldisc.write_wakeup) |
ldisc | 433 | drivers/isdn/isdn_tty.c | (tty->ldisc.write_wakeup) (tty); |
ldisc | 495 | drivers/isdn/isdn_tty.c | tty->ldisc.write_wakeup) |
ldisc | 496 | drivers/isdn/isdn_tty.c | (tty->ldisc.write_wakeup) (tty); |
ldisc | 1038 | drivers/isdn/isdn_tty.c | if (tty->ldisc.flush_buffer) |
ldisc | 1039 | drivers/isdn/isdn_tty.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1043 | drivers/isdn/isdn_tty.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 1044 | drivers/isdn/isdn_tty.c | if (tty->ldisc.close) |
ldisc | 1045 | drivers/isdn/isdn_tty.c | (tty->ldisc.close) (tty); |
ldisc | 1046 | drivers/isdn/isdn_tty.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1048 | drivers/isdn/isdn_tty.c | if (tty->ldisc.open) |
ldisc | 1049 | drivers/isdn/isdn_tty.c | (tty->ldisc.open) (tty); |
ldisc | 2035 | drivers/isdn/isdn_tty.c | tty->ldisc.write_wakeup) |
ldisc | 2036 | drivers/isdn/isdn_tty.c | (tty->ldisc.write_wakeup) (tty); |
ldisc | 808 | drivers/net/ppp.c | if (tty->ldisc.flush_buffer) |
ldisc | 809 | drivers/net/ppp.c | tty->ldisc.flush_buffer (tty); |
ldisc | 761 | drivers/net/slip.c | if (tty->ldisc.flush_buffer) { |
ldisc | 762 | drivers/net/slip.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1326 | drivers/net/strip.c | if (tty->ldisc.flush_buffer) |
ldisc | 1327 | drivers/net/strip.c | tty->ldisc.flush_buffer(tty); |
ldisc | 647 | drivers/sbus/char/sunserial.c | tty->ldisc.write_wakeup) |
ldisc | 648 | drivers/sbus/char/sunserial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1161 | drivers/sbus/char/sunserial.c | tty->ldisc.write_wakeup) |
ldisc | 1162 | drivers/sbus/char/sunserial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1180 | drivers/sbus/char/sunserial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1204 | drivers/sbus/char/sunserial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1512 | drivers/sbus/char/sunserial.c | if (tty->ldisc.flush_buffer) |
ldisc | 1513 | drivers/sbus/char/sunserial.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1517 | drivers/sbus/char/sunserial.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 1518 | drivers/sbus/char/sunserial.c | if (tty->ldisc.close) |
ldisc | 1519 | drivers/sbus/char/sunserial.c | (tty->ldisc.close)(tty); |
ldisc | 1520 | drivers/sbus/char/sunserial.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1522 | drivers/sbus/char/sunserial.c | if (tty->ldisc.open) |
ldisc | 1523 | drivers/sbus/char/sunserial.c | (tty->ldisc.open)(tty); |
ldisc | 208 | include/linux/tty.h | struct tty_ldisc ldisc; |