Lines Matching defs:sbdsp_wdsp

352 	if (sbdsp_wdsp(sc, JAZZ16_READ_VER)) {
364 if (sbdsp_wdsp(sc, JAZZ16_SET_DMAINTR) ||
366 sbdsp_wdsp(sc, (jazz16_drq_conf[sc->sc_drq16] << 4) |
368 sbdsp_wdsp(sc, jazz16_irq_conf[sc->sc_irq])) {
1034 sbdsp_wdsp(sc, SB_DSP_RECORD_MONO) < 0) {
1123 sbdsp_wdsp(struct sbdsp_softc *sc, int v)
1186 * sbdsp_wdsp() and sbdsp_rdsp() will probably timeout.)
1195 (void)sbdsp_wdsp(sc, SB_DSP_SPKR_ON);
1206 (void)sbdsp_wdsp(sc, SB_DSP_SPKR_OFF);
1221 if (sbdsp_wdsp(sc, SB_DSP_VERSION) < 0)
1282 if (sbdsp_wdsp(sc, SB_DSP_TIMECONST) < 0 ||
1283 sbdsp_wdsp(sc, tc) < 0)
1294 if (sbdsp_wdsp(sc, cmd) < 0 ||
1295 sbdsp_wdsp(sc, rate >> 8) < 0 ||
1296 sbdsp_wdsp(sc, rate) < 0)
1356 if (sbdsp_wdsp(sc, sc->sc_i.modep->cmdchan) < 0)
1402 if (sbdsp_wdsp(sc, sc->sc_i.modep->cmd) < 0 ||
1403 sbdsp_wdsp(sc, cc) < 0 ||
1404 sbdsp_wdsp(sc, cc >> 8) < 0) {
1414 if (sbdsp_wdsp(sc, sc->sc_i.modep->cmd) < 0 ||
1415 sbdsp_wdsp(sc, sc->sc_i.bmode) < 0 ||
1416 sbdsp_wdsp(sc, cc) < 0 ||
1417 sbdsp_wdsp(sc, cc >> 8) < 0) {
1423 if (sbdsp_wdsp(sc, SB_DSP_BLOCKSIZE) < 0 ||
1424 sbdsp_wdsp(sc, cc) < 0 ||
1425 sbdsp_wdsp(sc, cc >> 8) < 0) {
1429 if (sbdsp_wdsp(sc, sc->sc_i.modep->cmd) < 0) {
1500 if (cmd && sbdsp_wdsp(sc, cmd) < 0)
1542 if (sbdsp_wdsp(sc, sc->sc_o.modep->cmd) < 0 ||
1543 sbdsp_wdsp(sc, cc) < 0 ||
1544 sbdsp_wdsp(sc, cc >> 8) < 0) {
1554 if (sbdsp_wdsp(sc, sc->sc_o.modep->cmd) < 0 ||
1555 sbdsp_wdsp(sc, sc->sc_o.bmode) < 0 ||
1556 sbdsp_wdsp(sc, cc) < 0 ||
1557 sbdsp_wdsp(sc, cc >> 8) < 0) {
1563 if (sbdsp_wdsp(sc, SB_DSP_BLOCKSIZE) < 0 ||
1564 sbdsp_wdsp(sc, cc) < 0 ||
1565 sbdsp_wdsp(sc, cc >> 8) < 0) {
1569 if (sbdsp_wdsp(sc, sc->sc_o.modep->cmd) < 0) {
1587 if (sbdsp_wdsp(sc, sc->sc_o.modep->halt) < 0)
1602 if (sbdsp_wdsp(sc, sc->sc_i.modep->halt) < 0)
2524 if (sbdsp_wdsp(sc, SB_MIDI_UART_INTR)) /* enter UART mode */
2555 if (sc->sc_model < SB_20 && sbdsp_wdsp(sc, SB_MIDI_WRITE))
2557 if (sbdsp_wdsp(sc, d))