Lines Matching refs:VCS_MAJOR
795 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, "vcs%u", index + 1);
796 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, "vcsu%u", index + 1);
797 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, "vcsa%u", index + 1);
802 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 1));
803 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 65));
804 device_destroy(&vc_class, MKDEV(VCS_MAJOR, index + 129));
811 if (register_chrdev(VCS_MAJOR, "vcs", &vcs_fops))
812 panic("unable to get major %d for vcs device", VCS_MAJOR);
816 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 0), NULL, "vcs");
817 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 64), NULL, "vcsu");
818 device_create(&vc_class, NULL, MKDEV(VCS_MAJOR, 128), NULL, "vcsa");