Home
last modified time | relevance | path

Searched refs:TTYAUX_MAJOR (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/fs/proc/
Dproc_tty.c76 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 0); in show_tty_driver()
79 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 1); in show_tty_driver()
83 seq_printf(m, "%3d %7d ", TTYAUX_MAJOR, 2); in show_tty_driver()
/linux-3.4.99/drivers/char/
Dttyprintk.c189 ttyprintk_driver->major = TTYAUX_MAJOR; in ttyprintk_init()
205 rp = device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 3), NULL, in ttyprintk_init()
/linux-3.4.99/include/linux/
Dmajor.h18 #define TTYAUX_MAJOR 5 macro
/linux-3.4.99/fs/devpts/
Dinode.c267 init_special_inode(inode, mode, MKDEV(TTYAUX_MAJOR, 2)); in mknod_ptmx()
594 BUG_ON(pts_inode->i_rdev == MKDEV(TTYAUX_MAJOR, PTMX_MINOR)); in devpts_get_tty()
617 BUG_ON(inode->i_rdev == MKDEV(TTYAUX_MAJOR, PTMX_MINOR)); in devpts_pty_kill()
/linux-3.4.99/drivers/tty/
Dpty.c716 if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) || in unix98_pty_init()
717 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0) in unix98_pty_init()
719 device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx"); in unix98_pty_init()
Dtty_io.c1818 if (device != MKDEV(TTYAUX_MAJOR, 0)) in tty_open_current_tty()
1860 case MKDEV(TTYAUX_MAJOR, 1): { in tty_lookup_driver()
3322 if (dev->devt == MKDEV(TTYAUX_MAJOR, 0) || in tty_devnode()
3323 dev->devt == MKDEV(TTYAUX_MAJOR, 2)) in tty_devnode()
3386 if (cdev_add(&tty_cdev, MKDEV(TTYAUX_MAJOR, 0), 1) || in tty_init()
3387 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 0), 1, "/dev/tty") < 0) in tty_init()
3389 device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 0), NULL, "tty"); in tty_init()
3392 if (cdev_add(&console_cdev, MKDEV(TTYAUX_MAJOR, 1), 1) || in tty_init()
3393 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 1), 1, "/dev/console") < 0) in tty_init()
3395 consdev = device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 1), NULL, in tty_init()