Searched refs:stream_dir (Results 1 – 5 of 5) sorted by relevance
122 int stream_dir) in mt2701_afe_i2s_path_disable() argument124 const struct mt2701_i2s_data *i2s_data = i2s_path->i2s_data[stream_dir]; in mt2701_afe_i2s_path_disable()126 if (--i2s_path->on[stream_dir] < 0) in mt2701_afe_i2s_path_disable()127 i2s_path->on[stream_dir] = 0; in mt2701_afe_i2s_path_disable()129 if (i2s_path->on[stream_dir]) in mt2701_afe_i2s_path_disable()136 mt2701_afe_disable_i2s(afe, i2s_path, stream_dir); in mt2701_afe_i2s_path_disable()173 int stream_dir, int rate) in mt2701_i2s_path_enable() argument175 const struct mt2701_i2s_data *i2s_data = i2s_path->i2s_data[stream_dir]; in mt2701_i2s_path_enable()181 if (++i2s_path->on[stream_dir] != 1) in mt2701_i2s_path_enable()195 if (stream_dir == SNDRV_PCM_STREAM_CAPTURE) { in mt2701_i2s_path_enable()[all …]
35 if (snd_soc_dai_stream_active(cpu_dai, conn->stream_dir) > 0) { in mtk_sof_dai_link_fixup()200 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(cpu_dai, conn->stream_dir); in mtk_sof_card_late_probe()203 if (conn->stream_dir == SNDRV_PCM_STREAM_CAPTURE && widget) { in mtk_sof_card_late_probe()209 } else if (conn->stream_dir == SNDRV_PCM_STREAM_PLAYBACK && widget) { in mtk_sof_card_late_probe()
18 int stream_dir; member
220 .stream_dir = SNDRV_PCM_STREAM_PLAYBACK225 .stream_dir = SNDRV_PCM_STREAM_PLAYBACK230 .stream_dir = SNDRV_PCM_STREAM_CAPTURE235 .stream_dir = SNDRV_PCM_STREAM_CAPTURE
54 int stream_dir = substream->stream; in hda_link_stream_assign() local88 if (hda_check_fes(rtd, stream_dir, in hda_link_stream_assign()