tag | line | file | source code |
termios | 79 | drivers/char/console.c | static struct termios *console_termios[NR_CONSOLES]; |
termios | 80 | drivers/char/console.c | static struct termios *console_termios_locked[NR_CONSOLES]; |
termios | 1553 | drivers/char/console.c | console_driver.termios = console_termios; |
termios | 476 | drivers/char/keyboard.c | if (!tty || (tty->termios && I_IGNBRK(tty))) |
termios | 596 | drivers/char/n_tty.c | static void n_tty_set_termios(struct tty_struct *tty, struct termios * old) |
termios | 54 | drivers/char/pty.c | static struct termios *pty_termios[NR_PTYS]; |
termios | 55 | drivers/char/pty.c | static struct termios *pty_termios_locked[NR_PTYS]; |
termios | 57 | drivers/char/pty.c | static struct termios *ttyp_termios[NR_PTYS]; |
termios | 58 | drivers/char/pty.c | static struct termios *ttyp_termios_locked[NR_PTYS]; |
termios | 233 | drivers/char/pty.c | pty_driver.termios = pty_termios; |
termios | 252 | drivers/char/pty.c | pty_slave_driver.termios = ttyp_termios; |
termios | 183 | drivers/char/serial.c | static struct termios *serial_termios[NR_PORTS]; |
termios | 184 | drivers/char/serial.c | static struct termios *serial_termios_locked[NR_PORTS]; |
termios | 1060 | drivers/char/serial.c | if (!info->tty || (info->tty->termios->c_cflag & HUPCL)) { |
termios | 1089 | drivers/char/serial.c | if (!info->tty || !info->tty->termios) |
termios | 1091 | drivers/char/serial.c | cflag = info->tty->termios->c_cflag; |
termios | 1661 | drivers/char/serial.c | tty->termios->c_cflag = |
termios | 1662 | drivers/char/serial.c | ((tty->termios->c_cflag & ~CLOCAL) | |
termios | 1719 | drivers/char/serial.c | static void rs_set_termios(struct tty_struct *tty, struct termios *old_termios) |
termios | 1723 | drivers/char/serial.c | if (tty->termios->c_cflag == old_termios->c_cflag) |
termios | 1729 | drivers/char/serial.c | !(tty->termios->c_cflag & CRTSCTS)) { |
termios | 1735 | drivers/char/serial.c | (tty->termios->c_cflag & CLOCAL)) |
termios | 1787 | drivers/char/serial.c | info->normal_termios = *tty->termios; |
termios | 1789 | drivers/char/serial.c | info->callout_termios = *tty->termios; |
termios | 1803 | drivers/char/serial.c | tty->termios->c_line = N_TTY; |
termios | 1995 | drivers/char/serial.c | *tty->termios = info->normal_termios; |
termios | 1997 | drivers/char/serial.c | *tty->termios = info->callout_termios; |
termios | 2292 | drivers/char/serial.c | serial_driver.termios = serial_termios; |
termios | 77 | drivers/char/tty_io.c | struct termios tty_std_termios; /* for the benefit of tty drivers */ |
termios | 183 | drivers/char/tty_io.c | tty->termios->c_line = ldisc; |
termios | 188 | drivers/char/tty_io.c | tty->termios->c_line = tty->ldisc.num; |
termios | 191 | drivers/char/tty_io.c | tty->termios->c_line = N_TTY; |
termios | 346 | drivers/char/tty_io.c | tty->termios->c_line = N_TTY; |
termios | 713 | drivers/char/tty_io.c | struct termios *tp, **tp_loc, *o_tp, **o_tp_loc; |
termios | 714 | drivers/char/tty_io.c | struct termios *ltp, **ltp_loc, *o_ltp, **o_ltp_loc; |
termios | 731 | drivers/char/tty_io.c | tp_loc = &driver->termios[idx]; |
termios | 750 | drivers/char/tty_io.c | tp = (struct termios *) kmalloc(sizeof(struct termios), |
termios | 758 | drivers/char/tty_io.c | ltp = (struct termios *) kmalloc(sizeof(struct termios), |
termios | 762 | drivers/char/tty_io.c | memset(ltp, 0, sizeof(struct termios)); |
termios | 767 | drivers/char/tty_io.c | o_tp_loc = &driver->other->termios[idx]; |
termios | 785 | drivers/char/tty_io.c | o_tp = (struct termios *) |
termios | 786 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 793 | drivers/char/tty_io.c | o_ltp = (struct termios *) |
termios | 794 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 797 | drivers/char/tty_io.c | memset(o_ltp, 0, sizeof(struct termios)); |
termios | 812 | drivers/char/tty_io.c | tty->termios = *tp_loc; |
termios | 838 | drivers/char/tty_io.c | o_tty->termios = *o_tp_loc; |
termios | 866 | drivers/char/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 868 | drivers/char/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 870 | drivers/char/tty_io.c | kfree_s(ltp, sizeof(struct termios)); |
termios | 872 | drivers/char/tty_io.c | kfree_s(o_ltp, sizeof(struct termios)); |
termios | 884 | drivers/char/tty_io.c | struct termios *tp, *o_tp, *ltp, *o_ltp; |
termios | 895 | drivers/char/tty_io.c | tp = tty->termios; |
termios | 910 | drivers/char/tty_io.c | if (tp != tty->driver.termios[idx]) { |
termios | 928 | drivers/char/tty_io.c | o_tp = (o_tty) ? o_tty->termios : NULL; |
termios | 938 | drivers/char/tty_io.c | if (o_tp != tty->driver.other->termios[idx]) { |
termios | 987 | drivers/char/tty_io.c | tty->driver.other->termios[idx] = NULL; |
termios | 1002 | drivers/char/tty_io.c | tty->termios->c_line = N_TTY; |
termios | 1006 | drivers/char/tty_io.c | tty->driver.termios[idx] = NULL; |
termios | 1008 | drivers/char/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 1009 | drivers/char/tty_io.c | kfree_s(ltp, sizeof(struct termios)); |
termios | 1041 | drivers/char/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 1043 | drivers/char/tty_io.c | kfree_s(o_ltp, sizeof(struct termios)); |
termios | 1569 | drivers/char/tty_io.c | memset(&tty_std_termios, 0, sizeof(struct termios)); |
termios | 66 | drivers/char/tty_ioctl.c | static void unset_locked_termios(struct termios *termios, |
termios | 67 | drivers/char/tty_ioctl.c | struct termios *old, |
termios | 68 | drivers/char/tty_ioctl.c | struct termios *locked) |
termios | 79 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_iflag, old->c_iflag, locked->c_iflag); |
termios | 80 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_oflag, old->c_oflag, locked->c_oflag); |
termios | 81 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_cflag, old->c_cflag, locked->c_cflag); |
termios | 82 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_lflag, old->c_lflag, locked->c_lflag); |
termios | 83 | drivers/char/tty_ioctl.c | termios->c_line = locked->c_line ? old->c_line : termios->c_line; |
termios | 85 | drivers/char/tty_ioctl.c | termios->c_cc[i] = locked->c_cc[i] ? |
termios | 86 | drivers/char/tty_ioctl.c | old->c_cc[i] : termios->c_cc[i]; |
termios | 92 | drivers/char/tty_ioctl.c | struct termios tmp_termios; |
termios | 93 | drivers/char/tty_ioctl.c | struct termios old_termios = *tty->termios; |
termios | 101 | drivers/char/tty_ioctl.c | tmp_termios = *tty->termios; |
termios | 113 | drivers/char/tty_ioctl.c | memcpy_fromfs(&tmp_termios, (struct termios *) arg, |
termios | 114 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 123 | drivers/char/tty_ioctl.c | *tty->termios = tmp_termios; |
termios | 124 | drivers/char/tty_ioctl.c | unset_locked_termios(tty->termios, &old_termios, tty->termios_locked); |
termios | 125 | drivers/char/tty_ioctl.c | canon_change = (old_termios.c_lflag ^ tty->termios->c_lflag) & ICANON; |
termios | 173 | drivers/char/tty_ioctl.c | tmp_termio.c_iflag = tty->termios->c_iflag; |
termios | 174 | drivers/char/tty_ioctl.c | tmp_termio.c_oflag = tty->termios->c_oflag; |
termios | 175 | drivers/char/tty_ioctl.c | tmp_termio.c_cflag = tty->termios->c_cflag; |
termios | 176 | drivers/char/tty_ioctl.c | tmp_termio.c_lflag = tty->termios->c_lflag; |
termios | 177 | drivers/char/tty_ioctl.c | tmp_termio.c_line = tty->termios->c_line; |
termios | 179 | drivers/char/tty_ioctl.c | tmp_termio.c_cc[i] = tty->termios->c_cc[i]; |
termios | 219 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 222 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
termios | 223 | drivers/char/tty_ioctl.c | real_tty->termios, |
termios | 224 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 312 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 315 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
termios | 317 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 324 | drivers/char/tty_ioctl.c | (struct termios *) arg, |
termios | 325 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 791 | drivers/net/ppp.c | (unsigned int) tty->termios->c_iflag)) |
termios | 113 | include/linux/serial.h | struct termios normal_termios; |
termios | 114 | include/linux/serial.h | struct termios callout_termios; |
termios | 94 | include/linux/tty.h | #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR]) |
termios | 95 | include/linux/tty.h | #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) |
termios | 96 | include/linux/tty.h | #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) |
termios | 97 | include/linux/tty.h | #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) |
termios | 98 | include/linux/tty.h | #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) |
termios | 99 | include/linux/tty.h | #define TIME_CHAR(tty) ((tty)->termios->c_cc[VTIME]) |
termios | 100 | include/linux/tty.h | #define MIN_CHAR(tty) ((tty)->termios->c_cc[VMIN]) |
termios | 101 | include/linux/tty.h | #define SWTC_CHAR(tty) ((tty)->termios->c_cc[VSWTC]) |
termios | 102 | include/linux/tty.h | #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) |
termios | 103 | include/linux/tty.h | #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) |
termios | 104 | include/linux/tty.h | #define SUSP_CHAR(tty) ((tty)->termios->c_cc[VSUSP]) |
termios | 105 | include/linux/tty.h | #define EOL_CHAR(tty) ((tty)->termios->c_cc[VEOL]) |
termios | 106 | include/linux/tty.h | #define REPRINT_CHAR(tty) ((tty)->termios->c_cc[VREPRINT]) |
termios | 107 | include/linux/tty.h | #define DISCARD_CHAR(tty) ((tty)->termios->c_cc[VDISCARD]) |
termios | 108 | include/linux/tty.h | #define WERASE_CHAR(tty) ((tty)->termios->c_cc[VWERASE]) |
termios | 109 | include/linux/tty.h | #define LNEXT_CHAR(tty) ((tty)->termios->c_cc[VLNEXT]) |
termios | 110 | include/linux/tty.h | #define EOL2_CHAR(tty) ((tty)->termios->c_cc[VEOL2]) |
termios | 112 | include/linux/tty.h | #define _I_FLAG(tty,f) ((tty)->termios->c_iflag & (f)) |
termios | 113 | include/linux/tty.h | #define _O_FLAG(tty,f) ((tty)->termios->c_oflag & (f)) |
termios | 114 | include/linux/tty.h | #define _C_FLAG(tty,f) ((tty)->termios->c_cflag & (f)) |
termios | 115 | include/linux/tty.h | #define _L_FLAG(tty,f) ((tty)->termios->c_lflag & (f)) |
termios | 192 | include/linux/tty.h | struct termios *termios, *termios_locked; |
termios | 255 | include/linux/tty.h | extern struct termios tty_std_termios; |
termios | 108 | include/linux/tty_driver.h | struct termios init_termios; /* Initial termios */ |
termios | 117 | include/linux/tty_driver.h | struct termios **termios; |
termios | 118 | include/linux/tty_driver.h | struct termios **termios_locked; |
termios | 134 | include/linux/tty_driver.h | void (*set_termios)(struct tty_struct *tty, struct termios * old); |
termios | 28 | include/linux/tty_ldisc.h | void (*set_termios)(struct tty_struct *tty, struct termios * old); |