• Home
  • Raw
  • Download

Lines Matching refs:tty

81 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR])  argument
82 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) argument
83 #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) argument
84 #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) argument
85 #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) argument
86 #define TIME_CHAR(tty) ((tty)->termios->c_cc[VTIME]) argument
87 #define MIN_CHAR(tty) ((tty)->termios->c_cc[VMIN]) argument
88 #define SWTC_CHAR(tty) ((tty)->termios->c_cc[VSWTC]) argument
89 #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) argument
90 #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) argument
91 #define SUSP_CHAR(tty) ((tty)->termios->c_cc[VSUSP]) argument
92 #define EOL_CHAR(tty) ((tty)->termios->c_cc[VEOL]) argument
93 #define REPRINT_CHAR(tty) ((tty)->termios->c_cc[VREPRINT]) argument
94 #define DISCARD_CHAR(tty) ((tty)->termios->c_cc[VDISCARD]) argument
95 #define WERASE_CHAR(tty) ((tty)->termios->c_cc[VWERASE]) argument
96 #define LNEXT_CHAR(tty) ((tty)->termios->c_cc[VLNEXT]) argument
97 #define EOL2_CHAR(tty) ((tty)->termios->c_cc[VEOL2]) argument
99 #define _I_FLAG(tty,f) ((tty)->termios->c_iflag & (f)) argument
100 #define _O_FLAG(tty,f) ((tty)->termios->c_oflag & (f)) argument
101 #define _C_FLAG(tty,f) ((tty)->termios->c_cflag & (f)) argument
102 #define _L_FLAG(tty,f) ((tty)->termios->c_lflag & (f)) argument
104 #define I_IGNBRK(tty) _I_FLAG((tty),IGNBRK) argument
105 #define I_BRKINT(tty) _I_FLAG((tty),BRKINT) argument
106 #define I_IGNPAR(tty) _I_FLAG((tty),IGNPAR) argument
107 #define I_PARMRK(tty) _I_FLAG((tty),PARMRK) argument
108 #define I_INPCK(tty) _I_FLAG((tty),INPCK) argument
109 #define I_ISTRIP(tty) _I_FLAG((tty),ISTRIP) argument
110 #define I_INLCR(tty) _I_FLAG((tty),INLCR) argument
111 #define I_IGNCR(tty) _I_FLAG((tty),IGNCR) argument
112 #define I_ICRNL(tty) _I_FLAG((tty),ICRNL) argument
113 #define I_IUCLC(tty) _I_FLAG((tty),IUCLC) argument
114 #define I_IXON(tty) _I_FLAG((tty),IXON) argument
115 #define I_IXANY(tty) _I_FLAG((tty),IXANY) argument
116 #define I_IXOFF(tty) _I_FLAG((tty),IXOFF) argument
117 #define I_IMAXBEL(tty) _I_FLAG((tty),IMAXBEL) argument
118 #define I_IUTF8(tty) _I_FLAG((tty),IUTF8) argument
120 #define O_OPOST(tty) _O_FLAG((tty),OPOST) argument
121 #define O_OLCUC(tty) _O_FLAG((tty),OLCUC) argument
122 #define O_ONLCR(tty) _O_FLAG((tty),ONLCR) argument
123 #define O_OCRNL(tty) _O_FLAG((tty),OCRNL) argument
124 #define O_ONOCR(tty) _O_FLAG((tty),ONOCR) argument
125 #define O_ONLRET(tty) _O_FLAG((tty),ONLRET) argument
126 #define O_OFILL(tty) _O_FLAG((tty),OFILL) argument
127 #define O_OFDEL(tty) _O_FLAG((tty),OFDEL) argument
128 #define O_NLDLY(tty) _O_FLAG((tty),NLDLY) argument
129 #define O_CRDLY(tty) _O_FLAG((tty),CRDLY) argument
130 #define O_TABDLY(tty) _O_FLAG((tty),TABDLY) argument
131 #define O_BSDLY(tty) _O_FLAG((tty),BSDLY) argument
132 #define O_VTDLY(tty) _O_FLAG((tty),VTDLY) argument
133 #define O_FFDLY(tty) _O_FLAG((tty),FFDLY) argument
135 #define C_BAUD(tty) _C_FLAG((tty),CBAUD) argument
136 #define C_CSIZE(tty) _C_FLAG((tty),CSIZE) argument
137 #define C_CSTOPB(tty) _C_FLAG((tty),CSTOPB) argument
138 #define C_CREAD(tty) _C_FLAG((tty),CREAD) argument
139 #define C_PARENB(tty) _C_FLAG((tty),PARENB) argument
140 #define C_PARODD(tty) _C_FLAG((tty),PARODD) argument
141 #define C_HUPCL(tty) _C_FLAG((tty),HUPCL) argument
142 #define C_CLOCAL(tty) _C_FLAG((tty),CLOCAL) argument
143 #define C_CIBAUD(tty) _C_FLAG((tty),CIBAUD) argument
144 #define C_CRTSCTS(tty) _C_FLAG((tty),CRTSCTS) argument
146 #define L_ISIG(tty) _L_FLAG((tty),ISIG) argument
147 #define L_ICANON(tty) _L_FLAG((tty),ICANON) argument
148 #define L_XCASE(tty) _L_FLAG((tty),XCASE) argument
149 #define L_ECHO(tty) _L_FLAG((tty),ECHO) argument
150 #define L_ECHOE(tty) _L_FLAG((tty),ECHOE) argument
151 #define L_ECHOK(tty) _L_FLAG((tty),ECHOK) argument
152 #define L_ECHONL(tty) _L_FLAG((tty),ECHONL) argument
153 #define L_NOFLSH(tty) _L_FLAG((tty),NOFLSH) argument
154 #define L_TOSTOP(tty) _L_FLAG((tty),TOSTOP) argument
155 #define L_ECHOCTL(tty) _L_FLAG((tty),ECHOCTL) argument
156 #define L_ECHOPRT(tty) _L_FLAG((tty),ECHOPRT) argument
157 #define L_ECHOKE(tty) _L_FLAG((tty),ECHOKE) argument
158 #define L_FLUSHO(tty) _L_FLAG((tty),FLUSHO) argument
159 #define L_PENDIN(tty) _L_FLAG((tty),PENDIN) argument
160 #define L_IEXTEN(tty) _L_FLAG((tty),IEXTEN) argument
260 #define TTY_WRITE_FLUSH(tty) tty_write_flush((tty)) argument
271 extern int tty_paranoia_check(struct tty_struct *tty, struct inode *inode,
273 extern char *tty_name(struct tty_struct *tty, char *buf);
274 extern void tty_wait_until_sent(struct tty_struct * tty, long timeout);
275 extern int tty_check_change(struct tty_struct * tty);
276 extern void stop_tty(struct tty_struct * tty);
277 extern void start_tty(struct tty_struct * tty);
286 extern int tty_read_raw_data(struct tty_struct *tty, unsigned char *bufp,
288 extern void tty_write_message(struct tty_struct *tty, char *msg);
292 extern int tty_signal(int sig, struct tty_struct *tty);
293 extern void tty_hangup(struct tty_struct * tty);
294 extern void tty_vhangup(struct tty_struct * tty);
297 extern void do_SAK(struct tty_struct *tty);
299 extern void tty_flip_buffer_push(struct tty_struct *tty);
300 extern int tty_get_baud_rate(struct tty_struct *tty);
310 extern void tty_wakeup(struct tty_struct *tty);
311 extern void tty_ldisc_flush(struct tty_struct *tty);
319 extern int n_tty_ioctl(struct tty_struct * tty, struct file * file,
328 extern int pcxe_open(struct tty_struct *tty, struct file *filp);
336 extern int vt_ioctl(struct tty_struct *tty, struct file * file,
339 static inline dev_t tty_devnum(struct tty_struct *tty) in tty_devnum() argument
341 return MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index; in tty_devnum()