Lines Matching refs:max_ccb
32 static unsigned int max_ccb = 16; variable
427 for (slot = 0; slot < max_ccb; slot++) { in ilo_set_reset()
538 slot = iminor(ip) % max_ccb; in ilo_close()
569 slot = iminor(ip) % max_ccb; in ilo_open()
666 for (i = 0; i < max_ccb; i++) { in ilo_isr()
717 hw->ram_vaddr = pci_iomap_range(pdev, bar, off, max_ccb * ILOHW_CCB_SZ); in ilo_map_device()
724 hw->db_vaddr = pci_iomap(pdev, 3, max_ccb * ONE_DB_SIZE); in ilo_map_device()
750 for (i = minor; i < minor + max_ccb; i++) in ilo_remove()
767 ilo_hwdev[(minor / max_ccb)] = 0; in ilo_remove()
781 if (max_ccb > MAX_CCB) in ilo_probe()
782 max_ccb = MAX_CCB; in ilo_probe()
783 else if (max_ccb < MIN_CCB) in ilo_probe()
784 max_ccb = MIN_CCB; in ilo_probe()
835 start = devnum * max_ccb; in ilo_probe()
836 error = cdev_add(&ilo_hw->cdev, MKDEV(ilo_major, start), max_ccb); in ilo_probe()
842 for (minor = 0 ; minor < max_ccb; minor++) { in ilo_probe()
923 module_param(max_ccb, uint, 0444);
924 MODULE_PARM_DESC(max_ccb, "Maximum number of HP iLO channels to attach (8-24)(default=16)");