Lines Matching full:cpuid
9 * x86 CPUID access device
11 * This device is accessed by lseek() to the appropriate CPUID level
19 * This driver uses /dev/cpu/%d/cpuid where %d is the minor number, and on
113 return -EIO; /* CPUID not supported */ in cpuid_open()
145 return kasprintf(GFP_KERNEL, "cpu/%u/cpuid", MINOR(dev->devt)); in cpuid_devnode()
153 "cpu/cpuid", &cpuid_fops)) { in cpuid_init()
154 printk(KERN_ERR "cpuid: unable to get major %d for cpuid\n", in cpuid_init()
158 cpuid_class = class_create(THIS_MODULE, "cpuid"); in cpuid_init()
165 err = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "x86/cpuid:online", in cpuid_init()
176 __unregister_chrdev(CPUID_MAJOR, 0, NR_CPUS, "cpu/cpuid"); in cpuid_init()
185 __unregister_chrdev(CPUID_MAJOR, 0, NR_CPUS, "cpu/cpuid"); in cpuid_exit()
190 MODULE_DESCRIPTION("x86 generic CPUID driver");