Lines Matching refs:dev_t
317 static struct tty_driver *get_tty_driver(dev_t device, int *index)
322 dev_t base = MKDEV(p->major, p->minor_start);
332 * tty_dev_name_to_number - return dev_t for device name
334 * @number: pointer to dev_t that this function will populate
336 * This function converts device names like ttyS0 or ttyUSB1 into dev_t
344 int tty_dev_name_to_number(const char *name, dev_t *number)
1885 static struct tty_struct *tty_open_current_tty(dev_t device, struct file *filp)
1922 static struct tty_driver *tty_lookup_driver(dev_t device, struct file *filp,
1961 * @device: dev_t of device to open
1974 struct tty_struct *tty_kopen(dev_t device)
2011 * @device: dev_t of device to open
2024 static struct tty_struct *tty_open_by_driver(dev_t device,
2104 dev_t device = inode->i_rdev;
3060 dev_t devt = tty_devnum(tty);
3135 static int tty_cdev_add(struct tty_driver *driver, dev_t dev,
3210 dev_t devt = MKDEV(driver->major, driver->minor_start) + index;
3416 dev_t dev;
3491 dev_t tty_devnum(struct tty_struct *tty)