Lines Matching defs:tty_operations

246 struct tty_operations {  struct
247 struct tty_struct * (*lookup)(struct tty_driver *driver,
249 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
250 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
251 int (*open)(struct tty_struct * tty, struct file * filp);
252 void (*close)(struct tty_struct * tty, struct file * filp);
253 void (*shutdown)(struct tty_struct *tty);
254 void (*cleanup)(struct tty_struct *tty);
255 int (*write)(struct tty_struct * tty,
257 int (*put_char)(struct tty_struct *tty, unsigned char ch);
258 void (*flush_chars)(struct tty_struct *tty);
259 int (*write_room)(struct tty_struct *tty);
260 int (*chars_in_buffer)(struct tty_struct *tty);
261 int (*ioctl)(struct tty_struct *tty,
263 long (*compat_ioctl)(struct tty_struct *tty,
265 void (*set_termios)(struct tty_struct *tty, struct ktermios * old);
266 void (*throttle)(struct tty_struct * tty);
267 void (*unthrottle)(struct tty_struct * tty);
268 void (*stop)(struct tty_struct *tty);
269 void (*start)(struct tty_struct *tty);
270 void (*hangup)(struct tty_struct *tty);
271 int (*break_ctl)(struct tty_struct *tty, int state);
272 void (*flush_buffer)(struct tty_struct *tty);
273 void (*set_ldisc)(struct tty_struct *tty);
274 void (*wait_until_sent)(struct tty_struct *tty, int timeout);
275 void (*send_xchar)(struct tty_struct *tty, char ch);
276 int (*tiocmget)(struct tty_struct *tty);
277 int (*tiocmset)(struct tty_struct *tty,
279 int (*resize)(struct tty_struct *tty, struct winsize *ws);
280 int (*set_termiox)(struct tty_struct *tty, struct termiox *tnew);
281 int (*get_icount)(struct tty_struct *tty,
284 int (*poll_init)(struct tty_driver *driver, int line, char *options);
285 int (*poll_get_char)(struct tty_driver *driver, int line);
286 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
288 const struct file_operations *proc_fops;