taglinefilesource code
driver1315drivers/char/console.cconsole_num = MINOR(tty->device) - (tty->driver.minor_start);
driver1330drivers/char/console.cconsole_num = MINOR(tty->device) - (tty->driver.minor_start);
driver2158drivers/char/console.cidx = MINOR(tty->device) - tty->driver.minor_start;
driver515drivers/char/keyboard.c(L_ECHO(tty) || (tty->driver.chars_in_buffer(tty) == 0)))) {
driver79drivers/char/n_tty.cif (tty->driver.unthrottle)
driver80drivers/char/n_tty.c(tty->driver.unthrottle)(tty);
driver103drivers/char/n_tty.cspace = tty->driver.write_room(tty);
driver115drivers/char/n_tty.ctty->driver.put_char(tty, '\r');
driver137drivers/char/n_tty.ctty->driver.write(tty, 0, "        ", spaces);
driver154drivers/char/n_tty.ctty->driver.put_char(tty, c);
driver160drivers/char/n_tty.ctty->driver.put_char(tty, c);
driver292drivers/char/n_tty.cif (tty->driver.flush_buffer)
driver293drivers/char/n_tty.ctty->driver.flush_buffer(tty);
driver566drivers/char/n_tty.cif (tty->driver.flush_chars)
driver567drivers/char/n_tty.ctty->driver.flush_chars(tty);
driver578drivers/char/n_tty.ctty->driver.throttle &&
driver580drivers/char/n_tty.ctty->driver.throttle(tty);
driver660drivers/char/n_tty.c(tty->driver.flags & TTY_DRIVER_REAL_RAW))
driver877drivers/char/n_tty.cif (tty->driver.unthrottle &&
driver880drivers/char/n_tty.ctty->driver.unthrottle(tty);
driver937drivers/char/n_tty.cif (tty->driver.flush_chars)
driver938drivers/char/n_tty.ctty->driver.flush_chars(tty);
driver940drivers/char/n_tty.cc = tty->driver.write(tty, 1, b, nr);
driver982drivers/char/n_tty.cif (tty->driver.chars_in_buffer(tty) < WAKEUP_CHARS)
driver67drivers/char/pty.cif (tty->driver.subtype == PTY_TYPE_MASTER) {
driver80drivers/char/pty.cif (tty->driver.subtype == PTY_TYPE_MASTER)
driver125drivers/char/pty.c((tty->driver.subtype-1) * PTY_BUF_SIZE);
driver189drivers/char/pty.cline = MINOR(tty->device) - tty->driver.minor_start;
driver201drivers/char/pty.cif (tty->driver.subtype == PTY_TYPE_SLAVE)
driver1866drivers/char/serial.cif (tty->driver.flush_buffer)
driver1867drivers/char/serial.ctty->driver.flush_buffer(tty);
driver1944drivers/char/serial.cif (tty->driver.subtype == SERIAL_TYPE_CALLOUT) {
driver2049drivers/char/serial.cline = MINOR(tty->device) - tty->driver.minor_start;
driver2057drivers/char/serial.cprintk("rs_open %s%d, count = %d\n", tty->driver.name, info->line,
driver2087drivers/char/serial.cif (tty->driver.subtype == SERIAL_TYPE_NORMAL)
driver113drivers/char/tty_io.csprintf(buf, "%s%d", tty->driver.name,
driver114drivers/char/tty_io.cMINOR(tty->device) - tty->driver.minor_start +
driver115drivers/char/tty_io.ctty->driver.name_base);
driver205drivers/char/tty_io.cif (tty->ldisc.num != o_ldisc.num && tty->driver.set_ldisc)
driver206drivers/char/tty_io.ctty->driver.set_ldisc(tty);
driver333drivers/char/tty_io.cif (tty->driver.flush_buffer)
driver334drivers/char/tty_io.ctty->driver.flush_buffer(tty);
driver369drivers/char/tty_io.cif (tty->driver.flags & TTY_DRIVER_RESET_TERMIOS)
driver370drivers/char/tty_io.c*tty->termios = tty->driver.init_termios;
driver371drivers/char/tty_io.cif (tty->driver.hangup)
driver372drivers/char/tty_io.c(tty->driver.hangup)(tty);
driver615drivers/char/tty_io.cif (tty->driver.stop)
driver616drivers/char/tty_io.c(tty->driver.stop)(tty);
driver629drivers/char/tty_io.cif (tty->driver.start)
driver630drivers/char/tty_io.c(tty->driver.start)(tty);
driver687drivers/char/tty_io.cif (!tty || !tty->driver.write || (tty->flags & (1 << TTY_IO_ERROR)))
driver720drivers/char/tty_io.cstruct tty_driver *driver;  
driver724drivers/char/tty_io.cdriver = get_tty_driver(device);
driver725drivers/char/tty_io.cif (!driver)
driver728drivers/char/tty_io.cidx = MINOR(device) - driver->minor_start;
driver735drivers/char/tty_io.ctty_loc = &driver->table[idx];
driver736drivers/char/tty_io.ctp_loc = &driver->termios[idx];
driver737drivers/char/tty_io.cltp_loc = &driver->termios_locked[idx];
driver741drivers/char/tty_io.cif (driver->type == TTY_DRIVER_TYPE_PTY &&
driver742drivers/char/tty_io.cdriver->subtype == PTY_TYPE_MASTER &&
driver751drivers/char/tty_io.ctty->driver = *driver;
driver759drivers/char/tty_io.c*tp = driver->init_termios;
driver770drivers/char/tty_io.cif (driver->type == TTY_DRIVER_TYPE_PTY) {
driver771drivers/char/tty_io.co_tty_loc = &driver->other->table[idx];
driver772drivers/char/tty_io.co_tp_loc = &driver->other->termios[idx];
driver773drivers/char/tty_io.co_ltp_loc = &driver->other->termios_locked[idx];
driver782drivers/char/tty_io.co_device = MKDEV(driver->other->major,
driver783drivers/char/tty_io.cdriver->other->minor_start + idx);
driver786drivers/char/tty_io.co_tty->driver = *driver->other;
driver794drivers/char/tty_io.c*o_tp = driver->other->init_termios;
driver820drivers/char/tty_io.c(*driver->refcount)++;
driver833drivers/char/tty_io.cif (driver->type == TTY_DRIVER_TYPE_PTY) {
driver846drivers/char/tty_io.c(*driver->other->refcount)++;
driver859drivers/char/tty_io.cif (driver->subtype == PTY_TYPE_MASTER)
driver862drivers/char/tty_io.c(*tty_loc)->driver = *driver;
driver903drivers/char/tty_io.cidx = MINOR(tty->device) - tty->driver.minor_start;
driver905drivers/char/tty_io.cif (idx < 0 || idx >= tty->driver.num) {
driver910drivers/char/tty_io.cif (tty != tty->driver.table[idx]) {
driver915drivers/char/tty_io.cif (tp != tty->driver.termios[idx]) {
driver920drivers/char/tty_io.cif (ltp != tty->driver.termios_locked[idx]) {
driver937drivers/char/tty_io.cif (tty->driver.other) {
driver938drivers/char/tty_io.cif (o_tty != tty->driver.other->table[idx]) {
driver943drivers/char/tty_io.cif (o_tp != tty->driver.other->termios[idx]) {
driver948drivers/char/tty_io.cif (o_ltp != tty->driver.other->termios_locked[idx]) {
driver961drivers/char/tty_io.cif (tty->driver.close)
driver962drivers/char/tty_io.ctty->driver.close(tty, filp);
driver963drivers/char/tty_io.cif (tty->driver.type == TTY_DRIVER_TYPE_PTY &&
driver964drivers/char/tty_io.ctty->driver.subtype == PTY_TYPE_MASTER) {
driver982drivers/char/tty_io.ctty->driver.other->table[idx] = NULL;
driver983drivers/char/tty_io.ctty->driver.other->termios[idx] = NULL;
driver1019drivers/char/tty_io.ctty->driver.table[idx] = NULL;
driver1020drivers/char/tty_io.cif (tty->driver.flags & TTY_DRIVER_RESET_TERMIOS) {
driver1021drivers/char/tty_io.ctty->driver.termios[idx] = NULL;
driver1046drivers/char/tty_io.c(*tty->driver.refcount)--;
driver1050drivers/char/tty_io.c(*o_tty->driver.refcount)--;
driver1093drivers/char/tty_io.cif (tty->driver.type == TTY_DRIVER_TYPE_PTY &&
driver1094drivers/char/tty_io.ctty->driver.subtype == PTY_TYPE_MASTER)
driver1099drivers/char/tty_io.cif (tty->driver.open)
driver1100drivers/char/tty_io.cretval = tty->driver.open(tty, filp);
driver1251drivers/char/tty_io.cif (tty->driver.type == TTY_DRIVER_TYPE_PTY &&
driver1252drivers/char/tty_io.ctty->driver.subtype == PTY_TYPE_MASTER)
driver1294drivers/char/tty_io.cif (tty->driver.type == TTY_DRIVER_TYPE_CONSOLE) {
driver1437drivers/char/tty_io.cif (tty->driver.ioctl) {
driver1438drivers/char/tty_io.cretval = (tty->driver.ioctl)(tty, file,
driver1481drivers/char/tty_io.cif (tty->driver.flush_buffer)
driver1482drivers/char/tty_io.ctty->driver.flush_buffer(tty);
driver1562drivers/char/tty_io.ctty->driver.write(tty, 0, &ch, 1);
driver1568drivers/char/tty_io.cint tty_register_driver(struct tty_driver *driver)
driver1572drivers/char/tty_io.cif (driver->flags & TTY_DRIVER_INSTALLED)
driver1575drivers/char/tty_io.cerror = register_chrdev(driver->major, driver->name, &tty_fops);
driver1578drivers/char/tty_io.celse if(driver->major == 0)
driver1579drivers/char/tty_io.cdriver->major = error;
driver1581drivers/char/tty_io.cif (!driver->put_char)
driver1582drivers/char/tty_io.cdriver->put_char = tty_default_put_char;
driver1584drivers/char/tty_io.cdriver->prev = 0;
driver1585drivers/char/tty_io.cdriver->next = tty_drivers;
driver1586drivers/char/tty_io.ctty_drivers->prev = driver;
driver1587drivers/char/tty_io.ctty_drivers = driver;
driver1594drivers/char/tty_io.cint tty_unregister_driver(struct tty_driver *driver)
driver1601drivers/char/tty_io.cif (driver->refcount)
driver1605drivers/char/tty_io.cif (p == driver)
driver1607drivers/char/tty_io.celse if (p->major == driver->major)
driver1612drivers/char/tty_io.cretval = unregister_chrdev(driver->major, driver->name);
driver1617drivers/char/tty_io.cif (driver->prev)
driver1618drivers/char/tty_io.cdriver->prev->next = driver->next;
driver1620drivers/char/tty_io.ctty_drivers = driver->next;
driver1622drivers/char/tty_io.cif (driver->next)
driver1623drivers/char/tty_io.cdriver->next = driver->next->prev;
driver50drivers/char/tty_ioctl.cif (!tty->driver.chars_in_buffer ||
driver51drivers/char/tty_ioctl.c!tty->driver.chars_in_buffer(tty))
driver61drivers/char/tty_ioctl.cprintk("waiting %s...(%d)\n", tty_name(tty), tty->driver.chars_in_buffer(tty));
driver66drivers/char/tty_ioctl.cif (!tty->driver.chars_in_buffer(tty))
driver171drivers/char/tty_ioctl.cif (tty->driver.set_termios)
driver172drivers/char/tty_ioctl.c(*tty->driver.set_termios)(tty, &old_termios);
driver225drivers/char/tty_ioctl.cif (tty->driver.type == TTY_DRIVER_TYPE_PTY &&
driver226drivers/char/tty_ioctl.ctty->driver.subtype == PTY_TYPE_MASTER)
driver268drivers/char/tty_ioctl.ctty->driver.write(tty, 0,
driver273drivers/char/tty_ioctl.ctty->driver.write(tty, 0,
driver294drivers/char/tty_ioctl.cif (tty->driver.flush_buffer)
driver295drivers/char/tty_ioctl.ctty->driver.flush_buffer(tty);
driver306drivers/char/tty_ioctl.cif (tty->driver.chars_in_buffer)
driver307drivers/char/tty_ioctl.cput_fs_long(tty->driver.chars_in_buffer(tty),
driver345drivers/char/tty_ioctl.cif (tty->driver.type != TTY_DRIVER_TYPE_PTY ||
driver346drivers/char/tty_ioctl.ctty->driver.subtype != PTY_TYPE_MASTER)
driver367drivers/char/tty_ioctl.cif (!tty->driver.ioctl)
driver369drivers/char/tty_ioctl.ctty->driver.ioctl(tty, file, cmd, arg);
driver530drivers/net/ppp.cif (tty->driver.flush_buffer)
driver531drivers/net/ppp.ctty->driver.flush_buffer(tty);
driver699drivers/net/ppp.cactual = ppp->tty->driver.write(ppp->tty, 0, ppp->xbuff, count);
driver734drivers/net/ppp.cactual = tty->driver.write(tty, 0, ppp->xtail, count);
driver390drivers/net/slip.cactual = sl->tty->driver.write(sl->tty, 0, sl->xbuff, count);
driver428drivers/net/slip.canswer = tty->driver.write(tty, 0, sl->xtail, count);
driver715drivers/net/slip.cif (tty->driver.flush_buffer)
driver716drivers/net/slip.ctty->driver.flush_buffer(tty);
driver196include/linux/tty.hstruct tty_driver driver;
driver291include/linux/tty.hextern int tty_register_driver(struct tty_driver *driver);
driver292include/linux/tty.hextern int tty_unregister_driver(struct tty_driver *driver);