Lines Matching refs:tty_driver

328 static struct tty_driver *get_tty_driver(dev_t device, int *index)  in get_tty_driver()
330 struct tty_driver *p; in get_tty_driver()
353 struct tty_driver *tty_find_polling_driver(char *name, int *line) in tty_find_polling_driver()
355 struct tty_driver *p, *res = NULL; in tty_find_polling_driver()
1203 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name()
1223 static void tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name()
1239 static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver, in tty_driver_lookup_tty()
1280 int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) in tty_standard_install()
1305 static int tty_driver_install_tty(struct tty_driver *driver, in tty_driver_install_tty()
1322 void tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) in tty_driver_remove_tty()
1341 struct tty_driver *driver = tty->driver; in tty_reopen()
1392 struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx) in tty_init_dev()
1485 struct tty_driver *driver = tty->driver; in release_one_tty()
1845 static struct tty_driver *tty_lookup_driver(dev_t device, struct file *filp, in tty_lookup_driver()
1848 struct tty_driver *driver; in tty_lookup_driver()
1853 extern struct tty_driver *console_driver; in tty_lookup_driver()
1861 struct tty_driver *console_driver = console_device(index); in tty_lookup_driver()
1907 struct tty_driver *driver = NULL; in tty_open()
2932 struct tty_driver *driver, int idx) in initialize_tty_struct()
3018 struct device *tty_register_device(struct tty_driver *driver, unsigned index, in tty_register_device()
3050 void tty_unregister_device(struct tty_driver *driver, unsigned index) in tty_unregister_device()
3057 struct tty_driver *__alloc_tty_driver(int lines, struct module *owner) in __alloc_tty_driver()
3059 struct tty_driver *driver; in __alloc_tty_driver()
3061 driver = kzalloc(sizeof(struct tty_driver), GFP_KERNEL); in __alloc_tty_driver()
3075 struct tty_driver *driver = container_of(kref, struct tty_driver, kref); in destruct_tty_driver()
3105 void tty_driver_kref_put(struct tty_driver *driver) in tty_driver_kref_put()
3111 void tty_set_operations(struct tty_driver *driver, in tty_set_operations()
3118 void put_tty_driver(struct tty_driver *d) in put_tty_driver()
3127 int tty_register_driver(struct tty_driver *driver) in tty_register_driver()
3213 int tty_unregister_driver(struct tty_driver *driver) in tty_unregister_driver()