Lines Matching defs:tty_operations
442 struct tty_operations { struct
443 struct tty_struct * (*lookup)(struct tty_driver *driver,
445 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
446 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
447 int (*open)(struct tty_struct * tty, struct file * filp);
448 void (*close)(struct tty_struct * tty, struct file * filp);
449 void (*shutdown)(struct tty_struct *tty);
450 void (*cleanup)(struct tty_struct *tty);
451 ssize_t (*write)(struct tty_struct *tty, const u8 *buf, size_t count);
452 int (*put_char)(struct tty_struct *tty, u8 ch);
453 void (*flush_chars)(struct tty_struct *tty);
454 unsigned int (*write_room)(struct tty_struct *tty);
455 unsigned int (*chars_in_buffer)(struct tty_struct *tty);
456 int (*ioctl)(struct tty_struct *tty,
458 long (*compat_ioctl)(struct tty_struct *tty,
460 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old);
461 void (*throttle)(struct tty_struct * tty);
462 void (*unthrottle)(struct tty_struct * tty);
463 void (*stop)(struct tty_struct *tty);
464 void (*start)(struct tty_struct *tty);
465 void (*hangup)(struct tty_struct *tty);
466 int (*break_ctl)(struct tty_struct *tty, int state);
467 void (*flush_buffer)(struct tty_struct *tty);
468 int (*ldisc_ok)(struct tty_struct *tty, int ldisc);
469 void (*set_ldisc)(struct tty_struct *tty);
470 void (*wait_until_sent)(struct tty_struct *tty, int timeout);
471 void (*send_xchar)(struct tty_struct *tty, u8 ch);
472 int (*tiocmget)(struct tty_struct *tty);
473 int (*tiocmset)(struct tty_struct *tty,
475 int (*resize)(struct tty_struct *tty, struct winsize *ws);
476 int (*get_icount)(struct tty_struct *tty,
478 int (*get_serial)(struct tty_struct *tty, struct serial_struct *p);
479 int (*set_serial)(struct tty_struct *tty, struct serial_struct *p);
480 void (*show_fdinfo)(struct tty_struct *tty, struct seq_file *m);
482 int (*poll_init)(struct tty_driver *driver, int line, char *options);
483 int (*poll_get_char)(struct tty_driver *driver, int line);
484 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
486 int (*proc_show)(struct seq_file *m, void *driver);