Lines Matching defs:tty_operations
248 struct tty_operations { struct
249 struct tty_struct * (*lookup)(struct tty_driver *driver,
251 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
252 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
253 int (*open)(struct tty_struct * tty, struct file * filp);
254 void (*close)(struct tty_struct * tty, struct file * filp);
255 void (*shutdown)(struct tty_struct *tty);
256 void (*cleanup)(struct tty_struct *tty);
257 int (*write)(struct tty_struct * tty,
259 int (*put_char)(struct tty_struct *tty, unsigned char ch);
260 void (*flush_chars)(struct tty_struct *tty);
261 unsigned int (*write_room)(struct tty_struct *tty);
262 unsigned int (*chars_in_buffer)(struct tty_struct *tty);
263 int (*ioctl)(struct tty_struct *tty,
265 long (*compat_ioctl)(struct tty_struct *tty,
267 void (*set_termios)(struct tty_struct *tty, struct ktermios * old);
268 void (*throttle)(struct tty_struct * tty);
269 void (*unthrottle)(struct tty_struct * tty);
270 void (*stop)(struct tty_struct *tty);
271 void (*start)(struct tty_struct *tty);
272 void (*hangup)(struct tty_struct *tty);
273 int (*break_ctl)(struct tty_struct *tty, int state);
274 void (*flush_buffer)(struct tty_struct *tty);
275 void (*set_ldisc)(struct tty_struct *tty);
276 void (*wait_until_sent)(struct tty_struct *tty, int timeout);
277 void (*send_xchar)(struct tty_struct *tty, char ch);
278 int (*tiocmget)(struct tty_struct *tty);
279 int (*tiocmset)(struct tty_struct *tty,
281 int (*resize)(struct tty_struct *tty, struct winsize *ws);
282 int (*get_icount)(struct tty_struct *tty,
284 int (*get_serial)(struct tty_struct *tty, struct serial_struct *p);
285 int (*set_serial)(struct tty_struct *tty, struct serial_struct *p);
286 void (*show_fdinfo)(struct tty_struct *tty, struct seq_file *m);
288 int (*poll_init)(struct tty_driver *driver, int line, char *options);
289 int (*poll_get_char)(struct tty_driver *driver, int line);
290 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
292 int (*proc_show)(struct seq_file *, void *);