Lines Matching defs:vc
90 struct resource *io, *sb, *vc, *mpu, *gp; /* I/O address for the board */
761 port_wr(sc->vc, 0x8, 0xc4, 1); /* command */
762 port_wr(sc->vc, 0xd, 0xff, 1); /* reset */
763 port_wr(sc->vc, 0xf, 0x01, 1); /* mask */
764 port_wr(sc->vc, 0xb, dir == PCMDIR_PLAY? 0x58 : 0x54, 1); /* mode */
765 port_wr(sc->vc, 0x0, base, 4);
766 port_wr(sc->vc, 0x4, cnt - 1, 2);
797 i = port_rd(sc->vc, 0x4, 2) + 1;
798 p = port_rd(sc->vc, 0x4, 2) + 1;
812 port_wr(sc->vc, 0xf, go? 0x00 : 0x01, 1); /* mask */
837 if (sc->vc) {
838 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(2), sc->vc);
839 sc->vc = NULL;
877 sc->vc = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
891 return (sc->irq && sc->io && sc->sb && sc->vc &&
935 ddma = rman_get_start(sc->vc) | 1;
974 ddma = rman_get_start(sc->vc) | 1;
1025 rman_get_start(sc->io), rman_get_start(sc->sb), rman_get_start(sc->vc),