Lines Matching refs:io
90 struct resource *io, *sb, *vc, *mpu, *gp; /* I/O address for the board */
769 port_wr(sc->io, 0x6, 0x08, 1); /* autoinit */
770 port_wr(sc->io, 0x0, base, 4);
771 port_wr(sc->io, 0x4, cnt, 2);
803 p = port_rd(sc->io, 0x4, 2);
814 port_wr(sc->io, 0x6, 0x08 | (go? 0x02 : 0x00), 1); /* autoinit */
827 if (sc->io) {
828 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), sc->io);
829 sc->io = NULL;
871 sc->io = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
891 return (sc->irq && sc->io && sc->sb && sc->vc &&
951 port_wr(sc->io, 0x7, 0xb0, 1); /* enable irqs */
979 port_wr(sc->io, 0x7, 0xb0, 1); /* enable irqs */
1025 rman_get_start(sc->io), rman_get_start(sc->sb), rman_get_start(sc->vc),