Lines Matching refs:tty_driver

243 struct tty_driver;
248 struct tty_struct * (*lookup)(struct tty_driver *driver,
250 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
251 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
330 extern struct tty_driver *__tty_alloc_driver(unsigned int lines, argument
332 extern struct tty_driver *tty_find_polling_driver(char *name, int *line);
334 extern void tty_driver_kref_put(struct tty_driver *driver);
340 static inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d) in tty_driver_kref_get()
346 static inline void tty_set_operations(struct tty_driver *driver, in tty_set_operations()
429 int tty_register_driver(struct tty_driver *driver);
430 void tty_unregister_driver(struct tty_driver *driver);
431 struct device *tty_register_device(struct tty_driver *driver, unsigned index,
433 struct device *tty_register_device_attr(struct tty_driver *driver,
436 void tty_unregister_device(struct tty_driver *driver, unsigned index);
439 void proc_tty_register_driver(struct tty_driver *);
440 void proc_tty_unregister_driver(struct tty_driver *);
442 static inline void proc_tty_register_driver(struct tty_driver *d) {} in proc_tty_register_driver()
443 static inline void proc_tty_unregister_driver(struct tty_driver *d) {} in proc_tty_unregister_driver()