Lines Matching refs:dev_t
306 static struct tty_driver *get_tty_driver(dev_t device, int *index) in get_tty_driver()
311 dev_t base = MKDEV(p->major, p->minor_start); in get_tty_driver()
334 int tty_dev_name_to_number(const char *name, dev_t *number) in tty_dev_name_to_number()
1867 static struct tty_struct *tty_open_current_tty(dev_t device, struct file *filp) in tty_open_current_tty()
1905 static struct tty_driver *tty_lookup_driver(dev_t device, struct file *filp, in tty_lookup_driver()
1944 static struct tty_struct *tty_kopen(dev_t device, int shared) in tty_kopen()
1992 struct tty_struct *tty_kopen_exclusive(dev_t device) in tty_kopen_exclusive()
2007 struct tty_struct *tty_kopen_shared(dev_t device) in tty_kopen_shared()
2029 static struct tty_struct *tty_open_by_driver(dev_t device, in tty_open_by_driver()
2108 dev_t device = inode->i_rdev; in tty_open()
3083 dev_t devt = tty_devnum(tty); in tty_get_device()
3158 static int tty_cdev_add(struct tty_driver *driver, dev_t dev, in tty_cdev_add()
3231 dev_t devt = MKDEV(driver->major, driver->minor_start) + index; in tty_register_device_attr()
3432 dev_t dev; in tty_register_driver()
3500 dev_t tty_devnum(struct tty_struct *tty) in tty_devnum()