• Home
  • Raw
  • Download

Lines Matching defs:tty_operations

357 struct tty_operations {  struct
358 struct tty_struct * (*lookup)(struct tty_driver *driver,
360 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
361 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
362 int (*open)(struct tty_struct * tty, struct file * filp);
363 void (*close)(struct tty_struct * tty, struct file * filp);
364 void (*shutdown)(struct tty_struct *tty);
365 void (*cleanup)(struct tty_struct *tty);
366 ssize_t (*write)(struct tty_struct *tty, const u8 *buf, size_t count);
367 int (*put_char)(struct tty_struct *tty, u8 ch);
368 void (*flush_chars)(struct tty_struct *tty);
369 unsigned int (*write_room)(struct tty_struct *tty);
370 unsigned int (*chars_in_buffer)(struct tty_struct *tty);
371 int (*ioctl)(struct tty_struct *tty,
373 long (*compat_ioctl)(struct tty_struct *tty,
375 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old);
376 void (*throttle)(struct tty_struct * tty);
377 void (*unthrottle)(struct tty_struct * tty);
378 void (*stop)(struct tty_struct *tty);
379 void (*start)(struct tty_struct *tty);
380 void (*hangup)(struct tty_struct *tty);
381 int (*break_ctl)(struct tty_struct *tty, int state);
382 void (*flush_buffer)(struct tty_struct *tty);
383 int (*ldisc_ok)(struct tty_struct *tty, int ldisc);
384 void (*set_ldisc)(struct tty_struct *tty);
385 void (*wait_until_sent)(struct tty_struct *tty, int timeout);
386 void (*send_xchar)(struct tty_struct *tty, u8 ch);
387 int (*tiocmget)(struct tty_struct *tty);
388 int (*tiocmset)(struct tty_struct *tty,
390 int (*resize)(struct tty_struct *tty, struct winsize *ws);
391 int (*get_icount)(struct tty_struct *tty,
393 int (*get_serial)(struct tty_struct *tty, struct serial_struct *p);
394 int (*set_serial)(struct tty_struct *tty, struct serial_struct *p);
395 void (*show_fdinfo)(struct tty_struct *tty, struct seq_file *m);
397 int (*poll_init)(struct tty_driver *driver, int line, char *options);
398 int (*poll_get_char)(struct tty_driver *driver, int line);
399 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
401 int (*proc_show)(struct seq_file *m, void *driver);