Lines Matching refs:tty_driver
316 static struct tty_driver *get_tty_driver(dev_t device, int *index) in get_tty_driver()
318 struct tty_driver *p; in get_tty_driver()
345 struct tty_driver *p; in tty_dev_name_to_number()
391 struct tty_driver *tty_find_polling_driver(char *name, int *line) in tty_find_polling_driver()
393 struct tty_driver *p, *res = NULL; in tty_find_polling_driver()
1196 static void pty_line_name(struct tty_driver *driver, int index, char *p) in pty_line_name()
1216 static ssize_t tty_line_name(struct tty_driver *driver, int index, char *p) in tty_line_name()
1235 static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver, in tty_driver_lookup_tty()
1283 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 static 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()
1399 struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx) in tty_init_dev()
1533 struct tty_driver *driver = tty->driver; in release_one_tty()
1919 static struct tty_driver *tty_lookup_driver(dev_t device, struct file *filp, in tty_lookup_driver()
1922 struct tty_driver *driver = NULL; in tty_lookup_driver()
1927 extern struct tty_driver *console_driver; in tty_lookup_driver()
1934 struct tty_driver *console_driver = console_device(index); in tty_lookup_driver()
1974 struct tty_driver *driver; in tty_kopen()
2025 struct tty_driver *driver = NULL; in tty_open_by_driver()
3067 struct tty_struct *alloc_tty_struct(struct tty_driver *driver, int idx) in alloc_tty_struct()
3129 static int tty_cdev_add(struct tty_driver *driver, dev_t dev, in tty_cdev_add()
3165 struct device *tty_register_device(struct tty_driver *driver, unsigned index, in tty_register_device()
3198 struct device *tty_register_device_attr(struct tty_driver *driver, in tty_register_device_attr()
3279 void tty_unregister_device(struct tty_driver *driver, unsigned index) in tty_unregister_device()
3299 struct tty_driver *__tty_alloc_driver(unsigned int lines, struct module *owner, in __tty_alloc_driver()
3302 struct tty_driver *driver; in __tty_alloc_driver()
3359 struct tty_driver *driver = container_of(kref, struct tty_driver, kref); in destruct_tty_driver()
3384 void tty_driver_kref_put(struct tty_driver *driver) in tty_driver_kref_put()
3390 void tty_set_operations(struct tty_driver *driver, in tty_set_operations()
3397 void put_tty_driver(struct tty_driver *d) in put_tty_driver()
3406 int tty_register_driver(struct tty_driver *driver) in tty_register_driver()
3468 int tty_unregister_driver(struct tty_driver *driver) in tty_unregister_driver()
3542 struct tty_driver *drv = cs[i]->device(cs[i], &index); in show_cons_active()