Lines Matching refs:port_wr
172 port_wr(struct resource *port, int regno, u_int32_t data, int size)
199 port_wr(sc->sb, reg, val, 1);
774 port_wr(sc->vc, 0x8, 0xc4, 1); /* command */
775 port_wr(sc->vc, 0xd, 0xff, 1); /* reset */
776 port_wr(sc->vc, 0xf, 0x01, 1); /* mask */
777 port_wr(sc->vc, 0xb, dir == PCMDIR_PLAY? 0x58 : 0x54, 1); /* mode */
778 port_wr(sc->vc, 0x0, base, 4);
779 port_wr(sc->vc, 0x4, cnt - 1, 2);
782 port_wr(sc->io, 0x6, 0x08, 1); /* autoinit */
783 port_wr(sc->io, 0x0, base, 4);
784 port_wr(sc->io, 0x4, cnt, 2);
826 port_wr(sc->vc, 0xf, go? 0x00 : 0x01, 1); /* mask */
828 port_wr(sc->io, 0x6, 0x08 | (go? 0x02 : 0x00), 1); /* autoinit */
971 port_wr(sc->io, 0x7, 0xb0, 1); /* enable irqs */
999 port_wr(sc->io, 0x7, 0xb0, 1); /* enable irqs */