sbdsp_wdsp
if (sbdsp_wdsp(sc, SB_DSP_TIMECONST) < 0 ||
sbdsp_wdsp(sc, tc) < 0)
if (sbdsp_wdsp(sc, cmd) < 0 ||
sbdsp_wdsp(sc, rate >> 8) < 0 ||
sbdsp_wdsp(sc, rate) < 0)
if (sbdsp_wdsp(sc, sc->sc_i.modep->cmdchan) < 0)
if (sbdsp_wdsp(sc, sc->sc_i.modep->cmd) < 0 ||
sbdsp_wdsp(sc, cc) < 0 ||
sbdsp_wdsp(sc, cc >> 8) < 0) {
if (sbdsp_wdsp(sc, sc->sc_i.modep->cmd) < 0 ||
sbdsp_wdsp(sc, sc->sc_i.bmode) < 0 ||
sbdsp_wdsp(sc, cc) < 0 ||
sbdsp_wdsp(sc, cc >> 8) < 0) {
if (sbdsp_wdsp(sc, SB_DSP_BLOCKSIZE) < 0 ||
sbdsp_wdsp(sc, cc) < 0 ||
sbdsp_wdsp(sc, cc >> 8) < 0) {
if (sbdsp_wdsp(sc, sc->sc_i.modep->cmd) < 0) {
if (cmd && sbdsp_wdsp(sc, cmd) < 0)
if (sbdsp_wdsp(sc, sc->sc_o.modep->cmd) < 0 ||
sbdsp_wdsp(sc, cc) < 0 ||
sbdsp_wdsp(sc, cc >> 8) < 0) {
if (sbdsp_wdsp(sc, sc->sc_o.modep->cmd) < 0 ||
sbdsp_wdsp(sc, sc->sc_o.bmode) < 0 ||
sbdsp_wdsp(sc, cc) < 0 ||
sbdsp_wdsp(sc, cc >> 8) < 0) {
if (sbdsp_wdsp(sc, SB_DSP_BLOCKSIZE) < 0 ||
sbdsp_wdsp(sc, cc) < 0 ||
sbdsp_wdsp(sc, cc >> 8) < 0) {
if (sbdsp_wdsp(sc, sc->sc_o.modep->cmd) < 0) {
if (sbdsp_wdsp(sc, SB_MIDI_UART_INTR)) /* enter UART mode */
if (sc->sc_model < SB_20 && sbdsp_wdsp(sc, SB_MIDI_WRITE))
(void)sbdsp_wdsp(sc, d);
if (sbdsp_wdsp(sc, JAZZ16_READ_VER)) {
if (sbdsp_wdsp(sc, JAZZ16_SET_DMAINTR) ||
sbdsp_wdsp(sc, (jazz16_drq_conf[sc->sc_drq16] << 4) |
sbdsp_wdsp(sc, jazz16_irq_conf[sc->sc_irq])) {
sbdsp_wdsp(sc, SB_DSP_RECORD_MONO) < 0) {
(void)sbdsp_wdsp(sc, SB_DSP_SPKR_ON);
(void)sbdsp_wdsp(sc, SB_DSP_SPKR_OFF);
if (sbdsp_wdsp(sc, SB_DSP_VERSION) < 0)
int sbdsp_wdsp(struct sbdsp_softc *, int v);