Lines Matching refs:tty_struct

14 struct tty_struct;
357 struct tty_struct * (*lookup)(struct tty_driver *driver,
359 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
360 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
361 int (*open)(struct tty_struct * tty, struct file * filp);
362 void (*close)(struct tty_struct * tty, struct file * filp);
363 void (*shutdown)(struct tty_struct *tty);
364 void (*cleanup)(struct tty_struct *tty);
365 ssize_t (*write)(struct tty_struct *tty, const u8 *buf, size_t count);
366 int (*put_char)(struct tty_struct *tty, u8 ch);
367 void (*flush_chars)(struct tty_struct *tty);
368 unsigned int (*write_room)(struct tty_struct *tty);
369 unsigned int (*chars_in_buffer)(struct tty_struct *tty);
370 int (*ioctl)(struct tty_struct *tty,
372 long (*compat_ioctl)(struct tty_struct *tty,
374 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old);
375 void (*throttle)(struct tty_struct * tty);
376 void (*unthrottle)(struct tty_struct * tty);
377 void (*stop)(struct tty_struct *tty);
378 void (*start)(struct tty_struct *tty);
379 void (*hangup)(struct tty_struct *tty);
380 int (*break_ctl)(struct tty_struct *tty, int state);
381 void (*flush_buffer)(struct tty_struct *tty);
382 int (*ldisc_ok)(struct tty_struct *tty, int ldisc);
383 void (*set_ldisc)(struct tty_struct *tty);
384 void (*wait_until_sent)(struct tty_struct *tty, int timeout);
385 void (*send_xchar)(struct tty_struct *tty, u8 ch);
386 int (*tiocmget)(struct tty_struct *tty);
387 int (*tiocmset)(struct tty_struct *tty,
389 int (*resize)(struct tty_struct *tty, struct winsize *ws);
390 int (*get_icount)(struct tty_struct *tty,
392 int (*get_serial)(struct tty_struct *tty, struct serial_struct *p);
393 int (*set_serial)(struct tty_struct *tty, struct serial_struct *p);
394 void (*show_fdinfo)(struct tty_struct *tty, struct seq_file *m);
460 struct tty_struct **ttys;