Lines Matching defs:base

83     u_long	base;			/* i/o base address */
150 u_long base = p->base;
152 while ((ab306_inb (p, base + 1) & 0x80)); /* wait for dir flag */
153 ab306_outb (p, base, val);
154 ab306_outb (p, base + 1, 0xe0);
155 while ((ab306_inb (p, base + 1) & 0x80) == 0); /* wait for ack */
156 ab306_outb (p, base + 1, 0x60);
163 u_long base = p->base;
166 while ((ab306_inb (p, base + 1) & 0x80) == 0); /* wait for dir flag */
167 val = ab306_inb (p, base);
168 ab306_outb (p, base + 1, 0xe0); /* ack received byte */
169 while (ab306_inb (p, base + 1) & 0x80);
170 ab306_outb (p, base + 1, 0x60); /* reset ack */
177 u_long base = p->base;
182 ab306_inb (p, base + 1));
183 while ((ab306_inb (p, base + 1) & 0x20) == 0);
197 ab306_inb (p, base + 1));
198 while ((ab306_inb (p, base + 1) & 0x20) != 0);
216 ab306_outb (p, p->base + 1, 0x20);
217 while ((ab306_inb (p, p->base + 1) & 0x80));
218 ab306_outb (p, p->base + 1, 0x60);
230 u_long base;
240 base = strtol (dev, &end, 0);
248 if (port[i].base == base)
253 DBG(1, "sanei_ab306_open: %lx is not a valid base address\n", base);
259 DBG(1, "sanei_ab306_open: port %lx is already in use\n", base);
314 ab306_outb (port + i, port[i].base + 1, 0x60);
350 if (sanei_ioperm (port[fd].base, 3, 1) != 0)
407 ab306_inb (p, p->base + 1));
408 while ((ab306_inb (p, p->base + 1) & 0x20) != 0);
441 while ((ab306_inb (p, p->base + 1) & 0x80) == 0);
450 nstat = ab306_inb (p, p->base + 1);
458 if ((u_long) lseek (p->port_fd, p->base, SEEK_SET) != p->base)
470 *(u_char *) buf = sanei_inb (p->base);
491 ab306_outb (port + i, port[i].base + 1, 0x00);
505 byte = ab306_inb (p, p->base + 1);