Lines Matching defs:tty_operations

350 struct tty_operations {  struct
351 struct tty_struct * (*lookup)(struct tty_driver *driver,
353 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
354 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
355 int (*open)(struct tty_struct * tty, struct file * filp);
356 void (*close)(struct tty_struct * tty, struct file * filp);
357 void (*shutdown)(struct tty_struct *tty);
358 void (*cleanup)(struct tty_struct *tty);
359 int (*write)(struct tty_struct * tty,
361 int (*put_char)(struct tty_struct *tty, unsigned char ch);
362 void (*flush_chars)(struct tty_struct *tty);
363 unsigned int (*write_room)(struct tty_struct *tty);
364 unsigned int (*chars_in_buffer)(struct tty_struct *tty);
365 int (*ioctl)(struct tty_struct *tty,
367 long (*compat_ioctl)(struct tty_struct *tty,
369 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old);
370 void (*throttle)(struct tty_struct * tty);
371 void (*unthrottle)(struct tty_struct * tty);
372 void (*stop)(struct tty_struct *tty);
373 void (*start)(struct tty_struct *tty);
374 void (*hangup)(struct tty_struct *tty);
375 int (*break_ctl)(struct tty_struct *tty, int state);
376 void (*flush_buffer)(struct tty_struct *tty);
377 void (*set_ldisc)(struct tty_struct *tty);
378 void (*wait_until_sent)(struct tty_struct *tty, int timeout);
379 void (*send_xchar)(struct tty_struct *tty, char ch);
380 int (*tiocmget)(struct tty_struct *tty);
381 int (*tiocmset)(struct tty_struct *tty,
383 int (*resize)(struct tty_struct *tty, struct winsize *ws);
384 int (*get_icount)(struct tty_struct *tty,
386 int (*get_serial)(struct tty_struct *tty, struct serial_struct *p);
387 int (*set_serial)(struct tty_struct *tty, struct serial_struct *p);
388 void (*show_fdinfo)(struct tty_struct *tty, struct seq_file *m);
390 int (*poll_init)(struct tty_driver *driver, int line, char *options);
391 int (*poll_get_char)(struct tty_driver *driver, int line);
392 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
394 int (*proc_show)(struct seq_file *m, void *driver);