Lines Matching defs:tty_operations

254 struct tty_operations {  struct
255 struct tty_struct * (*lookup)(struct tty_driver *driver,
257 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
258 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
259 int (*open)(struct tty_struct * tty, struct file * filp);
260 void (*close)(struct tty_struct * tty, struct file * filp);
261 void (*shutdown)(struct tty_struct *tty);
262 void (*cleanup)(struct tty_struct *tty);
263 int (*write)(struct tty_struct * tty,
265 int (*put_char)(struct tty_struct *tty, unsigned char ch);
266 void (*flush_chars)(struct tty_struct *tty);
267 int (*write_room)(struct tty_struct *tty);
268 int (*chars_in_buffer)(struct tty_struct *tty);
269 int (*ioctl)(struct tty_struct *tty,
271 long (*compat_ioctl)(struct tty_struct *tty,
273 void (*set_termios)(struct tty_struct *tty, struct ktermios * old);
274 void (*throttle)(struct tty_struct * tty);
275 void (*unthrottle)(struct tty_struct * tty);
276 void (*stop)(struct tty_struct *tty);
277 void (*start)(struct tty_struct *tty);
278 void (*hangup)(struct tty_struct *tty);
279 int (*break_ctl)(struct tty_struct *tty, int state);
280 void (*flush_buffer)(struct tty_struct *tty);
281 void (*set_ldisc)(struct tty_struct *tty);
282 void (*wait_until_sent)(struct tty_struct *tty, int timeout);
283 void (*send_xchar)(struct tty_struct *tty, char ch);
284 int (*tiocmget)(struct tty_struct *tty);
285 int (*tiocmset)(struct tty_struct *tty,
287 int (*resize)(struct tty_struct *tty, struct winsize *ws);
288 int (*set_termiox)(struct tty_struct *tty, struct termiox *tnew);
289 int (*get_icount)(struct tty_struct *tty,
291 int (*get_serial)(struct tty_struct *tty, struct serial_struct *p);
292 int (*set_serial)(struct tty_struct *tty, struct serial_struct *p);
293 void (*show_fdinfo)(struct tty_struct *tty, struct seq_file *m);
295 int (*poll_init)(struct tty_driver *driver, int line, char *options);
296 int (*poll_get_char)(struct tty_driver *driver, int line);
297 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
299 int (*proc_show)(struct seq_file *, void *);