Lines Matching defs:base
82 /* base 278 (lpt2)
119 u_long base; /* i/o base address */
151 port->base, (int) val, (int) mask);
160 stat = sanei_inb (port->base + PIO_STAT);
189 port->base, (int) val, (int) val ^ PIO_CTRL_NINIT);
200 sanei_outb (port->base + PIO_CTRL, val);
208 sanei_inb (port->base + PIO_STAT); /* delay */
229 sanei_outb (port->base + PIO_CTRL,
262 sanei_outb (port->base + PIO_IOPORT, *buf);
326 *buf = sanei_inb (port->base + PIO_IOPORT);
345 u_long base;
365 base = strtol (dev, &end, 0);
375 if (0 == base)
377 DBG (1, "sanei_pio_open: 0x%03lx is not a valid base address\n", base);
383 if (port[n].base == base)
388 DBG (1, "sanei_pio_open: 0x%03lx is not a valid base address\n", base);
395 DBG (1, "sanei_pio_open: port 0x%03lx is already in use\n", base);
399 port[n].base = base;
404 if (sanei_ioperm (port[n].base, 3, 1))
407 port[n].base);