Home
last modified time | relevance | path

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

/sound/soc/intel/boards/
Dsof_sdw.c254 struct sdw_stream_runtime *sdw_stream; in sdw_prepare() local
260 sdw_stream = snd_soc_dai_get_sdw_stream(dai, substream->stream); in sdw_prepare()
262 if (IS_ERR(sdw_stream)) { in sdw_prepare()
264 return PTR_ERR(sdw_stream); in sdw_prepare()
267 return sdw_prepare_stream(sdw_stream); in sdw_prepare()
273 struct sdw_stream_runtime *sdw_stream; in sdw_trigger() local
280 sdw_stream = snd_soc_dai_get_sdw_stream(dai, substream->stream); in sdw_trigger()
282 if (IS_ERR(sdw_stream)) { in sdw_trigger()
284 return PTR_ERR(sdw_stream); in sdw_trigger()
291 ret = sdw_enable_stream(sdw_stream); in sdw_trigger()
[all …]
/sound/soc/codecs/
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()
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.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.c948 static int rt711_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_set_sdw_stream() argument
953 if (!sdw_stream) in rt711_set_sdw_stream()
960 stream->sdw_stream = (struct sdw_stream_runtime *)sdw_stream; in rt711_set_sdw_stream()
1027 &port_config, 1, stream->sdw_stream); in rt711_pcm_hw_params()
1081 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