Searched refs:VCS_MAJOR (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/tty/vt/ |
D | vc_screen.c | 715 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, in vcs_make_sysfs() 717 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, in vcs_make_sysfs() 719 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, in vcs_make_sysfs() 725 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 1)); in vcs_remove_sysfs() 726 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 65)); in vcs_remove_sysfs() 727 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 129)); in vcs_remove_sysfs() 734 if (register_chrdev(VCS_MAJOR, "vcs", &vcs_fops)) in vcs_init() 735 panic("unable to get major %d for vcs device", VCS_MAJOR); in vcs_init() 738 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs"); in vcs_init() 739 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 64), NULL, "vcsu"); in vcs_init() [all …]
|
/Linux-v5.4/include/uapi/linux/ |
D | major.h | 21 #define VCS_MAJOR 7 macro
|