Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/mediatek/common/
H A Dmtk-dsp-sof-common.c35 if (snd_soc_dai_stream_active(cpu_dai, conn->stream_dir) > 0) { in mtk_sof_dai_link_fixup()
114 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(cpu_dai, conn->stream_dir); in mtk_sof_card_late_probe()
117 if (conn->stream_dir == SNDRV_PCM_STREAM_CAPTURE && widget) { in mtk_sof_card_late_probe()
123 } else if (conn->stream_dir == SNDRV_PCM_STREAM_PLAYBACK && widget) { in mtk_sof_card_late_probe()
H A Dmtk-dsp-sof-common.h18 int stream_dir; member
/openbmc/linux/sound/soc/mediatek/mt2701/
H A Dmt2701-afe-pcm.c124 int stream_dir) in mt2701_afe_i2s_path_disable() argument
128 if (--i2s_path->on[stream_dir] < 0) in mt2701_afe_i2s_path_disable()
129 i2s_path->on[stream_dir] = 0; in mt2701_afe_i2s_path_disable()
131 if (i2s_path->on[stream_dir]) in mt2701_afe_i2s_path_disable()
175 int stream_dir, int rate) in mt2701_i2s_path_enable() argument
183 if (++i2s_path->on[stream_dir] != 1) in mt2701_i2s_path_enable()
197 if (stream_dir == SNDRV_PCM_STREAM_CAPTURE) { in mt2701_i2s_path_enable()
370 int stream_dir = substream->stream; in mt2701_simple_fe_startup() local
373 if (stream_dir == SNDRV_PCM_STREAM_PLAYBACK) { in mt2701_simple_fe_startup()
389 int stream_dir = substream->stream; in mt2701_simple_fe_hw_params() local
[all …]
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-dai-ops.c53 int stream_dir = substream->stream; in hda_link_stream_assign() local
87 if (hda_check_fes(rtd, stream_dir, in hda_link_stream_assign()