Home
last modified time | relevance | path

Searched refs:stream_dir (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/sound/soc/mediatek/mt2701/
Dmt2701-afe-pcm.c122 int stream_dir) in mt2701_afe_i2s_path_disable() argument
124 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() argument
175 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 …]
/linux-6.12.1/sound/soc/mediatek/common/
Dmtk-dsp-sof-common.c35 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()
Dmtk-dsp-sof-common.h18 int stream_dir; member
/linux-6.12.1/sound/soc/mediatek/mt8188/
Dmt8188-mt6359.c220 .stream_dir = SNDRV_PCM_STREAM_PLAYBACK
225 .stream_dir = SNDRV_PCM_STREAM_PLAYBACK
230 .stream_dir = SNDRV_PCM_STREAM_CAPTURE
235 .stream_dir = SNDRV_PCM_STREAM_CAPTURE
/linux-6.12.1/sound/soc/sof/intel/
Dhda-dai-ops.c54 int stream_dir = substream->stream; in hda_link_stream_assign() local
88 if (hda_check_fes(rtd, stream_dir, in hda_link_stream_assign()