Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
A Dsdw-mockup.c26 struct sdw_stream_runtime *sdw_stream; member
43 static int sdw_mockup_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in sdw_mockup_set_sdw_stream() argument
48 if (!sdw_stream) in sdw_mockup_set_sdw_stream()
55 stream->sdw_stream = sdw_stream; in sdw_mockup_set_sdw_stream()
116 &port_config, 1, stream->sdw_stream); in sdw_mockup_pcm_hw_params()
134 sdw_stream_remove_slave(sdw_mockup->slave, stream->sdw_stream); in sdw_mockup_pcm_hw_free()
A 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()
A Dmax98373-sdw.c23 struct sdw_stream_runtime *sdw_stream; member
575 &port_config, 1, stream->sdw_stream); in max98373_sdw_dai_hw_params()
680 sdw_stream_remove_slave(max98373->slave, stream->sdw_stream); in max98373_pcm_hw_free()
685 void *sdw_stream, int direction) in max98373_set_sdw_stream() argument
689 if (!sdw_stream) in max98373_set_sdw_stream()
696 stream->sdw_stream = sdw_stream; in max98373_set_sdw_stream()
A 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()
A 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 = 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()
A Drt1308-sdw.h168 struct sdw_stream_runtime *sdw_stream; member
A Drt1316-sdw.h52 struct sdw_stream_runtime *sdw_stream; member
A Drt715.c750 static int rt715_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt715_set_sdw_stream() argument
756 if (!sdw_stream) in rt715_set_sdw_stream()
763 stream->sdw_stream = sdw_stream; in rt715_set_sdw_stream()
832 &port_config, 1, stream->sdw_stream); in rt715_pcm_hw_params()
901 sdw_stream_remove_slave(rt715->slave, stream->sdw_stream); in rt715_pcm_hw_free()
A 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 = 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()
A 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 = 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()
A Drt715-sdca.c770 static int rt715_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt715_sdca_set_sdw_stream() argument
779 stream->sdw_stream = sdw_stream; in rt715_sdca_set_sdw_stream()
853 &port_config, 1, stream->sdw_stream); in rt715_sdca_pcm_hw_params()
930 sdw_stream_remove_slave(rt715->slave, stream->sdw_stream); in rt715_sdca_pcm_hw_free()
A Drt715-sdca.h41 struct sdw_stream_runtime *sdw_stream; member
A Drt711-sdca.c1213 static int rt711_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_sdca_set_sdw_stream() argument
1218 if (!sdw_stream) in rt711_sdca_set_sdw_stream()
1225 stream->sdw_stream = sdw_stream; in rt711_sdca_set_sdw_stream()
1292 &port_config, 1, stream->sdw_stream); in rt711_sdca_pcm_hw_params()
1349 sdw_stream_remove_slave(rt711->slave, stream->sdw_stream); in rt711_sdca_pcm_hw_free()
A Drt711-sdca.h40 struct sdw_stream_runtime *sdw_stream; member
A Drt700.h31 struct sdw_stream_runtime *sdw_stream; member
A Drt711.h33 struct sdw_stream_runtime *sdw_stream; member
A Drt715.h31 struct sdw_stream_runtime *sdw_stream; member
/linux/sound/soc/intel/boards/
A Dsof_sdw.c346 struct sdw_stream_runtime *sdw_stream; in sdw_prepare() local
354 if (IS_ERR(sdw_stream)) { in sdw_prepare()
356 return PTR_ERR(sdw_stream); in sdw_prepare()
359 return sdw_prepare_stream(sdw_stream); in sdw_prepare()
365 struct sdw_stream_runtime *sdw_stream; in sdw_trigger() local
374 if (IS_ERR(sdw_stream)) { in sdw_trigger()
376 return PTR_ERR(sdw_stream); in sdw_trigger()
383 ret = sdw_enable_stream(sdw_stream); in sdw_trigger()
389 ret = sdw_disable_stream(sdw_stream); in sdw_trigger()
413 if (IS_ERR(sdw_stream)) { in sdw_hw_free()
[all …]
/linux/drivers/soundwire/
A Dstream.c1857 struct sdw_stream_runtime *sdw_stream) in set_stream() argument
1887 struct sdw_stream_runtime *sdw_stream; in sdw_startup_stream() local
1899 sdw_stream = sdw_alloc_stream(name); in sdw_startup_stream()
1900 if (!sdw_stream) { in sdw_startup_stream()
1906 ret = set_stream(substream, sdw_stream); in sdw_startup_stream()
1912 sdw_release_stream(sdw_stream); in sdw_startup_stream()
1931 struct sdw_stream_runtime *sdw_stream; in sdw_shutdown_stream() local
1937 sdw_stream = snd_soc_dai_get_sdw_stream(dai, substream->stream); in sdw_shutdown_stream()
1939 if (IS_ERR(sdw_stream)) { in sdw_shutdown_stream()
1945 kfree(sdw_stream->name); in sdw_shutdown_stream()
[all …]

Completed in 32 milliseconds