Searched refs:MAX_DEV (Results 1 – 7 of 7) sorted by relevance
24 #define MAX_DEV 3 macro46 static int pci_irq_table[MAX_DEV][IRQ_LINES] = { in nas100d_map_irq()53 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in nas100d_map_irq()
25 #define MAX_DEV 4 macro49 static int pci_irq_table[MAX_DEV][IRQ_LINES] = { in dsmg600_map_irq()57 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in dsmg600_map_irq()
24 #define MAX_DEV 3 macro49 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in nslu2_map_irq()
28 #define MAX_DEV 4 macro56 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in miccpt_map_irq()
27 #define MAX_DEV 4 macro55 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in ixdp425_map_irq()
25 #define MAX_DEV 3 macro52 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in fsg_map_irq()
95 #define MAX_DEV (16) macro107 static struct gendisk *ubd_gendisk[MAX_DEV];108 static struct gendisk *fake_gendisk[MAX_DEV];180 static struct ubd ubd_devs[MAX_DEV] = { [0 ... MAX_DEV - 1] = DEFAULT_UBD };311 if(n >= MAX_DEV){ in ubd_setup_common()941 if((n >= MAX_DEV) || (n < 0)){ in ubd_get_config()973 *end_out = MAX_DEV - 1; in ubd_id()1072 for (i = 0; i < MAX_DEV; i++){ in ubd_init()