tag | line | file | source code |
termios | 119 | drivers/char/console.c | static struct termios *console_termios[MAX_NR_CONSOLES]; |
termios | 120 | drivers/char/console.c | static struct termios *console_termios_locked[MAX_NR_CONSOLES]; |
termios | 1881 | drivers/char/console.c | console_driver.termios = console_termios; |
termios | 323 | drivers/char/cyclades.c | static struct termios *serial_termios[NR_PORTS]; |
termios | 324 | drivers/char/cyclades.c | static struct termios *serial_termios_locked[NR_PORTS]; |
termios | 1262 | drivers/char/cyclades.c | if (!info->tty || (info->tty->termios->c_cflag & HUPCL)) { |
termios | 1299 | drivers/char/cyclades.c | if (!info->tty || !info->tty->termios){ |
termios | 1305 | drivers/char/cyclades.c | cflag = info->tty->termios->c_cflag; |
termios | 1328 | drivers/char/cyclades.c | info->tty->termios->c_cflag &= ~CBAUDEX; |
termios | 2172 | drivers/char/cyclades.c | tty->termios->c_cflag = |
termios | 2173 | drivers/char/cyclades.c | ((tty->termios->c_cflag & ~CLOCAL) | |
termios | 2214 | drivers/char/cyclades.c | cy_set_termios(struct tty_struct *tty, struct termios * old_termios) |
termios | 2222 | drivers/char/cyclades.c | if (tty->termios->c_cflag == old_termios->c_cflag) |
termios | 2227 | drivers/char/cyclades.c | !(tty->termios->c_cflag & CRTSCTS)) { |
termios | 2233 | drivers/char/cyclades.c | (tty->termios->c_cflag & CLOCAL)) |
termios | 2290 | drivers/char/cyclades.c | info->normal_termios = *tty->termios; |
termios | 2292 | drivers/char/cyclades.c | info->callout_termios = *tty->termios; |
termios | 2306 | drivers/char/cyclades.c | tty->termios->c_line = N_TTY; |
termios | 2555 | drivers/char/cyclades.c | *tty->termios = info->normal_termios; |
termios | 2557 | drivers/char/cyclades.c | *tty->termios = info->callout_termios; |
termios | 2705 | drivers/char/cyclades.c | cy_serial_driver.termios = serial_termios; |
termios | 617 | 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 | 188 | drivers/char/serial.c | static struct termios *serial_termios[NR_PORTS]; |
termios | 189 | drivers/char/serial.c | static struct termios *serial_termios_locked[NR_PORTS]; |
termios | 1074 | drivers/char/serial.c | if (!info->tty || (info->tty->termios->c_cflag & HUPCL)) { |
termios | 1103 | drivers/char/serial.c | if (!info->tty || !info->tty->termios) |
termios | 1105 | drivers/char/serial.c | cflag = info->tty->termios->c_cflag; |
termios | 1112 | drivers/char/serial.c | info->tty->termios->c_cflag &= ~CBAUDEX; |
termios | 1842 | drivers/char/serial.c | tty->termios->c_cflag = |
termios | 1843 | drivers/char/serial.c | ((tty->termios->c_cflag & ~CLOCAL) | |
termios | 1918 | drivers/char/serial.c | static void rs_set_termios(struct tty_struct *tty, struct termios *old_termios) |
termios | 1922 | drivers/char/serial.c | if (tty->termios->c_cflag == old_termios->c_cflag) |
termios | 1928 | drivers/char/serial.c | !(tty->termios->c_cflag & CRTSCTS)) { |
termios | 1941 | drivers/char/serial.c | (tty->termios->c_cflag & CLOCAL)) |
termios | 2002 | drivers/char/serial.c | info->normal_termios = *tty->termios; |
termios | 2004 | drivers/char/serial.c | info->callout_termios = *tty->termios; |
termios | 2048 | drivers/char/serial.c | tty->termios->c_line = N_TTY; |
termios | 2147 | drivers/char/serial.c | if (tty->termios->c_cflag & CLOCAL) |
termios | 2266 | drivers/char/serial.c | *tty->termios = info->normal_termios; |
termios | 2268 | drivers/char/serial.c | *tty->termios = info->callout_termios; |
termios | 2571 | 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 | 213 | drivers/char/tty_io.c | tty->termios->c_line = ldisc; |
termios | 218 | drivers/char/tty_io.c | tty->termios->c_line = tty->ldisc.num; |
termios | 221 | drivers/char/tty_io.c | tty->termios->c_line = N_TTY; |
termios | 377 | drivers/char/tty_io.c | tty->termios->c_line = N_TTY; |
termios | 402 | drivers/char/tty_io.c | *tty->termios = tty->driver.init_termios; |
termios | 755 | drivers/char/tty_io.c | struct termios *tp, **tp_loc, *o_tp, **o_tp_loc; |
termios | 756 | drivers/char/tty_io.c | struct termios *ltp, **ltp_loc, *o_ltp, **o_ltp_loc; |
termios | 773 | drivers/char/tty_io.c | tp_loc = &driver->termios[idx]; |
termios | 792 | drivers/char/tty_io.c | tp = (struct termios *) kmalloc(sizeof(struct termios), |
termios | 800 | drivers/char/tty_io.c | ltp = (struct termios *) kmalloc(sizeof(struct termios), |
termios | 804 | drivers/char/tty_io.c | memset(ltp, 0, sizeof(struct termios)); |
termios | 809 | drivers/char/tty_io.c | o_tp_loc = &driver->other->termios[idx]; |
termios | 827 | drivers/char/tty_io.c | o_tp = (struct termios *) |
termios | 828 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 835 | drivers/char/tty_io.c | o_ltp = (struct termios *) |
termios | 836 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 839 | drivers/char/tty_io.c | memset(o_ltp, 0, sizeof(struct termios)); |
termios | 854 | drivers/char/tty_io.c | tty->termios = *tp_loc; |
termios | 880 | drivers/char/tty_io.c | o_tty->termios = *o_tp_loc; |
termios | 908 | drivers/char/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 910 | drivers/char/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 912 | drivers/char/tty_io.c | kfree_s(ltp, sizeof(struct termios)); |
termios | 914 | drivers/char/tty_io.c | kfree_s(o_ltp, sizeof(struct termios)); |
termios | 926 | drivers/char/tty_io.c | struct termios *tp, *o_tp, *ltp, *o_ltp; |
termios | 938 | drivers/char/tty_io.c | tp = tty->termios; |
termios | 953 | drivers/char/tty_io.c | if (tp != tty->driver.termios[idx]) { |
termios | 971 | drivers/char/tty_io.c | o_tp = (o_tty) ? o_tty->termios : NULL; |
termios | 981 | drivers/char/tty_io.c | if (o_tp != tty->driver.other->termios[idx]) { |
termios | 1021 | drivers/char/tty_io.c | tty->driver.other->termios[idx] = NULL; |
termios | 1022 | drivers/char/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 1049 | drivers/char/tty_io.c | tty->termios->c_line = N_TTY; |
termios | 1055 | drivers/char/tty_io.c | o_tty->termios->c_line = N_TTY; |
termios | 1061 | drivers/char/tty_io.c | tty->driver.termios[idx] = NULL; |
termios | 1062 | drivers/char/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 1711 | drivers/char/tty_io.c | memset(&tty_std_termios, 0, sizeof(struct termios)); |
termios | 74 | drivers/char/tty_ioctl.c | static void unset_locked_termios(struct termios *termios, |
termios | 75 | drivers/char/tty_ioctl.c | struct termios *old, |
termios | 76 | drivers/char/tty_ioctl.c | struct termios *locked) |
termios | 87 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_iflag, old->c_iflag, locked->c_iflag); |
termios | 88 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_oflag, old->c_oflag, locked->c_oflag); |
termios | 89 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_cflag, old->c_cflag, locked->c_cflag); |
termios | 90 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_lflag, old->c_lflag, locked->c_lflag); |
termios | 91 | drivers/char/tty_ioctl.c | termios->c_line = locked->c_line ? old->c_line : termios->c_line; |
termios | 93 | drivers/char/tty_ioctl.c | termios->c_cc[i] = locked->c_cc[i] ? |
termios | 94 | drivers/char/tty_ioctl.c | old->c_cc[i] : termios->c_cc[i]; |
termios | 100 | drivers/char/tty_ioctl.c | struct termios tmp_termios; |
termios | 101 | drivers/char/tty_ioctl.c | struct termios old_termios = *tty->termios; |
termios | 112 | drivers/char/tty_ioctl.c | tmp_termios = *tty->termios; |
termios | 124 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_READ, (void *) arg, sizeof(struct termios)); |
termios | 127 | drivers/char/tty_ioctl.c | memcpy_fromfs(&tmp_termios, (struct termios *) arg, |
termios | 128 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 138 | drivers/char/tty_ioctl.c | *tty->termios = tmp_termios; |
termios | 139 | drivers/char/tty_ioctl.c | unset_locked_termios(tty->termios, &old_termios, tty->termios_locked); |
termios | 140 | drivers/char/tty_ioctl.c | canon_change = (old_termios.c_lflag ^ tty->termios->c_lflag) & ICANON; |
termios | 188 | drivers/char/tty_ioctl.c | tmp_termio.c_iflag = tty->termios->c_iflag; |
termios | 189 | drivers/char/tty_ioctl.c | tmp_termio.c_oflag = tty->termios->c_oflag; |
termios | 190 | drivers/char/tty_ioctl.c | tmp_termio.c_cflag = tty->termios->c_cflag; |
termios | 191 | drivers/char/tty_ioctl.c | tmp_termio.c_lflag = tty->termios->c_lflag; |
termios | 192 | drivers/char/tty_ioctl.c | tmp_termio.c_line = tty->termios->c_line; |
termios | 194 | drivers/char/tty_ioctl.c | tmp_termio.c_cc[i] = tty->termios->c_cc[i]; |
termios | 234 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 237 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
termios | 238 | drivers/char/tty_ioctl.c | real_tty->termios, |
termios | 239 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 326 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 329 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
termios | 331 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 337 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 341 | drivers/char/tty_ioctl.c | (struct termios *) arg, |
termios | 342 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 803 | drivers/net/ppp.c | (unsigned int) tty->termios->c_iflag)) |
termios | 58 | include/linux/cyclades.h | struct termios normal_termios; |
termios | 59 | include/linux/cyclades.h | struct termios callout_termios; |
termios | 143 | include/linux/serial.h | struct termios normal_termios; |
termios | 144 | include/linux/serial.h | struct termios callout_termios; |
termios | 100 | include/linux/tty.h | #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR]) |
termios | 101 | include/linux/tty.h | #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) |
termios | 102 | include/linux/tty.h | #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) |
termios | 103 | include/linux/tty.h | #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) |
termios | 104 | include/linux/tty.h | #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) |
termios | 105 | include/linux/tty.h | #define TIME_CHAR(tty) ((tty)->termios->c_cc[VTIME]) |
termios | 106 | include/linux/tty.h | #define MIN_CHAR(tty) ((tty)->termios->c_cc[VMIN]) |
termios | 107 | include/linux/tty.h | #define SWTC_CHAR(tty) ((tty)->termios->c_cc[VSWTC]) |
termios | 108 | include/linux/tty.h | #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) |
termios | 109 | include/linux/tty.h | #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) |
termios | 110 | include/linux/tty.h | #define SUSP_CHAR(tty) ((tty)->termios->c_cc[VSUSP]) |
termios | 111 | include/linux/tty.h | #define EOL_CHAR(tty) ((tty)->termios->c_cc[VEOL]) |
termios | 112 | include/linux/tty.h | #define REPRINT_CHAR(tty) ((tty)->termios->c_cc[VREPRINT]) |
termios | 113 | include/linux/tty.h | #define DISCARD_CHAR(tty) ((tty)->termios->c_cc[VDISCARD]) |
termios | 114 | include/linux/tty.h | #define WERASE_CHAR(tty) ((tty)->termios->c_cc[VWERASE]) |
termios | 115 | include/linux/tty.h | #define LNEXT_CHAR(tty) ((tty)->termios->c_cc[VLNEXT]) |
termios | 116 | include/linux/tty.h | #define EOL2_CHAR(tty) ((tty)->termios->c_cc[VEOL2]) |
termios | 118 | include/linux/tty.h | #define _I_FLAG(tty,f) ((tty)->termios->c_iflag & (f)) |
termios | 119 | include/linux/tty.h | #define _O_FLAG(tty,f) ((tty)->termios->c_oflag & (f)) |
termios | 120 | include/linux/tty.h | #define _C_FLAG(tty,f) ((tty)->termios->c_cflag & (f)) |
termios | 121 | include/linux/tty.h | #define _L_FLAG(tty,f) ((tty)->termios->c_lflag & (f)) |
termios | 198 | include/linux/tty.h | struct termios *termios, *termios_locked; |
termios | 263 | 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); |