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