Lines Matching refs:mono
611 int u, is8, mono; in snd_es1938_capture_prepare() local
618 mono = (runtime->channels > 1) ? 0 : 1; in snd_es1938_capture_prepare()
622 chip->dma1_shift = 2 - mono - is8; in snd_es1938_capture_prepare()
627 snd_es1938_bits(chip, ESS_CMD_ANALOGCONTROL, 0x03, (mono ? 2 : 1)); in snd_es1938_capture_prepare()
641 (mono ? 0x40 : 0x08)); in snd_es1938_capture_prepare()
659 int u, is8, mono; in snd_es1938_playback1_prepare() local
666 mono = (runtime->channels > 1) ? 0 : 1; in snd_es1938_playback1_prepare()
670 chip->dma2_shift = 2 - mono - is8; in snd_es1938_playback1_prepare()
684 (mono ? 0 : 2) | (is8 ? 0 : 1)); in snd_es1938_playback1_prepare()
696 int u, is8, mono; in snd_es1938_playback2_prepare() local
703 mono = (runtime->channels > 1) ? 0 : 1; in snd_es1938_playback2_prepare()
707 chip->dma1_shift = 2 - mono - is8; in snd_es1938_playback2_prepare()
714 snd_es1938_bits(chip, ESS_CMD_ANALOGCONTROL, 0x03, (mono ? 2 : 1)); in snd_es1938_playback2_prepare()
725 0x90 | (mono ? 0x40 : 0x08) | in snd_es1938_playback2_prepare()