Lines Matching refs:vc_class
773 static const struct class vc_class = { variable
779 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, "vcs%u", index + 1); in vcs_make_sysfs()
780 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, "vcsu%u", index + 1); in vcs_make_sysfs()
781 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, "vcsa%u", index + 1); in vcs_make_sysfs()
786 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 1)); in vcs_remove_sysfs()
787 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 65)); in vcs_remove_sysfs()
788 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 129)); in vcs_remove_sysfs()
797 if (class_register(&vc_class)) in vcs_init()
800 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs"); in vcs_init()
801 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 64), NULL, "vcsu"); in vcs_init()
802 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 128), NULL, "vcsa"); in vcs_init()