Lines Matching refs:VCS_MAJOR
786 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, in vcs_make_sysfs()
788 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, in vcs_make_sysfs()
790 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, in vcs_make_sysfs()
796 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 1)); in vcs_remove_sysfs()
797 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 65)); in vcs_remove_sysfs()
798 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 129)); in vcs_remove_sysfs()
805 if (register_chrdev(VCS_MAJOR, "vcs", &vcs_fops)) in vcs_init()
806 panic("unable to get major %d for vcs device", VCS_MAJOR); in vcs_init()
809 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs"); in vcs_init()
810 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 64), NULL, "vcsu"); in vcs_init()
811 device_create(vc_class, NULL, MKDEV(VCS_MAJOR, 128), NULL, "vcsa"); in vcs_init()