Lines Matching refs:tty_driver
248 struct tty_driver;
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);
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);
296 struct tty_driver { struct
312 struct tty_driver *other; /* only used for the PTY driver */ argument
332 extern struct tty_driver *__tty_alloc_driver(unsigned int lines, argument
334 extern void put_tty_driver(struct tty_driver *driver);
335 extern void tty_set_operations(struct tty_driver *driver,
337 extern struct tty_driver *tty_find_polling_driver(char *name, int *line);
339 extern void tty_driver_kref_put(struct tty_driver *driver);
349 static inline struct tty_driver *alloc_tty_driver(unsigned int lines) in alloc_tty_driver()
351 struct tty_driver *ret = tty_alloc_driver(lines, 0); in alloc_tty_driver()
357 static inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d) in tty_driver_kref_get()