Lines Matching refs:TTYAUX_MAJOR
1881 if (device != MKDEV(TTYAUX_MAJOR, 0)) in tty_open_current_tty()
1929 case MKDEV(TTYAUX_MAJOR, 1): { in tty_lookup_driver()
2174 device == MKDEV(TTYAUX_MAJOR, 1) || in tty_open()
3531 if (dev->devt == MKDEV(TTYAUX_MAJOR, 0) || in tty_devnode()
3532 dev->devt == MKDEV(TTYAUX_MAJOR, 2)) in tty_devnode()
3649 if (cdev_add(&tty_cdev, MKDEV(TTYAUX_MAJOR, 0), 1) || in tty_init()
3650 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 0), 1, "/dev/tty") < 0) in tty_init()
3652 device_create(&tty_class, NULL, MKDEV(TTYAUX_MAJOR, 0), NULL, "tty"); in tty_init()
3655 if (cdev_add(&console_cdev, MKDEV(TTYAUX_MAJOR, 1), 1) || in tty_init()
3656 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 1), 1, "/dev/console") < 0) in tty_init()
3659 MKDEV(TTYAUX_MAJOR, 1), NULL, in tty_init()