Home
last modified time | relevance | path

Searched refs:MSR_MAJOR (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/arch/x86/kernel/
Dmsr.c251 dev = device_create(&msr_class, NULL, MKDEV(MSR_MAJOR, cpu), NULL, in msr_device_create()
258 device_destroy(&msr_class, MKDEV(MSR_MAJOR, cpu)); in msr_device_destroy()
266 if (__register_chrdev(MSR_MAJOR, 0, NR_CPUS, "cpu/msr", &msr_fops)) { in msr_init()
267 pr_err("unable to get major %d for msr\n", MSR_MAJOR); in msr_init()
284 __unregister_chrdev(MSR_MAJOR, 0, NR_CPUS, "cpu/msr"); in msr_init()
293 __unregister_chrdev(MSR_MAJOR, 0, NR_CPUS, "cpu/msr"); in msr_exit()
/Linux-v6.6/include/uapi/linux/
Dmajor.h165 #define MSR_MAJOR 202 macro