Searched refs:PARPORT_MAX (Results 1 – 10 of 10) sorted by relevance
22 static int io[PARPORT_MAX+1] __initdata = { [0 ... PARPORT_MAX] = 0 };24 static int io_hi[PARPORT_MAX+1] __initdata =25 { [0 ... PARPORT_MAX] = PARPORT_IOHI_AUTO };27 static int irq[PARPORT_MAX] __initdata = { [0 ... PARPORT_MAX-1] = PARPORT_IRQ_PROBEONLY };28 static int dma[PARPORT_MAX] __initdata = { [0 ... PARPORT_MAX-1] = PARPORT_DMA_NONE };71 if (parport_setup_ptr == PARPORT_MAX) { in parport_setup()
45 static struct parport *port_from_cookie[PARPORT_MAX];48 parport_ieee1284_wakeup (port_from_cookie[cookie % PARPORT_MAX]); in timeout_waiting_on_port()80 port_from_cookie[port->number % PARPORT_MAX] = port; in parport_wait_event()
65 #define PARPORT_PC_MAX_PORTS PARPORT_MAX
66 static int parport_nr[PARPORT_MAX] = {[0 ... PARPORT_MAX - 1] = PPCPIA_PARPORT_UNSPEC};67 static char *parport[PARPORT_MAX] = {NULL,};73 MODULE_PARM(parport, "1-" __MODULE_STRING(PARPORT_MAX) "s");76 static int parport_nr[PARPORT_MAX] __initdata =77 {[0 ... PARPORT_MAX - 1] = PPCPIA_PARPORT_UNSPEC};576 for (i = 0; i < PARPORT_MAX; ++i) { in cpia_pp_attach()621 for (n = 0; n < PARPORT_MAX && parport[n]; n++) { in init_module()657 if (parport_ptr < PARPORT_MAX) { in cpia_pp_setup()
14 #define PARPORT_PC_MAX_PORTS PARPORT_MAX
647 if (minor >= PARPORT_MAX) in pp_open()767 devfs_register_series (devfs_handle, "%u", PARPORT_MAX, in ppdev_init()
205 struct parport *port[PARPORT_MAX];
15 #define PARPORT_MAX 16 macro
280 ports in the list will not exceed PARPORT_MAX.
19196 macro in lp.c and the PARPORT_MAX macro in parport.h.