Searched refs:audio_mode (Results 1 – 6 of 6) sorted by relevance
100 int audio_mode; member391 devc->audio_mode = 0; in waveartist_open()418 devc->audio_mode = 0; in waveartist_close()449 if (devc->audio_mode & PCM_ENABLE_OUTPUT && in waveartist_output_block()453 devc->audio_mode |= PCM_ENABLE_OUTPUT; in waveartist_output_block()467 devc->audio_mode |= PCM_ENABLE_OUTPUT; in waveartist_output_block()494 if (devc->audio_mode & PCM_ENABLE_INPUT && in waveartist_start_input()498 devc->audio_mode |= PCM_ENABLE_INPUT; in waveartist_start_input()512 devc->audio_mode |= PCM_ENABLE_INPUT; in waveartist_start_input()576 if (devc->audio_mode) in waveartist_prepare_for_input()[all …]
115 audio_devs[dev]->audio_mode = AM_NONE; in audio_open()240 audio_devs[dev]->audio_mode |= AM_WRITE; in audio_write()242 audio_devs[dev]->audio_mode = AM_WRITE; in audio_write()316 if ((audio_devs[dev]->audio_mode & AM_WRITE) && !(audio_devs[dev]->flags & DMA_DUPLEX)) in audio_read()320 audio_devs[dev]->audio_mode |= AM_READ; in audio_read()322 audio_devs[dev]->audio_mode = AM_READ; in audio_read()407 audio_devs[dev]->audio_mode = AM_NONE; in audio_ioctl()424 if ((audio_devs[dev]->audio_mode & AM_WRITE) && !(audio_devs[dev]->flags & DMA_DUPLEX)) in audio_ioctl()431 if ((audio_devs[dev]->audio_mode & AM_READ) && !(audio_devs[dev]->flags & DMA_DUPLEX)) in audio_ioctl()
74 int audio_mode; member991 devc->audio_mode = 0; in ad1848_open()1022 devc->audio_mode = 0; in ad1848_close()1051 if ((devc->audio_mode & PCM_ENABLE_OUTPUT) && (audio_devs[dev]->flags & DMA_AUTOMODE) && in ad1848_output_block()1055 devc->audio_mode |= PCM_ENABLE_OUTPUT; in ad1848_output_block()1067 devc->audio_mode |= PCM_ENABLE_OUTPUT; in ad1848_output_block()1092 if ((devc->audio_mode & PCM_ENABLE_INPUT) && (audio_devs[dev]->flags & DMA_AUTOMODE) && in ad1848_start_input()1096 devc->audio_mode |= PCM_ENABLE_INPUT; in ad1848_start_input()1118 devc->audio_mode |= PCM_ENABLE_INPUT; in ad1848_start_input()1199 if (devc->audio_mode) in ad1848_prepare_for_input()[all …]
228 int audio_mode; member
44 unsigned int audio_mode; /* The mode (I2S or left-justified) */ member273 cs42l51->audio_mode = format & SND_SOC_DAIFMT_FORMAT_MASK; in cs42l51_set_dai_fmt()398 switch (cs42l51->audio_mode) { in cs42l51_hw_params()
222 ucontrol->value.integer.value[0] = wl1273->core->audio_mode; in snd_wl1273_fm_audio_get()237 if (wl1273->core->audio_mode == val) in snd_wl1273_fm_audio_put()