taglinefilesource code
termios137include/linux/tty.h#define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR])
termios138include/linux/tty.h#define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT])
termios139include/linux/tty.h#define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE])
termios140include/linux/tty.h#define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL])
termios141include/linux/tty.h#define WERASE_CHAR(tty) ((tty)->termios->c_cc[VWERASE])
termios142include/linux/tty.h#define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF])
termios143include/linux/tty.h#define START_CHAR(tty) ((tty)->termios->c_cc[VSTART])
termios144include/linux/tty.h#define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP])
termios145include/linux/tty.h#define SUSPEND_CHAR(tty) ((tty)->termios->c_cc[VSUSP])
termios146include/linux/tty.h#define LNEXT_CHAR(tty)  ((tty)->termios->c_cc[VLNEXT])
termios148include/linux/tty.h#define _L_FLAG(tty,f)  ((tty)->termios->c_lflag & f)
termios149include/linux/tty.h#define _I_FLAG(tty,f)  ((tty)->termios->c_iflag & f)
termios150include/linux/tty.h#define _O_FLAG(tty,f)  ((tty)->termios->c_oflag & f)
termios151include/linux/tty.h#define _C_FLAG(tty,f)  ((tty)->termios->c_cflag & f)
termios184include/linux/tty.h#define C_SPEED(tty)  ((tty)->termios->c_cflag & CBAUD)
termios202include/linux/tty.hstruct termios *termios;
termios219include/linux/tty.hvoid (*set_termios)(struct tty_struct *tty, struct termios * old);
termios579kernel/chr_drv/serial.cif (info->tty && info->tty->termios && I_INPCK(info->tty))
termios597kernel/chr_drv/serial.cif (info->tty && !(info->tty->termios->c_cflag & HUPCL))
termios625kernel/chr_drv/serial.cif (!info->tty || !info->tty->termios)
termios627kernel/chr_drv/serial.ccflag = info->tty->termios->c_cflag;
termios749kernel/chr_drv/serial.cif (tty->termios->c_iflag & IXOFF) {
termios759kernel/chr_drv/serial.cif (tty->termios->c_iflag & IXOFF) {
termios1002kernel/chr_drv/serial.ctty->termios->c_cflag =
termios1003kernel/chr_drv/serial.c((tty->termios->c_cflag & ~CLOCAL) |
termios1032kernel/chr_drv/serial.cstatic void rs_set_termios(struct tty_struct *tty, struct termios *old_termios)
termios1036kernel/chr_drv/serial.cif (tty->termios->c_cflag == old_termios->c_cflag)
termios1044kernel/chr_drv/serial.c!(tty->termios->c_cflag & CRTSCTS)) {
termios1050kernel/chr_drv/serial.c(tty->termios->c_cflag & CLOCAL))
termios55kernel/chr_drv/tty_io.cstruct termios *tty_termios[MAX_TTYS]; /* We need to keep the termios state */
termios70kernel/chr_drv/tty_io.cstatic void initialize_termios(int line, struct termios *tp);
termios712kernel/chr_drv/tty_io.ctime = 10L*tty->termios->c_cc[VTIME];
termios713kernel/chr_drv/tty_io.cminimum = tty->termios->c_cc[VMIN];
termios997kernel/chr_drv/tty_io.cstruct termios *tp, *o_tp;
termios1017kernel/chr_drv/tty_io.ctp = (struct termios *) kmalloc(sizeof(struct termios), GFP_KERNEL);
termios1032kernel/chr_drv/tty_io.co_tp = (struct termios *) kmalloc(sizeof(struct termios), GFP_KERNEL);
termios1045kernel/chr_drv/tty_io.ctty->termios = tty_termios[dev];
termios1055kernel/chr_drv/tty_io.co_tty->termios = tty_termios[o_dev];
termios1072kernel/chr_drv/tty_io.ckfree_s(tp, sizeof(struct termios));
termios1074kernel/chr_drv/tty_io.ckfree_s(o_tp, sizeof(struct termios));
termios1086kernel/chr_drv/tty_io.cstruct termios *tp, *o_tp;
termios1158kernel/chr_drv/tty_io.ckfree_s(tp, sizeof(struct termios));
termios1166kernel/chr_drv/tty_io.ckfree_s(o_tp, sizeof(struct termios));
termios1477kernel/chr_drv/tty_io.cstatic void initialize_termios(int line, struct termios * tp)
termios1479kernel/chr_drv/tty_io.cmemset(tp, 0, sizeof(struct termios));
termios124kernel/chr_drv/tty_ioctl.cstatic int get_termios(struct tty_struct * tty, struct termios * termios)
termios128kernel/chr_drv/tty_ioctl.ci = verify_area(VERIFY_WRITE, termios, sizeof (*termios));
termios131kernel/chr_drv/tty_ioctl.cfor (i=0 ; i< (sizeof (*termios)) ; i++)
termios132kernel/chr_drv/tty_ioctl.cput_fs_byte( ((char *)tty->termios)[i] , i+(char *)termios );
termios153kernel/chr_drv/tty_ioctl.cstatic int set_termios(struct tty_struct * tty, struct termios * termios,
termios157kernel/chr_drv/tty_ioctl.cstruct termios old_termios = *tty->termios;
termios162kernel/chr_drv/tty_ioctl.cfor (i=0 ; i< (sizeof (*termios)) ; i++)
termios163kernel/chr_drv/tty_ioctl.c((char *)tty->termios)[i]=get_fs_byte(i+(char *)termios);
termios168kernel/chr_drv/tty_ioctl.cif (IS_A_PTY_MASTER(channel)) tty->termios->c_lflag &= ~ECHO;
termios184kernel/chr_drv/tty_ioctl.ctmp_termio.c_iflag = tty->termios->c_iflag;
termios185kernel/chr_drv/tty_ioctl.ctmp_termio.c_oflag = tty->termios->c_oflag;
termios186kernel/chr_drv/tty_ioctl.ctmp_termio.c_cflag = tty->termios->c_cflag;
termios187kernel/chr_drv/tty_ioctl.ctmp_termio.c_lflag = tty->termios->c_lflag;
termios188kernel/chr_drv/tty_ioctl.ctmp_termio.c_line = tty->termios->c_line;
termios190kernel/chr_drv/tty_ioctl.ctmp_termio.c_cc[i] = tty->termios->c_cc[i];
termios204kernel/chr_drv/tty_ioctl.cstruct termios old_termios = *tty->termios;
termios214kernel/chr_drv/tty_ioctl.c~(tty->termios->c_iflag & IXON))
termios221kernel/chr_drv/tty_ioctl.c(tty->termios->c_iflag & IXON))
termios227kernel/chr_drv/tty_ioctl.c*(unsigned short *)&tty->termios->c_iflag = tmp_termio.c_iflag;
termios228kernel/chr_drv/tty_ioctl.c*(unsigned short *)&tty->termios->c_oflag = tmp_termio.c_oflag;
termios229kernel/chr_drv/tty_ioctl.c*(unsigned short *)&tty->termios->c_cflag = tmp_termio.c_cflag;
termios230kernel/chr_drv/tty_ioctl.c*(unsigned short *)&tty->termios->c_lflag = tmp_termio.c_lflag;
termios231kernel/chr_drv/tty_ioctl.ctty->termios->c_line = tmp_termio.c_line;
termios233kernel/chr_drv/tty_ioctl.ctty->termios->c_cc[i] = tmp_termio.c_cc[i];
termios334kernel/chr_drv/tty_ioctl.creturn get_termios(termios_tty,(struct termios *) arg);
termios342kernel/chr_drv/tty_ioctl.creturn set_termios(termios_tty,(struct termios *) arg, termios_dev);