Home
last modified time | relevance | path

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

/linux-6.15/drivers/tty/vt/
H A Dvc_screen.c789 static const struct class vc_class = { variable
795 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, "vcs%u", index + 1); in vcs_make_sysfs()
796 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, "vcsu%u", index + 1); in vcs_make_sysfs()
797 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, "vcsa%u", index + 1); in vcs_make_sysfs()
802 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 1)); in vcs_remove_sysfs()
803 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 65)); in vcs_remove_sysfs()
804 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 129)); in vcs_remove_sysfs()
813 if (class_register(&vc_class)) in vcs_init()
816 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs"); in vcs_init()
817 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 64), NULL, "vcsu"); in vcs_init()
[all …]