Searched refs:CPUID_MAJOR (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/arch/x86/kernel/ |
D | cpuid.c | 132 dev = device_create(cpuid_class, NULL, MKDEV(CPUID_MAJOR, cpu), NULL, in cpuid_device_create() 139 device_destroy(cpuid_class, MKDEV(CPUID_MAJOR, cpu)); in cpuid_device_destroy() 152 if (__register_chrdev(CPUID_MAJOR, 0, NR_CPUS, in cpuid_init() 155 CPUID_MAJOR); 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()
|
/Linux-v5.4/include/uapi/linux/ |
D | major.h | 168 #define CPUID_MAJOR 203 macro
|