Lines Matching defs:tty_operations

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