Lines Matching refs:port
91 /* outb(sc->port, 0); */
107 * sc->port should be set and its resource allocated.
117 outb(sc->port, FEPRST);
118 for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) {
125 ident = inb(sc->port);
166 sc->wport = sc->port;
180 sc->wport = sc->port + 1;
189 outb(sc->port, 1);
190 ident = inb(sc->port);
205 sc->wport = sc->port;
212 sc->wport = sc->port + 1;
245 if ((sc->port = bus_get_resource_start(dev, SYS_RES_IOPORT, 0)) == 0) {
250 if (sc->port == digi_validio[i] ||
251 sc->port == digi_validio[i] + 4)
254 device_printf(dev, "0x%03x: Invalid i/o address\n", sc->port);
275 DLOG(DIGIDB_INIT, (sc->dev, "isa? port 0x%03x mem 0x%lx\n",
276 sc->port, sc->pmem));
303 outb(sc->port, FEPCLR); /* drop RESET */
310 bus_set_resource(dev, SYS_RES_IOPORT, 0, sc->port, IO_SIZE);
340 sc->port = scport;
378 outb(sc->port, reset);
379 for (i = 0; (inb(sc->port) & FEPMASK) != reset; i++) {
393 outb(sc->port + 2, t & 0xff);
394 outb(sc->port + 3, t >> 8);
398 outb(sc->port, FEPRST | FEPMEM);
399 for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) {
403 inb(sc->port));