Searched refs:MAX_DEV (Results 1 – 11 of 11) sorted by relevance
22 #define MAX_DEV 3 macro44 static int pci_irq_table[MAX_DEV][IRQ_LINES] = { in nas100d_map_irq()51 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in nas100d_map_irq()
23 #define MAX_DEV 4 macro47 static int pci_irq_table[MAX_DEV][IRQ_LINES] = { in dsmg600_map_irq()55 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in dsmg600_map_irq()
22 #define MAX_DEV 3 macro47 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in nslu2_map_irq()
26 #define MAX_DEV 4 macro54 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in miccpt_map_irq()
23 #define MAX_DEV 3 macro50 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in fsg_map_irq()
25 #define MAX_DEV 4 macro53 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) in ixdp425_map_irq()
116 #define MAX_DEV (16) macro129 static struct gendisk *ubd_gendisk[MAX_DEV];130 static struct gendisk *fake_gendisk[MAX_DEV];196 static struct ubd ubd_devs[MAX_DEV] = { [0 ... MAX_DEV - 1] = DEFAULT_UBD };318 if(n >= MAX_DEV){ in ubd_setup_common()1023 if((n >= MAX_DEV) || (n < 0)){ in ubd_get_config()1055 *end_out = MAX_DEV - 1; in ubd_id()1176 for (i = 0; i < MAX_DEV; i++){ in ubd_init()
52 #define MAX_DEV 256 macro
65 #define MAX_DEV 256 macro
129 #define MAX_DEV 256 /* Max number of ports total */ macro
94 #define MAX_DEV 4 macro