tag | line | file | source code |
termios | 493 | drivers/char/serial.c | info->tty->termios && |
termios | 812 | drivers/char/serial.c | if (info->tty && info->tty->termios && I_INPCK(info->tty)) |
termios | 886 | drivers/char/serial.c | if (info->tty && !(info->tty->termios->c_cflag & HUPCL)) |
termios | 919 | drivers/char/serial.c | if (!info->tty || !info->tty->termios) |
termios | 921 | drivers/char/serial.c | cflag = info->tty->termios->c_cflag; |
termios | 1388 | drivers/char/serial.c | tty->termios->c_cflag = |
termios | 1389 | drivers/char/serial.c | ((tty->termios->c_cflag & ~CLOCAL) | |
termios | 1437 | drivers/char/serial.c | static void rs_set_termios(struct tty_struct *tty, struct termios *old_termios) |
termios | 1441 | drivers/char/serial.c | if (tty->termios->c_cflag == old_termios->c_cflag) |
termios | 1449 | drivers/char/serial.c | !(tty->termios->c_cflag & CRTSCTS)) { |
termios | 1455 | drivers/char/serial.c | (tty->termios->c_cflag & CLOCAL)) |
termios | 1516 | drivers/char/serial.c | info->normal_termios = *tty->termios; |
termios | 1518 | drivers/char/serial.c | info->callout_termios = *tty->termios; |
termios | 1736 | drivers/char/serial.c | *tty->termios = info->normal_termios; |
termios | 1738 | drivers/char/serial.c | *tty->termios = info->callout_termios; |
termios | 2034 | drivers/char/serial.c | memset(&info->callout_termios, 0, sizeof(struct termios)); |
termios | 2035 | drivers/char/serial.c | memset(&info->normal_termios, 0, sizeof(struct termios)); |
termios | 66 | drivers/char/tty_io.c | struct termios *tty_termios[MAX_TTYS]; /* We need to keep the termios state */ |
termios | 68 | drivers/char/tty_io.c | struct termios *termios_locked[MAX_TTYS]; /* Bitfield of locked termios flags*/ |
termios | 82 | drivers/char/tty_io.c | static void initialize_termios(int line, struct termios *tp); |
termios | 1213 | drivers/char/tty_io.c | struct termios *tp, *o_tp, *ltp, *o_ltp; |
termios | 1233 | drivers/char/tty_io.c | tp = (struct termios *) kmalloc(sizeof(struct termios), |
termios | 1241 | drivers/char/tty_io.c | ltp = (struct termios *) kmalloc(sizeof(struct termios), |
termios | 1245 | drivers/char/tty_io.c | memset(ltp, 0, sizeof(struct termios)); |
termios | 1258 | drivers/char/tty_io.c | o_tp = (struct termios *) |
termios | 1259 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 1266 | drivers/char/tty_io.c | o_ltp = (struct termios *) |
termios | 1267 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 1270 | drivers/char/tty_io.c | memset(o_ltp, 0, sizeof(struct termios)); |
termios | 1281 | drivers/char/tty_io.c | tty->termios = tty_termios[dev]; |
termios | 1299 | drivers/char/tty_io.c | o_tty->termios = tty_termios[o_dev]; |
termios | 1316 | drivers/char/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 1318 | drivers/char/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 1320 | drivers/char/tty_io.c | kfree_s(ltp, sizeof(struct termios)); |
termios | 1322 | drivers/char/tty_io.c | kfree_s(o_ltp, sizeof(struct termios)); |
termios | 1334 | drivers/char/tty_io.c | struct termios *tp, *o_tp; |
termios | 1406 | drivers/char/tty_io.c | tty->termios->c_line = N_TTY; |
termios | 1419 | drivers/char/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 1427 | drivers/char/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 1767 | drivers/char/tty_io.c | static void initialize_termios(int line, struct termios * tp) |
termios | 1769 | drivers/char/tty_io.c | memset(tp, 0, sizeof(struct termios)); |
termios | 136 | drivers/char/tty_ioctl.c | static void unset_locked_termios(struct termios *termios, |
termios | 137 | drivers/char/tty_ioctl.c | struct termios *old, |
termios | 138 | drivers/char/tty_ioctl.c | struct termios *locked) |
termios | 149 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_iflag, old->c_iflag, locked->c_iflag); |
termios | 150 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_oflag, old->c_oflag, locked->c_oflag); |
termios | 151 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_cflag, old->c_cflag, locked->c_cflag); |
termios | 152 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_lflag, old->c_lflag, locked->c_lflag); |
termios | 153 | drivers/char/tty_ioctl.c | termios->c_line = locked->c_line ? old->c_line : termios->c_line; |
termios | 155 | drivers/char/tty_ioctl.c | termios->c_cc[i] = locked->c_cc[i] ? |
termios | 156 | drivers/char/tty_ioctl.c | old->c_cc[i] : termios->c_cc[i]; |
termios | 180 | drivers/char/tty_ioctl.c | static int set_termios_2(struct tty_struct * tty, struct termios * termios) |
termios | 182 | drivers/char/tty_ioctl.c | struct termios old_termios = *tty->termios; |
termios | 185 | drivers/char/tty_ioctl.c | canon_change = (old_termios.c_lflag ^ termios->c_lflag) & ICANON; |
termios | 187 | drivers/char/tty_ioctl.c | *tty->termios = *termios; |
termios | 195 | drivers/char/tty_ioctl.c | if (canon_change && !(tty->termios->c_lflag & ICANON) && |
termios | 207 | drivers/char/tty_ioctl.c | (old_termios.c_iflag ^ tty->termios->c_iflag) & IXON) { |
termios | 209 | drivers/char/tty_ioctl.c | if (tty->termios->c_iflag & IXON) |
termios | 222 | drivers/char/tty_ioctl.c | if (IS_A_PTY_MASTER(channel)) tty->termios->c_lflag &= ~ECHO; |
termios | 225 | drivers/char/tty_ioctl.c | unset_locked_termios(tty->termios, &old_termios, |
termios | 229 | drivers/char/tty_ioctl.c | retval = tty_set_ldisc(tty, tty->termios->c_line); |
termios | 240 | drivers/char/tty_ioctl.c | static int set_termios(struct tty_struct * tty, struct termios * termios, |
termios | 243 | drivers/char/tty_ioctl.c | struct termios tmp_termios; |
termios | 245 | drivers/char/tty_ioctl.c | memcpy_fromfs(&tmp_termios, termios, sizeof (struct termios)); |
termios | 257 | drivers/char/tty_ioctl.c | tmp_termio.c_iflag = tty->termios->c_iflag; |
termios | 258 | drivers/char/tty_ioctl.c | tmp_termio.c_oflag = tty->termios->c_oflag; |
termios | 259 | drivers/char/tty_ioctl.c | tmp_termio.c_cflag = tty->termios->c_cflag; |
termios | 260 | drivers/char/tty_ioctl.c | tmp_termio.c_lflag = tty->termios->c_lflag; |
termios | 261 | drivers/char/tty_ioctl.c | tmp_termio.c_line = tty->termios->c_line; |
termios | 263 | drivers/char/tty_ioctl.c | tmp_termio.c_cc[i] = tty->termios->c_cc[i]; |
termios | 272 | drivers/char/tty_ioctl.c | struct termios tmp_termios; |
termios | 274 | drivers/char/tty_ioctl.c | tmp_termios = *tty->termios; |
termios | 320 | drivers/char/tty_ioctl.c | tty->termios->c_line = ldisc; |
termios | 379 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 382 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
termios | 383 | drivers/char/tty_ioctl.c | termios_tty->termios, |
termios | 384 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 397 | drivers/char/tty_ioctl.c | return set_termios(termios_tty, (struct termios *) arg, |
termios | 618 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 621 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
termios | 623 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 630 | drivers/char/tty_ioctl.c | (struct termios *) arg, |
termios | 631 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 42 | include/linux/serial.h | struct termios normal_termios; |
termios | 43 | include/linux/serial.h | struct termios callout_termios; |
termios | 148 | include/linux/tty.h | #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR]) |
termios | 149 | include/linux/tty.h | #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) |
termios | 150 | include/linux/tty.h | #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) |
termios | 151 | include/linux/tty.h | #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) |
termios | 152 | include/linux/tty.h | #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) |
termios | 153 | include/linux/tty.h | #define TIME_CHAR(tty) ((tty)->termios->c_cc[VTIME]) |
termios | 154 | include/linux/tty.h | #define MIN_CHAR(tty) ((tty)->termios->c_cc[VMIN]) |
termios | 155 | include/linux/tty.h | #define SWTC_CHAR(tty) ((tty)->termios->c_cc[VSWTC]) |
termios | 156 | include/linux/tty.h | #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) |
termios | 157 | include/linux/tty.h | #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) |
termios | 158 | include/linux/tty.h | #define SUSP_CHAR(tty) ((tty)->termios->c_cc[VSUSP]) |
termios | 159 | include/linux/tty.h | #define EOL_CHAR(tty) ((tty)->termios->c_cc[VEOL]) |
termios | 160 | include/linux/tty.h | #define REPRINT_CHAR(tty) ((tty)->termios->c_cc[VREPRINT]) |
termios | 161 | include/linux/tty.h | #define DISCARD_CHAR(tty) ((tty)->termios->c_cc[VDISCARD]) |
termios | 162 | include/linux/tty.h | #define WERASE_CHAR(tty) ((tty)->termios->c_cc[VWERASE]) |
termios | 163 | include/linux/tty.h | #define LNEXT_CHAR(tty) ((tty)->termios->c_cc[VLNEXT]) |
termios | 164 | include/linux/tty.h | #define EOL2_CHAR(tty) ((tty)->termios->c_cc[VEOL2]) |
termios | 166 | include/linux/tty.h | #define _I_FLAG(tty,f) ((tty)->termios->c_iflag & (f)) |
termios | 167 | include/linux/tty.h | #define _O_FLAG(tty,f) ((tty)->termios->c_oflag & (f)) |
termios | 168 | include/linux/tty.h | #define _C_FLAG(tty,f) ((tty)->termios->c_cflag & (f)) |
termios | 169 | include/linux/tty.h | #define _L_FLAG(tty,f) ((tty)->termios->c_lflag & (f)) |
termios | 243 | include/linux/tty.h | struct termios *termios; |
termios | 262 | include/linux/tty.h | void (*set_termios)(struct tty_struct *tty, struct termios * old); |
termios | 374 | include/linux/tty.h | extern struct termios *tty_termios[]; |
termios | 375 | include/linux/tty.h | extern struct termios *termios_locked[]; |