Home
last modified time | relevance | path

Searched refs:VCS_MAJOR (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/tty/vt/
H A Dvc_screen.c778 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, "vcs%u", index + 1); in vcs_make_sysfs()
779 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, "vcsu%u", index + 1); in vcs_make_sysfs()
780 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, "vcsa%u", index + 1); in vcs_make_sysfs()
785 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 1)); in vcs_remove_sysfs()
786 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 65)); in vcs_remove_sysfs()
787 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 129)); in vcs_remove_sysfs()
794 if (register_chrdev(VCS_MAJOR, "vcs", &vcs_fops)) in vcs_init()
795 panic("unable to get major %d for vcs device", VCS_MAJOR); in vcs_init()
799 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs"); in vcs_init()
800 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 64), NULL, "vcsu"); in vcs_init()
[all …]
/linux/include/uapi/linux/
H A Dmajor.h21 #define VCS_MAJOR 7 macro