Lines Matching defs:mode
98 * In high-speed mode, the constant is the upper byte of a 16-bit counter,
139 /* Yes, we write the record mode to set 16-bit playback mode. weird, huh? */
448 int mode;
475 for (mode = AUMODE_RECORD; mode != -1;
476 mode = mode == AUMODE_RECORD ? AUMODE_PLAY : -1) {
477 if ((setmode & mode) == 0)
480 p = mode == AUMODE_PLAY ? play : rec;
485 if (mode == AUMODE_PLAY) {
498 if (mode == AUMODE_PLAY) {
533 for(m = mode == AUMODE_PLAY ? sbpmodes : sbrmodes;
590 if (mode == AUMODE_PLAY) {
606 DPRINTF(("sbdsp_set_params: model=%d, mode=%d, rate=%ld, prec=%d, chan=%d, enc=%d -> tc=%02x, cmd=%02x, bmode=%02x, cmdchan=%02x\n",
607 sc->sc_model, mode, p->sample_rate, p->precision, p->channels,
779 DPRINTF(("sbdsp_open: can't set mono mode\n"));
1145 /* Non-looping mode, start DMA */
1277 /* Non-looping mode, initialized. Start DMA and PCM */
1319 * (when mode is enabled), completion of dma transmission, or
2140 if (sbdsp_wdsp(sc, SB_MIDI_UART_INTR)) /* enter UART mode */
2159 sbdsp_reset(sc); /* exit UART mode */