• Home
  • Raw
  • Download

Lines Matching defs:tty

106 #define INTR_CHAR(tty) ((tty)->termios.c_cc[VINTR])  argument
107 #define QUIT_CHAR(tty) ((tty)->termios.c_cc[VQUIT]) argument
108 #define ERASE_CHAR(tty) ((tty)->termios.c_cc[VERASE]) argument
109 #define KILL_CHAR(tty) ((tty)->termios.c_cc[VKILL]) argument
110 #define EOF_CHAR(tty) ((tty)->termios.c_cc[VEOF]) argument
111 #define TIME_CHAR(tty) ((tty)->termios.c_cc[VTIME]) argument
112 #define MIN_CHAR(tty) ((tty)->termios.c_cc[VMIN]) argument
113 #define SWTC_CHAR(tty) ((tty)->termios.c_cc[VSWTC]) argument
114 #define START_CHAR(tty) ((tty)->termios.c_cc[VSTART]) argument
115 #define STOP_CHAR(tty) ((tty)->termios.c_cc[VSTOP]) argument
116 #define SUSP_CHAR(tty) ((tty)->termios.c_cc[VSUSP]) argument
117 #define EOL_CHAR(tty) ((tty)->termios.c_cc[VEOL]) argument
118 #define REPRINT_CHAR(tty) ((tty)->termios.c_cc[VREPRINT]) argument
119 #define DISCARD_CHAR(tty) ((tty)->termios.c_cc[VDISCARD]) argument
120 #define WERASE_CHAR(tty) ((tty)->termios.c_cc[VWERASE]) argument
121 #define LNEXT_CHAR(tty) ((tty)->termios.c_cc[VLNEXT]) argument
122 #define EOL2_CHAR(tty) ((tty)->termios.c_cc[VEOL2]) argument
124 #define _I_FLAG(tty, f) ((tty)->termios.c_iflag & (f)) argument
125 #define _O_FLAG(tty, f) ((tty)->termios.c_oflag & (f)) argument
126 #define _C_FLAG(tty, f) ((tty)->termios.c_cflag & (f)) argument
127 #define _L_FLAG(tty, f) ((tty)->termios.c_lflag & (f)) argument
129 #define I_IGNBRK(tty) _I_FLAG((tty), IGNBRK) argument
130 #define I_BRKINT(tty) _I_FLAG((tty), BRKINT) argument
131 #define I_IGNPAR(tty) _I_FLAG((tty), IGNPAR) argument
132 #define I_PARMRK(tty) _I_FLAG((tty), PARMRK) argument
133 #define I_INPCK(tty) _I_FLAG((tty), INPCK) argument
134 #define I_ISTRIP(tty) _I_FLAG((tty), ISTRIP) argument
135 #define I_INLCR(tty) _I_FLAG((tty), INLCR) argument
136 #define I_IGNCR(tty) _I_FLAG((tty), IGNCR) argument
137 #define I_ICRNL(tty) _I_FLAG((tty), ICRNL) argument
138 #define I_IUCLC(tty) _I_FLAG((tty), IUCLC) argument
139 #define I_IXON(tty) _I_FLAG((tty), IXON) argument
140 #define I_IXANY(tty) _I_FLAG((tty), IXANY) argument
141 #define I_IXOFF(tty) _I_FLAG((tty), IXOFF) argument
142 #define I_IMAXBEL(tty) _I_FLAG((tty), IMAXBEL) argument
143 #define I_IUTF8(tty) _I_FLAG((tty), IUTF8) argument
145 #define O_OPOST(tty) _O_FLAG((tty), OPOST) argument
146 #define O_OLCUC(tty) _O_FLAG((tty), OLCUC) argument
147 #define O_ONLCR(tty) _O_FLAG((tty), ONLCR) argument
148 #define O_OCRNL(tty) _O_FLAG((tty), OCRNL) argument
149 #define O_ONOCR(tty) _O_FLAG((tty), ONOCR) argument
150 #define O_ONLRET(tty) _O_FLAG((tty), ONLRET) argument
151 #define O_OFILL(tty) _O_FLAG((tty), OFILL) argument
152 #define O_OFDEL(tty) _O_FLAG((tty), OFDEL) argument
153 #define O_NLDLY(tty) _O_FLAG((tty), NLDLY) argument
154 #define O_CRDLY(tty) _O_FLAG((tty), CRDLY) argument
155 #define O_TABDLY(tty) _O_FLAG((tty), TABDLY) argument
156 #define O_BSDLY(tty) _O_FLAG((tty), BSDLY) argument
157 #define O_VTDLY(tty) _O_FLAG((tty), VTDLY) argument
158 #define O_FFDLY(tty) _O_FLAG((tty), FFDLY) argument
160 #define C_BAUD(tty) _C_FLAG((tty), CBAUD) argument
161 #define C_CSIZE(tty) _C_FLAG((tty), CSIZE) argument
162 #define C_CSTOPB(tty) _C_FLAG((tty), CSTOPB) argument
163 #define C_CREAD(tty) _C_FLAG((tty), CREAD) argument
164 #define C_PARENB(tty) _C_FLAG((tty), PARENB) argument
165 #define C_PARODD(tty) _C_FLAG((tty), PARODD) argument
166 #define C_HUPCL(tty) _C_FLAG((tty), HUPCL) argument
167 #define C_CLOCAL(tty) _C_FLAG((tty), CLOCAL) argument
168 #define C_CIBAUD(tty) _C_FLAG((tty), CIBAUD) argument
169 #define C_CRTSCTS(tty) _C_FLAG((tty), CRTSCTS) argument
170 #define C_CMSPAR(tty) _C_FLAG((tty), CMSPAR) argument
172 #define L_ISIG(tty) _L_FLAG((tty), ISIG) argument
173 #define L_ICANON(tty) _L_FLAG((tty), ICANON) argument
174 #define L_XCASE(tty) _L_FLAG((tty), XCASE) argument
175 #define L_ECHO(tty) _L_FLAG((tty), ECHO) argument
176 #define L_ECHOE(tty) _L_FLAG((tty), ECHOE) argument
177 #define L_ECHOK(tty) _L_FLAG((tty), ECHOK) argument
178 #define L_ECHONL(tty) _L_FLAG((tty), ECHONL) argument
179 #define L_NOFLSH(tty) _L_FLAG((tty), NOFLSH) argument
180 #define L_TOSTOP(tty) _L_FLAG((tty), TOSTOP) argument
181 #define L_ECHOCTL(tty) _L_FLAG((tty), ECHOCTL) argument
182 #define L_ECHOPRT(tty) _L_FLAG((tty), ECHOPRT) argument
183 #define L_ECHOKE(tty) _L_FLAG((tty), ECHOKE) argument
184 #define L_FLUSHO(tty) _L_FLAG((tty), FLUSHO) argument
185 #define L_PENDIN(tty) _L_FLAG((tty), PENDIN) argument
186 #define L_IEXTEN(tty) _L_FLAG((tty), IEXTEN) argument
187 #define L_EXTPROC(tty) _L_FLAG((tty), EXTPROC) argument
230 struct tty_struct *tty; /* Back pointer */ member
343 struct tty_struct *tty; member
376 static inline void __tty_set_flow_change(struct tty_struct *tty, int val) in __tty_set_flow_change()
381 static inline void tty_set_flow_change(struct tty_struct *tty, int val) in tty_set_flow_change()
387 static inline bool tty_io_nonblock(struct tty_struct *tty, struct file *file) in tty_io_nonblock()
393 static inline bool tty_io_error(struct tty_struct *tty) in tty_io_error()
398 static inline bool tty_throttled(struct tty_struct *tty) in tty_throttled()
420 static inline void tty_kref_put(struct tty_struct *tty) in tty_kref_put()
422 static inline struct pid *tty_get_pgrp(struct tty_struct *tty) in tty_get_pgrp()
428 static inline dev_t tty_devnum(struct tty_struct *tty) in tty_devnum()
437 static inline const char *tty_name(const struct tty_struct *tty) in tty_name()
441 static inline void tty_kclose(struct tty_struct *tty) in tty_kclose()
462 static inline struct tty_struct *tty_kref_get(struct tty_struct *tty) in tty_kref_get()
532 static inline speed_t tty_get_baud_rate(struct tty_struct *tty) in tty_get_baud_rate()
572 #define tty_is_writelocked(tty) (mutex_is_locked(&tty->atomic_write_lock)) argument
735 static inline void tty_audit_add_data(struct tty_struct *tty, const void *data, in tty_audit_add_data()
739 static inline void tty_audit_tiocsti(struct tty_struct *tty, char ch) in tty_audit_tiocsti()
783 #define tty_msg(fn, tty, f, ...) \ argument
786 #define tty_debug(tty, f, ...) tty_msg(pr_debug, tty, f, ##__VA_ARGS__) argument
787 #define tty_info(tty, f, ...) tty_msg(pr_info, tty, f, ##__VA_ARGS__) argument
788 #define tty_notice(tty, f, ...) tty_msg(pr_notice, tty, f, ##__VA_ARGS__) argument
789 #define tty_warn(tty, f, ...) tty_msg(pr_warn, tty, f, ##__VA_ARGS__) argument
790 #define tty_err(tty, f, ...) tty_msg(pr_err, tty, f, ##__VA_ARGS__) argument
792 #define tty_info_ratelimited(tty, f, ...) \ argument