Lines Matching refs:vc_class
789 static struct class *vc_class; variable
793 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, in vcs_make_sysfs()
795 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, in vcs_make_sysfs()
797 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, in vcs_make_sysfs()
803 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 1)); in vcs_remove_sysfs()
804 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 65)); in vcs_remove_sysfs()
805 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 129)); in vcs_remove_sysfs()
814 vc_class = class_create("vc"); 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()
818 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 128), NULL, "vcsa"); in vcs_init()