Lines Matching refs:dev_t
316 static struct tty_driver *get_tty_driver(dev_t device, int *index) in get_tty_driver()
321 dev_t base = MKDEV(p->major, p->minor_start); in get_tty_driver()
1935 static struct tty_struct *tty_open_current_tty(dev_t device, struct file *filp) in tty_open_current_tty()
1973 static struct tty_driver *tty_lookup_driver(dev_t device, struct file *filp, in tty_lookup_driver()
2040 dev_t device = inode->i_rdev; in tty_open()
3117 const dev_t *devt = data; in dev_match_devt()
3124 dev_t devt = tty_devnum(tty); in tty_get_device()
3209 static int tty_cdev_add(struct tty_driver *driver, dev_t dev, in tty_cdev_add()
3284 dev_t devt = MKDEV(driver->major, driver->minor_start) + index; in tty_register_device_attr()
3484 dev_t dev; in tty_register_driver()
3559 dev_t tty_devnum(struct tty_struct *tty) in tty_devnum()