Lines Matching refs:tty_driver
246 struct tty_driver;
250 struct tty_struct * (*lookup)(struct tty_driver *driver,
252 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
253 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
287 int (*poll_init)(struct tty_driver *driver, int line, char *options);
288 int (*poll_get_char)(struct tty_driver *driver, int line);
289 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
294 struct tty_driver { struct
310 struct tty_driver *other; /* only used for the PTY driver */ argument
329 extern struct tty_driver *__alloc_tty_driver(int lines, struct module *owner); argument
330 extern void put_tty_driver(struct tty_driver *driver);
331 extern void tty_set_operations(struct tty_driver *driver,
333 extern struct tty_driver *tty_find_polling_driver(char *name, int *line);
335 extern void tty_driver_kref_put(struct tty_driver *driver);
339 static inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d) in tty_driver_kref_get()