Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/misc/
Dhpilo.h17 #define MAX_CCB 8 macro
21 #define MAX_OPEN (MAX_CCB * MAX_ILO_DEV)
43 struct ccb_data *ccb_alloc[MAX_CCB];
Dhpilo.c427 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()
700 hw->ram_vaddr = pci_iomap(pdev, 2, MAX_CCB * ILOHW_CCB_SZ); in ilo_map_device()
707 hw->db_vaddr = pci_iomap(pdev, 3, MAX_CCB * ONE_DB_SIZE); in ilo_map_device()
730 for (i = minor; i < minor + MAX_CCB; i++) in ilo_remove()
740 ilo_hwdev[(minor / MAX_CCB)] = 0; in ilo_remove()
798 start = devnum * MAX_CCB; in ilo_probe()
799 error = cdev_add(&ilo_hw->cdev, MKDEV(ilo_major, start), MAX_CCB); in ilo_probe()
[all …]