tag | line | file | source code |
termios | 800 | drivers/char/serial.c | if (info->tty && info->tty->termios && I_INPCK(info->tty)) |
termios | 824 | drivers/char/serial.c | if (info->tty && !(info->tty->termios->c_cflag & HUPCL)) |
termios | 852 | drivers/char/serial.c | if (!info->tty || !info->tty->termios) |
termios | 854 | drivers/char/serial.c | cflag = info->tty->termios->c_cflag; |
termios | 991 | drivers/char/serial.c | if (tty->termios->c_iflag & IXOFF) { |
termios | 1001 | drivers/char/serial.c | if (tty->termios->c_iflag & IXOFF) { |
termios | 1339 | drivers/char/serial.c | tty->termios->c_cflag = |
termios | 1340 | drivers/char/serial.c | ((tty->termios->c_cflag & ~CLOCAL) | |
termios | 1388 | drivers/char/serial.c | static void rs_set_termios(struct tty_struct *tty, struct termios *old_termios) |
termios | 1392 | drivers/char/serial.c | if (tty->termios->c_cflag == old_termios->c_cflag) |
termios | 1400 | drivers/char/serial.c | !(tty->termios->c_cflag & CRTSCTS)) { |
termios | 1406 | drivers/char/serial.c | (tty->termios->c_cflag & CLOCAL)) |
termios | 1458 | drivers/char/serial.c | if (tty->termios->c_cflag & CLOCAL) |
termios | 1483 | drivers/char/serial.c | struct termios orig_termios; |
termios | 61 | drivers/char/tty_io.c | struct termios *tty_termios[MAX_TTYS]; /* We need to keep the termios state */ |
termios | 63 | drivers/char/tty_io.c | struct termios *termios_locked[MAX_TTYS]; /* Bitfield of locked termios flags*/ |
termios | 77 | drivers/char/tty_io.c | static void initialize_termios(int line, struct termios *tp); |
termios | 742 | drivers/char/tty_io.c | time = 10L*tty->termios->c_cc[VTIME]; |
termios | 743 | drivers/char/tty_io.c | minimum = tty->termios->c_cc[VMIN]; |
termios | 1071 | drivers/char/tty_io.c | struct termios *tp, *o_tp, *ltp, *o_ltp; |
termios | 1091 | drivers/char/tty_io.c | tp = (struct termios *) kmalloc(sizeof(struct termios), |
termios | 1099 | drivers/char/tty_io.c | ltp = (struct termios *) kmalloc(sizeof(struct termios), |
termios | 1103 | drivers/char/tty_io.c | memset(ltp, 0, sizeof(struct termios)); |
termios | 1116 | drivers/char/tty_io.c | o_tp = (struct termios *) |
termios | 1117 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 1124 | drivers/char/tty_io.c | o_ltp = (struct termios *) |
termios | 1125 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 1128 | drivers/char/tty_io.c | memset(o_ltp, 0, sizeof(struct termios)); |
termios | 1139 | drivers/char/tty_io.c | tty->termios = tty_termios[dev]; |
termios | 1157 | drivers/char/tty_io.c | o_tty->termios = tty_termios[o_dev]; |
termios | 1174 | drivers/char/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 1176 | drivers/char/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 1178 | drivers/char/tty_io.c | kfree_s(ltp, sizeof(struct termios)); |
termios | 1180 | drivers/char/tty_io.c | kfree_s(o_ltp, sizeof(struct termios)); |
termios | 1192 | drivers/char/tty_io.c | struct termios *tp, *o_tp; |
termios | 1264 | drivers/char/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 1272 | drivers/char/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 1609 | drivers/char/tty_io.c | static void initialize_termios(int line, struct termios * tp) |
termios | 1611 | drivers/char/tty_io.c | memset(tp, 0, sizeof(struct termios)); |
termios | 135 | drivers/char/tty_ioctl.c | static void unset_locked_termios(struct termios *termios, |
termios | 136 | drivers/char/tty_ioctl.c | struct termios *old, |
termios | 137 | drivers/char/tty_ioctl.c | struct termios *locked) |
termios | 148 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_iflag, old->c_iflag, locked->c_iflag); |
termios | 149 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_oflag, old->c_oflag, locked->c_oflag); |
termios | 150 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_cflag, old->c_cflag, locked->c_cflag); |
termios | 151 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_lflag, old->c_lflag, locked->c_lflag); |
termios | 152 | drivers/char/tty_ioctl.c | termios->c_line = locked->c_line ? old->c_line : termios->c_line; |
termios | 154 | drivers/char/tty_ioctl.c | termios->c_cc[i] = locked->c_cc[i] ? |
termios | 155 | drivers/char/tty_ioctl.c | old->c_cc[i] : termios->c_cc[i]; |
termios | 158 | drivers/char/tty_ioctl.c | static int get_termios(struct tty_struct * tty, struct termios * termios) |
termios | 162 | drivers/char/tty_ioctl.c | i = verify_area(VERIFY_WRITE, termios, sizeof (*termios)); |
termios | 165 | drivers/char/tty_ioctl.c | for (i=0 ; i< (sizeof (*termios)) ; i++) |
termios | 166 | drivers/char/tty_ioctl.c | put_fs_byte( ((char *)tty->termios)[i] , i+(char *)termios ); |
termios | 187 | drivers/char/tty_ioctl.c | static int set_termios(struct tty_struct * tty, struct termios * termios, |
termios | 191 | drivers/char/tty_ioctl.c | struct termios old_termios = *tty->termios; |
termios | 196 | drivers/char/tty_ioctl.c | for (i=0 ; i< (sizeof (*termios)) ; i++) |
termios | 197 | drivers/char/tty_ioctl.c | ((char *)tty->termios)[i]=get_fs_byte(i+(char *)termios); |
termios | 205 | drivers/char/tty_ioctl.c | new_flow = (tty->termios->c_iflag & IXON) && |
termios | 206 | drivers/char/tty_ioctl.c | (tty->termios->c_cc[VSTOP] == '\023') && |
termios | 207 | drivers/char/tty_ioctl.c | (tty->termios->c_cc[VSTART] == '\021'); |
termios | 225 | drivers/char/tty_ioctl.c | if (IS_A_PTY_MASTER(channel)) tty->termios->c_lflag &= ~ECHO; |
termios | 228 | drivers/char/tty_ioctl.c | unset_locked_termios(tty->termios, &old_termios, |
termios | 232 | drivers/char/tty_ioctl.c | retval = tty_set_ldisc(tty, tty->termios->c_line); |
termios | 251 | drivers/char/tty_ioctl.c | tmp_termio.c_iflag = tty->termios->c_iflag; |
termios | 252 | drivers/char/tty_ioctl.c | tmp_termio.c_oflag = tty->termios->c_oflag; |
termios | 253 | drivers/char/tty_ioctl.c | tmp_termio.c_cflag = tty->termios->c_cflag; |
termios | 254 | drivers/char/tty_ioctl.c | tmp_termio.c_lflag = tty->termios->c_lflag; |
termios | 255 | drivers/char/tty_ioctl.c | tmp_termio.c_line = tty->termios->c_line; |
termios | 257 | drivers/char/tty_ioctl.c | tmp_termio.c_cc[i] = tty->termios->c_cc[i]; |
termios | 268 | drivers/char/tty_ioctl.c | struct termios old_termios = *tty->termios; |
termios | 277 | drivers/char/tty_ioctl.c | SET_LOW_BITS(tty->termios->c_iflag, tmp_termio.c_iflag); |
termios | 278 | drivers/char/tty_ioctl.c | SET_LOW_BITS(tty->termios->c_oflag, tmp_termio.c_oflag); |
termios | 279 | drivers/char/tty_ioctl.c | SET_LOW_BITS(tty->termios->c_cflag, tmp_termio.c_cflag); |
termios | 280 | drivers/char/tty_ioctl.c | SET_LOW_BITS(tty->termios->c_lflag, tmp_termio.c_lflag); |
termios | 281 | drivers/char/tty_ioctl.c | memcpy(tty->termios->c_cc, tmp_termio.c_cc, NCC); |
termios | 289 | drivers/char/tty_ioctl.c | new_flow = (tty->termios->c_iflag & IXON) && |
termios | 290 | drivers/char/tty_ioctl.c | (tty->termios->c_cc[VSTOP] == '\023') && |
termios | 291 | drivers/char/tty_ioctl.c | (tty->termios->c_cc[VSTART] == '\021'); |
termios | 303 | drivers/char/tty_ioctl.c | unset_locked_termios(tty->termios, &old_termios, |
termios | 318 | drivers/char/tty_ioctl.c | static int get_lcktrmios(struct tty_struct * tty, struct termios * termios, |
termios | 323 | drivers/char/tty_ioctl.c | i = verify_area(VERIFY_WRITE, termios, sizeof (*termios)); |
termios | 326 | drivers/char/tty_ioctl.c | for (i=0 ; i< (sizeof (*termios)) ; i++) |
termios | 328 | drivers/char/tty_ioctl.c | i+(char *)termios); |
termios | 332 | drivers/char/tty_ioctl.c | static int set_lcktrmios(struct tty_struct * tty, struct termios * termios, |
termios | 339 | drivers/char/tty_ioctl.c | for (i=0 ; i< (sizeof (*termios)) ; i++) |
termios | 341 | drivers/char/tty_ioctl.c | get_fs_byte(i+(char *)termios); |
termios | 401 | drivers/char/tty_ioctl.c | tty->termios->c_line = ldisc; |
termios | 440 | drivers/char/tty_ioctl.c | return get_termios(termios_tty,(struct termios *) arg); |
termios | 448 | drivers/char/tty_ioctl.c | return set_termios(termios_tty,(struct termios *) arg, termios_dev); |
termios | 616 | drivers/char/tty_ioctl.c | return get_lcktrmios(tty, (struct termios *) arg, |
termios | 620 | drivers/char/tty_ioctl.c | return set_lcktrmios(tty, (struct termios *) arg, |
termios | 147 | include/linux/tty.h | #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR]) |
termios | 148 | include/linux/tty.h | #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) |
termios | 149 | include/linux/tty.h | #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) |
termios | 150 | include/linux/tty.h | #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) |
termios | 151 | include/linux/tty.h | #define WERASE_CHAR(tty) ((tty)->termios->c_cc[VWERASE]) |
termios | 152 | include/linux/tty.h | #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) |
termios | 153 | include/linux/tty.h | #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) |
termios | 154 | include/linux/tty.h | #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) |
termios | 155 | include/linux/tty.h | #define SUSPEND_CHAR(tty) ((tty)->termios->c_cc[VSUSP]) |
termios | 156 | include/linux/tty.h | #define LNEXT_CHAR(tty) ((tty)->termios->c_cc[VLNEXT]) |
termios | 158 | include/linux/tty.h | #define _L_FLAG(tty,f) ((tty)->termios->c_lflag & f) |
termios | 159 | include/linux/tty.h | #define _I_FLAG(tty,f) ((tty)->termios->c_iflag & f) |
termios | 160 | include/linux/tty.h | #define _O_FLAG(tty,f) ((tty)->termios->c_oflag & f) |
termios | 161 | include/linux/tty.h | #define _C_FLAG(tty,f) ((tty)->termios->c_cflag & f) |
termios | 196 | include/linux/tty.h | #define C_SPEED(tty) ((tty)->termios->c_cflag & CBAUD) |
termios | 214 | include/linux/tty.h | struct termios *termios; |
termios | 232 | include/linux/tty.h | void (*set_termios)(struct tty_struct *tty, struct termios * old); |
termios | 332 | include/linux/tty.h | extern struct termios *tty_termios[]; |
termios | 333 | include/linux/tty.h | extern struct termios *termios_locked[]; |