Lines Matching defs:port_wr

208 port_wr(struct resource *port, int off, u_int8_t data)
227 port_wr(mss->io_base, reg, data);
233 port_wr(mss->conf_base, 0, reg);
234 port_wr(mss->conf_base, 1, value);
240 port_wr(mss->conf_base, 0, reg);
247 port_wr(mss->conf_base, mss->opti_offset + 0, reg);
248 port_wr(mss->conf_base, mss->opti_offset + 1, value);
254 port_wr(mss->conf_base, mss->opti_offset + 0, reg);
261 port_wr(mss->conf_base, 3, reg);
262 port_wr(mss->conf_base, 5, value);
268 port_wr(mss->conf_base, 3, reg);
648 port_wr(alt, 0x0f, 0x05);
649 port_wr(alt, 0x00, 0x0c);
650 port_wr(alt, 0x0b, 0x00);
652 port_wr(alt, 0x0f, 0x00);
665 port_wr(alt, 0x00, 0x0c);
666 port_wr(alt, 0x0b, dmactl | 0x80);
667 port_wr(alt, 0x00, 0x4c);
668 port_wr(alt, 0x0b, irqctl);
670 port_wr(alt, 0x00, 0x0c);
671 port_wr(alt, 0x0b, dmactl);
672 port_wr(alt, 0x00, 0x4c);
673 port_wr(alt, 0x0b, irqctl);
675 port_wr(mss->conf_base, 2, 0);
676 port_wr(alt, 0x00, 0x0c);
677 port_wr(mss->conf_base, 2, 0);
725 port_wr(alt, 0, 0xC); /* enable int and dma */
1679 port_wr(mss->conf_base, 0, OPL3SAx_DMACONF);
1681 port_wr(mss->conf_base, 0, i);
1934 port_wr(sbport, SBDSP_CMD, 0x09);
1942 port_wr(sbport, SBDSP_CMD, 0x00);
2165 port_wr(mss->conf_base, mss->passwdreg, mss->password);
2170 port_wr(mss->conf_base, mss->passwdreg, reg);
2171 port_wr(mss->conf_base, mss->passwdreg,
2173 port_wr(mss->conf_base, 9, val);
2176 port_wr(mss->conf_base, reg, val);
2180 port_wr(mss->indir, 0, reg);
2181 port_wr(mss->conf_base, mss->passwdreg, mss->password);
2182 port_wr(mss->indir, 1, val);
2191 port_wr(mss->conf_base, mss->passwdreg, mss->password);
2196 port_wr(mss->conf_base, mss->passwdreg, reg);
2197 port_wr(mss->conf_base, mss->passwdreg, mss->password);
2204 port_wr(mss->indir, 0, reg);
2205 port_wr(mss->conf_base, mss->passwdreg, mss->password);
2296 port_wr(mss->conf_base, 6, ctl);