tag | line | file | source code |
termios | 137 | include/linux/tty.h | #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR]) |
termios | 138 | include/linux/tty.h | #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) |
termios | 139 | include/linux/tty.h | #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) |
termios | 140 | include/linux/tty.h | #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) |
termios | 141 | include/linux/tty.h | #define WERASE_CHAR(tty) ((tty)->termios->c_cc[VWERASE]) |
termios | 142 | include/linux/tty.h | #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) |
termios | 143 | include/linux/tty.h | #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) |
termios | 144 | include/linux/tty.h | #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) |
termios | 145 | include/linux/tty.h | #define SUSPEND_CHAR(tty) ((tty)->termios->c_cc[VSUSP]) |
termios | 146 | include/linux/tty.h | #define LNEXT_CHAR(tty) ((tty)->termios->c_cc[VLNEXT]) |
termios | 148 | include/linux/tty.h | #define _L_FLAG(tty,f) ((tty)->termios->c_lflag & f) |
termios | 149 | include/linux/tty.h | #define _I_FLAG(tty,f) ((tty)->termios->c_iflag & f) |
termios | 150 | include/linux/tty.h | #define _O_FLAG(tty,f) ((tty)->termios->c_oflag & f) |
termios | 151 | include/linux/tty.h | #define _C_FLAG(tty,f) ((tty)->termios->c_cflag & f) |
termios | 184 | include/linux/tty.h | #define C_SPEED(tty) ((tty)->termios->c_cflag & CBAUD) |
termios | 202 | include/linux/tty.h | struct termios *termios; |
termios | 219 | include/linux/tty.h | void (*set_termios)(struct tty_struct *tty, struct termios * old); |
termios | 579 | kernel/chr_drv/serial.c | if (info->tty && info->tty->termios && I_INPCK(info->tty)) |
termios | 597 | kernel/chr_drv/serial.c | if (info->tty && !(info->tty->termios->c_cflag & HUPCL)) |
termios | 625 | kernel/chr_drv/serial.c | if (!info->tty || !info->tty->termios) |
termios | 627 | kernel/chr_drv/serial.c | cflag = info->tty->termios->c_cflag; |
termios | 749 | kernel/chr_drv/serial.c | if (tty->termios->c_iflag & IXOFF) { |
termios | 759 | kernel/chr_drv/serial.c | if (tty->termios->c_iflag & IXOFF) { |
termios | 1002 | kernel/chr_drv/serial.c | tty->termios->c_cflag = |
termios | 1003 | kernel/chr_drv/serial.c | ((tty->termios->c_cflag & ~CLOCAL) | |
termios | 1032 | kernel/chr_drv/serial.c | static void rs_set_termios(struct tty_struct *tty, struct termios *old_termios) |
termios | 1036 | kernel/chr_drv/serial.c | if (tty->termios->c_cflag == old_termios->c_cflag) |
termios | 1044 | kernel/chr_drv/serial.c | !(tty->termios->c_cflag & CRTSCTS)) { |
termios | 1050 | kernel/chr_drv/serial.c | (tty->termios->c_cflag & CLOCAL)) |
termios | 55 | kernel/chr_drv/tty_io.c | struct termios *tty_termios[MAX_TTYS]; /* We need to keep the termios state */ |
termios | 70 | kernel/chr_drv/tty_io.c | static void initialize_termios(int line, struct termios *tp); |
termios | 712 | kernel/chr_drv/tty_io.c | time = 10L*tty->termios->c_cc[VTIME]; |
termios | 713 | kernel/chr_drv/tty_io.c | minimum = tty->termios->c_cc[VMIN]; |
termios | 997 | kernel/chr_drv/tty_io.c | struct termios *tp, *o_tp; |
termios | 1017 | kernel/chr_drv/tty_io.c | tp = (struct termios *) kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 1032 | kernel/chr_drv/tty_io.c | o_tp = (struct termios *) kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 1045 | kernel/chr_drv/tty_io.c | tty->termios = tty_termios[dev]; |
termios | 1055 | kernel/chr_drv/tty_io.c | o_tty->termios = tty_termios[o_dev]; |
termios | 1072 | kernel/chr_drv/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 1074 | kernel/chr_drv/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 1086 | kernel/chr_drv/tty_io.c | struct termios *tp, *o_tp; |
termios | 1158 | kernel/chr_drv/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 1166 | kernel/chr_drv/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 1477 | kernel/chr_drv/tty_io.c | static void initialize_termios(int line, struct termios * tp) |
termios | 1479 | kernel/chr_drv/tty_io.c | memset(tp, 0, sizeof(struct termios)); |
termios | 124 | kernel/chr_drv/tty_ioctl.c | static int get_termios(struct tty_struct * tty, struct termios * termios) |
termios | 128 | kernel/chr_drv/tty_ioctl.c | i = verify_area(VERIFY_WRITE, termios, sizeof (*termios)); |
termios | 131 | kernel/chr_drv/tty_ioctl.c | for (i=0 ; i< (sizeof (*termios)) ; i++) |
termios | 132 | kernel/chr_drv/tty_ioctl.c | put_fs_byte( ((char *)tty->termios)[i] , i+(char *)termios ); |
termios | 153 | kernel/chr_drv/tty_ioctl.c | static int set_termios(struct tty_struct * tty, struct termios * termios, |
termios | 157 | kernel/chr_drv/tty_ioctl.c | struct termios old_termios = *tty->termios; |
termios | 162 | kernel/chr_drv/tty_ioctl.c | for (i=0 ; i< (sizeof (*termios)) ; i++) |
termios | 163 | kernel/chr_drv/tty_ioctl.c | ((char *)tty->termios)[i]=get_fs_byte(i+(char *)termios); |
termios | 168 | kernel/chr_drv/tty_ioctl.c | if (IS_A_PTY_MASTER(channel)) tty->termios->c_lflag &= ~ECHO; |
termios | 184 | kernel/chr_drv/tty_ioctl.c | tmp_termio.c_iflag = tty->termios->c_iflag; |
termios | 185 | kernel/chr_drv/tty_ioctl.c | tmp_termio.c_oflag = tty->termios->c_oflag; |
termios | 186 | kernel/chr_drv/tty_ioctl.c | tmp_termio.c_cflag = tty->termios->c_cflag; |
termios | 187 | kernel/chr_drv/tty_ioctl.c | tmp_termio.c_lflag = tty->termios->c_lflag; |
termios | 188 | kernel/chr_drv/tty_ioctl.c | tmp_termio.c_line = tty->termios->c_line; |
termios | 190 | kernel/chr_drv/tty_ioctl.c | tmp_termio.c_cc[i] = tty->termios->c_cc[i]; |
termios | 204 | kernel/chr_drv/tty_ioctl.c | struct termios old_termios = *tty->termios; |
termios | 214 | kernel/chr_drv/tty_ioctl.c | ~(tty->termios->c_iflag & IXON)) |
termios | 221 | kernel/chr_drv/tty_ioctl.c | (tty->termios->c_iflag & IXON)) |
termios | 227 | kernel/chr_drv/tty_ioctl.c | *(unsigned short *)&tty->termios->c_iflag = tmp_termio.c_iflag; |
termios | 228 | kernel/chr_drv/tty_ioctl.c | *(unsigned short *)&tty->termios->c_oflag = tmp_termio.c_oflag; |
termios | 229 | kernel/chr_drv/tty_ioctl.c | *(unsigned short *)&tty->termios->c_cflag = tmp_termio.c_cflag; |
termios | 230 | kernel/chr_drv/tty_ioctl.c | *(unsigned short *)&tty->termios->c_lflag = tmp_termio.c_lflag; |
termios | 231 | kernel/chr_drv/tty_ioctl.c | tty->termios->c_line = tmp_termio.c_line; |
termios | 233 | kernel/chr_drv/tty_ioctl.c | tty->termios->c_cc[i] = tmp_termio.c_cc[i]; |
termios | 334 | kernel/chr_drv/tty_ioctl.c | return get_termios(termios_tty,(struct termios *) arg); |
termios | 342 | kernel/chr_drv/tty_ioctl.c | return set_termios(termios_tty,(struct termios *) arg, termios_dev); |