Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/tty/vt/
Dvc_screen.c628 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, in vcs_make_sysfs()
630 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, in vcs_make_sysfs()
636 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 1)); in vcs_remove_sysfs()
637 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 129)); in vcs_remove_sysfs()
644 if (register_chrdev(VCS_MAJOR, "vcs", &vcs_fops)) in vcs_init()
645 panic("unable to get major %d for vcs device", VCS_MAJOR); in vcs_init()
648 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs"); in vcs_init()
649 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 128), NULL, "vcsa"); in vcs_init()
/linux-4.1.27/include/uapi/linux/
Dmajor.h20 #define VCS_MAJOR 7 macro