/Linux-v6.1/sound/soc/codecs/ |
D | sdw-mockup.c | 26 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()
|
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()
|
D | max98373-sdw.c | 23 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()
|
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()
|
D | rt1308-sdw.c | 484 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()
|
D | rt1316-sdw.h | 52 struct sdw_stream_runtime *sdw_stream; member
|
D | rt1308-sdw.h | 172 struct sdw_stream_runtime *sdw_stream; member
|
D | rt700.c | 874 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()
|
D | rt715.c | 763 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()
|
D | rt715-sdca.h | 41 struct sdw_stream_runtime *sdw_stream; member
|
D | rt715-sdca.c | 783 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()
|
D | rt711.c | 963 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()
|
D | rt711-sdca.c | 1221 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()
|
D | rt700.h | 31 struct sdw_stream_runtime *sdw_stream; member
|
D | rt711-sdca.h | 40 struct sdw_stream_runtime *sdw_stream; member
|
D | rt711.h | 33 struct sdw_stream_runtime *sdw_stream; member
|
D | rt715.h | 31 struct sdw_stream_runtime *sdw_stream; member
|
/Linux-v6.1/sound/soc/intel/boards/ |
D | sof_sdw.c | 392 struct sdw_stream_runtime *sdw_stream; in sdw_prepare() local 398 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_prepare() 400 if (IS_ERR(sdw_stream)) { in sdw_prepare() 402 return PTR_ERR(sdw_stream); in sdw_prepare() 405 return sdw_prepare_stream(sdw_stream); in sdw_prepare() 411 struct sdw_stream_runtime *sdw_stream; in sdw_trigger() local 418 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_trigger() 420 if (IS_ERR(sdw_stream)) { in sdw_trigger() 422 return PTR_ERR(sdw_stream); in sdw_trigger() 429 ret = sdw_enable_stream(sdw_stream); in sdw_trigger() [all …]
|
/Linux-v6.1/drivers/soundwire/ |
D | stream.c | 1716 struct sdw_stream_runtime *sdw_stream) in set_stream() argument 1725 ret = snd_soc_dai_set_stream(dai, sdw_stream, substream->stream); in set_stream() 1772 struct sdw_stream_runtime *sdw_stream; in sdw_startup_stream() local 1784 sdw_stream = sdw_alloc_stream(name); in sdw_startup_stream() 1785 if (!sdw_stream) { in sdw_startup_stream() 1791 ret = set_stream(substream, sdw_stream); in sdw_startup_stream() 1797 sdw_release_stream(sdw_stream); in sdw_startup_stream() 1816 struct sdw_stream_runtime *sdw_stream; in sdw_shutdown_stream() local 1822 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_shutdown_stream() 1824 if (IS_ERR(sdw_stream)) { in sdw_shutdown_stream() [all …]
|