Home
last modified time | relevance | path

Searched refs:sdw_stream (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dsof_sdw.c228 struct sdw_stream_runtime *sdw_stream; in sdw_prepare() local
234 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_prepare()
236 if (IS_ERR(sdw_stream)) { in sdw_prepare()
238 return PTR_ERR(sdw_stream); in sdw_prepare()
241 return sdw_prepare_stream(sdw_stream); in sdw_prepare()
247 struct sdw_stream_runtime *sdw_stream; in sdw_trigger() local
254 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_trigger()
256 if (IS_ERR(sdw_stream)) { in sdw_trigger()
258 return PTR_ERR(sdw_stream); in sdw_trigger()
265 ret = sdw_enable_stream(sdw_stream); in sdw_trigger()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt5682-sdw.c91 struct sdw_stream_runtime *sdw_stream; member
94 static int rt5682_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt5682_set_sdw_stream() argument
99 if (!sdw_stream) in rt5682_set_sdw_stream()
106 stream->sdw_stream = (struct sdw_stream_runtime *)sdw_stream; in rt5682_set_sdw_stream()
168 &port_config, 1, stream->sdw_stream); in rt5682_sdw_hw_params()
268 sdw_stream_remove_slave(rt5682->slave, stream->sdw_stream); in rt5682_sdw_hw_free()
Dmax98373-sdw.c23 struct sdw_stream_runtime *sdw_stream; member
562 &port_config, 1, stream->sdw_stream); in max98373_sdw_dai_hw_params()
667 sdw_stream_remove_slave(max98373->slave, stream->sdw_stream); in max98373_pcm_hw_free()
672 void *sdw_stream, int direction) in max98373_set_sdw_stream() argument
676 if (!sdw_stream) in max98373_set_sdw_stream()
683 stream->sdw_stream = sdw_stream; in max98373_set_sdw_stream()
Drt1308-sdw.c466 static int rt1308_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1308_set_sdw_stream() argument
471 if (!sdw_stream) in rt1308_set_sdw_stream()
478 stream->sdw_stream = (struct sdw_stream_runtime *)sdw_stream; in rt1308_set_sdw_stream()
568 &port_config, 1, stream->sdw_stream); in rt1308_sdw_hw_params()
589 sdw_stream_remove_slave(rt1308->sdw_slave, stream->sdw_stream); in rt1308_sdw_pcm_hw_free()
Drt715.c527 static int rt715_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt715_set_sdw_stream() argument
533 if (!sdw_stream) in rt715_set_sdw_stream()
540 stream->sdw_stream = (struct sdw_stream_runtime *)sdw_stream; in rt715_set_sdw_stream()
609 &port_config, 1, stream->sdw_stream); in rt715_pcm_hw_params()
678 sdw_stream_remove_slave(rt715->slave, stream->sdw_stream); in rt715_pcm_hw_free()
Drt1308-sdw.h170 struct sdw_stream_runtime *sdw_stream; member
Drt700.c858 static int rt700_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt700_set_sdw_stream() argument
863 if (!sdw_stream) in rt700_set_sdw_stream()
870 stream->sdw_stream = (struct sdw_stream_runtime *)sdw_stream; in rt700_set_sdw_stream()
944 &port_config, 1, stream->sdw_stream); in rt700_pcm_hw_params()
997 sdw_stream_remove_slave(rt700->slave, stream->sdw_stream); in rt700_pcm_hw_free()
Drt711.c918 static int rt711_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_set_sdw_stream() argument
923 if (!sdw_stream) in rt711_set_sdw_stream()
930 stream->sdw_stream = (struct sdw_stream_runtime *)sdw_stream; in rt711_set_sdw_stream()
997 &port_config, 1, stream->sdw_stream); in rt711_pcm_hw_params()
1051 sdw_stream_remove_slave(rt711->slave, stream->sdw_stream); in rt711_pcm_hw_free()
Drt700.h29 struct sdw_stream_runtime *sdw_stream; member
Drt711.h31 struct sdw_stream_runtime *sdw_stream; member
Drt715.h28 struct sdw_stream_runtime *sdw_stream; member
/kernel/linux/linux-5.10/drivers/soundwire/
Dstream.c1854 struct sdw_stream_runtime *sdw_stream) in set_stream() argument
1863 ret = snd_soc_dai_set_stream(dai, sdw_stream, substream->stream); in set_stream()
1884 struct sdw_stream_runtime *sdw_stream; in sdw_startup_stream() local
1896 sdw_stream = sdw_alloc_stream(name); in sdw_startup_stream()
1897 if (!sdw_stream) { in sdw_startup_stream()
1903 ret = set_stream(substream, sdw_stream); in sdw_startup_stream()
1909 sdw_release_stream(sdw_stream); in sdw_startup_stream()
1928 struct sdw_stream_runtime *sdw_stream; in sdw_shutdown_stream() local
1934 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_shutdown_stream()
1936 if (IS_ERR(sdw_stream)) { in sdw_shutdown_stream()
[all …]