Searched refs:max_ccb (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/misc/
H A Dhpilo.c33 static unsigned int max_ccb = 16; variable
428 for (slot = 0; slot < max_ccb; slot++) { ilo_set_reset()
539 slot = iminor(ip) % max_ccb; ilo_close()
570 slot = iminor(ip) % max_ccb; ilo_open()
667 for (i = 0; i < max_ccb; i++) { ilo_isr()
701 hw->ram_vaddr = pci_iomap(pdev, 2, max_ccb * ILOHW_CCB_SZ); ilo_map_device()
708 hw->db_vaddr = pci_iomap(pdev, 3, max_ccb * ONE_DB_SIZE); ilo_map_device()
734 for (i = minor; i < minor + max_ccb; i++) ilo_remove()
751 ilo_hwdev[(minor / max_ccb)] = 0; ilo_remove()
764 if (max_ccb > MAX_CCB) ilo_probe()
765 max_ccb = MAX_CCB; ilo_probe()
766 else if (max_ccb < MIN_CCB) ilo_probe()
767 max_ccb = MIN_CCB; ilo_probe()
818 start = devnum * max_ccb; ilo_probe()
819 error = cdev_add(&ilo_hw->cdev, MKDEV(ilo_major, start), max_ccb); ilo_probe()
825 for (minor = 0 ; minor < max_ccb; minor++) { ilo_probe()
908 module_param(max_ccb, uint, 0444);
909 MODULE_PARM_DESC(max_ccb, "Maximum number of HP iLO channels to attach (8-24)(default=16)");

Completed in 61 milliseconds