Lines Matching refs:ipmi_major
794 static int ipmi_major; variable
795 module_param(ipmi_major, int, 0);
796 MODULE_PARM_DESC(ipmi_major, "Sets the major number of the IPMI device. By"
816 dev_t dev = MKDEV(ipmi_major, if_num); in ipmi_new_smi()
834 dev_t dev = MKDEV(ipmi_major, if_num); in ipmi_smi_gone()
860 if (ipmi_major < 0) in init_ipmi_devintf()
869 rv = register_chrdev(ipmi_major, DEVICE_NAME, &ipmi_fops); in init_ipmi_devintf()
872 pr_err("ipmi: can't get major %d\n", ipmi_major); in init_ipmi_devintf()
876 if (ipmi_major == 0) { in init_ipmi_devintf()
877 ipmi_major = rv; in init_ipmi_devintf()
882 unregister_chrdev(ipmi_major, DEVICE_NAME); in init_ipmi_devintf()
904 unregister_chrdev(ipmi_major, DEVICE_NAME); in cleanup_ipmi()