Home
last modified time | relevance | path

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

/Linux-v5.10/sound/soc/intel/boards/
Dsof_sdw.c171 struct sdw_stream_runtime *sdw_stream; in sdw_prepare() local
177 sdw_stream = snd_soc_dai_get_sdw_stream(dai, substream->stream); in sdw_prepare()
179 if (IS_ERR(sdw_stream)) { in sdw_prepare()
181 return PTR_ERR(sdw_stream); in sdw_prepare()
184 return sdw_prepare_stream(sdw_stream); in sdw_prepare()
190 struct sdw_stream_runtime *sdw_stream; in sdw_trigger() local
197 sdw_stream = snd_soc_dai_get_sdw_stream(dai, substream->stream); in sdw_trigger()
199 if (IS_ERR(sdw_stream)) { in sdw_trigger()
201 return PTR_ERR(sdw_stream); in sdw_trigger()
208 ret = sdw_enable_stream(sdw_stream); in sdw_trigger()
[all …]
/Linux-v5.10/sound/soc/codecs/
Dmax98373-sdw.c23 struct sdw_stream_runtime *sdw_stream; member
561 &port_config, 1, stream->sdw_stream); in max98373_sdw_dai_hw_params()
666 sdw_stream_remove_slave(max98373->slave, stream->sdw_stream); in max98373_pcm_hw_free()
671 void *sdw_stream, int direction) in max98373_set_sdw_stream() argument
675 if (!sdw_stream) in max98373_set_sdw_stream()
682 stream->sdw_stream = sdw_stream; in max98373_set_sdw_stream()
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()
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.h168 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.c904 static int rt711_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_set_sdw_stream() argument
909 if (!sdw_stream) in rt711_set_sdw_stream()
916 stream->sdw_stream = (struct sdw_stream_runtime *)sdw_stream; in rt711_set_sdw_stream()
983 &port_config, 1, stream->sdw_stream); in rt711_pcm_hw_params()
1037 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
/Linux-v5.10/drivers/soundwire/
Dstream.c1847 struct sdw_stream_runtime *sdw_stream) in set_stream() argument
1856 ret = snd_soc_dai_set_sdw_stream(dai, sdw_stream, substream->stream); in set_stream()
1877 struct sdw_stream_runtime *sdw_stream; in sdw_startup_stream() local
1889 sdw_stream = sdw_alloc_stream(name); in sdw_startup_stream()
1890 if (!sdw_stream) { in sdw_startup_stream()
1896 ret = set_stream(substream, sdw_stream); in sdw_startup_stream()
1902 sdw_release_stream(sdw_stream); in sdw_startup_stream()
1921 struct sdw_stream_runtime *sdw_stream; in sdw_shutdown_stream() local
1927 sdw_stream = snd_soc_dai_get_sdw_stream(dai, substream->stream); in sdw_shutdown_stream()
1929 if (IS_ERR(sdw_stream)) { in sdw_shutdown_stream()
[all …]