/linux/sound/soc/codecs/ |
A D | sdw-mockup.c | 26 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 D | rt1316-sdw.c | 483 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 D | max98373-sdw.c | 23 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 D | rt5682-sdw.c | 91 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 D | rt1308-sdw.c | 466 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 D | rt1308-sdw.h | 168 struct sdw_stream_runtime *sdw_stream; member
|
A D | rt1316-sdw.h | 52 struct sdw_stream_runtime *sdw_stream; member
|
A D | rt715.c | 750 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 D | rt700.c | 858 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 D | rt711.c | 948 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 D | rt715-sdca.c | 770 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 D | rt715-sdca.h | 41 struct sdw_stream_runtime *sdw_stream; member
|
A D | rt711-sdca.c | 1213 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 D | rt711-sdca.h | 40 struct sdw_stream_runtime *sdw_stream; member
|
A D | rt700.h | 31 struct sdw_stream_runtime *sdw_stream; member
|
A D | rt711.h | 33 struct sdw_stream_runtime *sdw_stream; member
|
A D | rt715.h | 31 struct sdw_stream_runtime *sdw_stream; member
|
/linux/sound/soc/intel/boards/ |
A D | sof_sdw.c | 346 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 D | stream.c | 1857 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 …]
|