Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dsdw-mockup.c26 struct sdw_stream_runtime *sdw_stream; member
44 static int sdw_mockup_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in sdw_mockup_set_sdw_stream() argument
49 if (!sdw_stream) in sdw_mockup_set_sdw_stream()
56 stream->sdw_stream = sdw_stream; in sdw_mockup_set_sdw_stream()
117 &port_config, 1, stream->sdw_stream); in sdw_mockup_pcm_hw_params()
135 sdw_stream_remove_slave(sdw_mockup->slave, stream->sdw_stream); in sdw_mockup_pcm_hw_free()
Drt1318-sdw.c563 static int rt1318_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1318_set_sdw_stream() argument
568 if (!sdw_stream) in rt1318_set_sdw_stream()
575 stream->sdw_stream = sdw_stream; in rt1318_set_sdw_stream()
640 &port_config, 1, stream->sdw_stream); in rt1318_sdw_hw_params()
692 sdw_stream_remove_slave(rt1318->sdw_slave, stream->sdw_stream); in rt1318_sdw_pcm_hw_free()
Drt1316-sdw.c483 static int rt1316_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1316_set_sdw_stream() argument
488 if (!sdw_stream) in rt1316_set_sdw_stream()
495 stream->sdw_stream = sdw_stream; in rt1316_set_sdw_stream()
559 &port_config, 1, stream->sdw_stream); in rt1316_sdw_hw_params()
580 sdw_stream_remove_slave(rt1316->sdw_slave, stream->sdw_stream); in rt1316_sdw_pcm_hw_free()
Dmax98373-sdw.c23 struct sdw_stream_runtime *sdw_stream; member
577 &port_config, 1, stream->sdw_stream); in max98373_sdw_dai_hw_params()
682 sdw_stream_remove_slave(max98373->slave, stream->sdw_stream); in max98373_pcm_hw_free()
687 void *sdw_stream, int direction) in max98373_set_sdw_stream() argument
691 if (!sdw_stream) in max98373_set_sdw_stream()
698 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 = 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.c484 static int rt1308_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1308_set_sdw_stream() argument
489 if (!sdw_stream) in rt1308_set_sdw_stream()
496 stream->sdw_stream = sdw_stream; in rt1308_set_sdw_stream()
586 &port_config, 1, stream->sdw_stream); in rt1308_sdw_hw_params()
607 sdw_stream_remove_slave(rt1308->sdw_slave, stream->sdw_stream); in rt1308_sdw_pcm_hw_free()
Drt1316-sdw.h52 struct sdw_stream_runtime *sdw_stream; member
Drt1308-sdw.h172 struct sdw_stream_runtime *sdw_stream; member
Drt1318-sdw.h98 struct sdw_stream_runtime *sdw_stream; member
Drt700.c874 static int rt700_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt700_set_sdw_stream() argument
879 if (!sdw_stream) in rt700_set_sdw_stream()
886 stream->sdw_stream = sdw_stream; in rt700_set_sdw_stream()
960 &port_config, 1, stream->sdw_stream); in rt700_pcm_hw_params()
1013 sdw_stream_remove_slave(rt700->slave, stream->sdw_stream); in rt700_pcm_hw_free()
Drt715.c763 static int rt715_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt715_set_sdw_stream() argument
769 if (!sdw_stream) in rt715_set_sdw_stream()
776 stream->sdw_stream = sdw_stream; in rt715_set_sdw_stream()
845 &port_config, 1, stream->sdw_stream); in rt715_pcm_hw_params()
914 sdw_stream_remove_slave(rt715->slave, stream->sdw_stream); in rt715_pcm_hw_free()
Drt715-sdca.h41 struct sdw_stream_runtime *sdw_stream; member
Drt715-sdca.c783 static int rt715_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt715_sdca_set_sdw_stream() argument
792 stream->sdw_stream = sdw_stream; in rt715_sdca_set_sdw_stream()
866 &port_config, 1, stream->sdw_stream); in rt715_sdca_pcm_hw_params()
943 sdw_stream_remove_slave(rt715->slave, stream->sdw_stream); in rt715_sdca_pcm_hw_free()
Drt711.c963 static int rt711_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_set_sdw_stream() argument
968 if (!sdw_stream) in rt711_set_sdw_stream()
975 stream->sdw_stream = sdw_stream; in rt711_set_sdw_stream()
1042 &port_config, 1, stream->sdw_stream); in rt711_pcm_hw_params()
1096 sdw_stream_remove_slave(rt711->slave, stream->sdw_stream); in rt711_pcm_hw_free()
Drt711-sdca.c1221 static int rt711_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_sdca_set_sdw_stream() argument
1226 if (!sdw_stream) in rt711_sdca_set_sdw_stream()
1233 stream->sdw_stream = sdw_stream; in rt711_sdca_set_sdw_stream()
1300 &port_config, 1, stream->sdw_stream); in rt711_sdca_pcm_hw_params()
1357 sdw_stream_remove_slave(rt711->slave, stream->sdw_stream); in rt711_sdca_pcm_hw_free()
Drt711-sdca.h40 struct sdw_stream_runtime *sdw_stream; member
Drt700.h31 struct sdw_stream_runtime *sdw_stream; member
Drt715.h31 struct sdw_stream_runtime *sdw_stream; member
Drt711.h33 struct sdw_stream_runtime *sdw_stream; member
/sound/soc/intel/boards/
Dsof_sdw.c440 struct sdw_stream_runtime *sdw_stream; in sdw_prepare() local
446 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_prepare()
448 if (IS_ERR(sdw_stream)) { in sdw_prepare()
450 return PTR_ERR(sdw_stream); in sdw_prepare()
453 return sdw_prepare_stream(sdw_stream); in sdw_prepare()
459 struct sdw_stream_runtime *sdw_stream; in sdw_trigger() local
466 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_trigger()
468 if (IS_ERR(sdw_stream)) { in sdw_trigger()
470 return PTR_ERR(sdw_stream); in sdw_trigger()
477 ret = sdw_enable_stream(sdw_stream); in sdw_trigger()
[all …]