Lines Matching refs:tty_struct
249 struct tty_struct;
254 struct tty_struct * (*lookup)(struct tty_driver *driver,
256 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
257 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
258 int (*open)(struct tty_struct * tty, struct file * filp);
259 void (*close)(struct tty_struct * tty, struct file * filp);
260 void (*shutdown)(struct tty_struct *tty);
261 void (*cleanup)(struct tty_struct *tty);
262 int (*write)(struct tty_struct * tty,
264 int (*put_char)(struct tty_struct *tty, unsigned char ch);
265 void (*flush_chars)(struct tty_struct *tty);
266 int (*write_room)(struct tty_struct *tty);
267 int (*chars_in_buffer)(struct tty_struct *tty);
268 int (*ioctl)(struct tty_struct *tty,
270 long (*compat_ioctl)(struct tty_struct *tty,
272 void (*set_termios)(struct tty_struct *tty, struct ktermios * old);
273 void (*throttle)(struct tty_struct * tty);
274 void (*unthrottle)(struct tty_struct * tty);
275 void (*stop)(struct tty_struct *tty);
276 void (*start)(struct tty_struct *tty);
277 void (*hangup)(struct tty_struct *tty);
278 int (*break_ctl)(struct tty_struct *tty, int state);
279 void (*flush_buffer)(struct tty_struct *tty);
280 void (*set_ldisc)(struct tty_struct *tty);
281 void (*wait_until_sent)(struct tty_struct *tty, int timeout);
282 void (*send_xchar)(struct tty_struct *tty, char ch);
283 int (*tiocmget)(struct tty_struct *tty);
284 int (*tiocmset)(struct tty_struct *tty,
286 int (*resize)(struct tty_struct *tty, struct winsize *ws);
287 int (*set_termiox)(struct tty_struct *tty, struct termiox *tnew);
288 int (*get_icount)(struct tty_struct *tty,
290 void (*show_fdinfo)(struct tty_struct *tty, struct seq_file *m);
320 struct tty_struct **ttys;