Searched refs:MSR_MAJOR (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/arch/x86/kernel/ |
D | msr.c | 191 dev = device_create(msr_class, NULL, MKDEV(MSR_MAJOR, cpu), NULL, in msr_device_create() 198 device_destroy(msr_class, MKDEV(MSR_MAJOR, cpu)); in msr_device_destroy() 211 if (__register_chrdev(MSR_MAJOR, 0, NR_CPUS, "cpu/msr", &msr_fops)) { in msr_init() 212 pr_err("unable to get major %d for msr\n", MSR_MAJOR); in msr_init() 232 __unregister_chrdev(MSR_MAJOR, 0, NR_CPUS, "cpu/msr"); in msr_init() 241 __unregister_chrdev(MSR_MAJOR, 0, NR_CPUS, "cpu/msr"); in msr_exit()
|
/Linux-v5.4/include/uapi/linux/ |
D | major.h | 167 #define MSR_MAJOR 202 macro
|