/Linux-v5.10/sound/soc/intel/boards/ |
D | sof_sdw.c | 171 struct sdw_stream_runtime *sdw_stream; in sdw_prepare() local 177 sdw_stream = snd_soc_dai_get_sdw_stream(dai, substream->stream); in sdw_prepare() 179 if (IS_ERR(sdw_stream)) { in sdw_prepare() 181 return PTR_ERR(sdw_stream); in sdw_prepare() 184 return sdw_prepare_stream(sdw_stream); in sdw_prepare() 190 struct sdw_stream_runtime *sdw_stream; in sdw_trigger() local 197 sdw_stream = snd_soc_dai_get_sdw_stream(dai, substream->stream); in sdw_trigger() 199 if (IS_ERR(sdw_stream)) { in sdw_trigger() 201 return PTR_ERR(sdw_stream); in sdw_trigger() 208 ret = sdw_enable_stream(sdw_stream); in sdw_trigger() [all …]
|
/Linux-v5.10/sound/soc/codecs/ |
D | max98373-sdw.c | 23 struct sdw_stream_runtime *sdw_stream; member 561 &port_config, 1, stream->sdw_stream); in max98373_sdw_dai_hw_params() 666 sdw_stream_remove_slave(max98373->slave, stream->sdw_stream); in max98373_pcm_hw_free() 671 void *sdw_stream, int direction) in max98373_set_sdw_stream() argument 675 if (!sdw_stream) in max98373_set_sdw_stream() 682 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 = (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()
|
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 = (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()
|
D | rt715.c | 527 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()
|
D | rt1308-sdw.h | 168 struct sdw_stream_runtime *sdw_stream; member
|
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 = (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()
|
D | rt711.c | 904 static int rt711_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_set_sdw_stream() argument 909 if (!sdw_stream) in rt711_set_sdw_stream() 916 stream->sdw_stream = (struct sdw_stream_runtime *)sdw_stream; in rt711_set_sdw_stream() 983 &port_config, 1, stream->sdw_stream); in rt711_pcm_hw_params() 1037 sdw_stream_remove_slave(rt711->slave, stream->sdw_stream); in rt711_pcm_hw_free()
|
D | rt700.h | 29 struct sdw_stream_runtime *sdw_stream; member
|
D | rt711.h | 31 struct sdw_stream_runtime *sdw_stream; member
|
D | rt715.h | 28 struct sdw_stream_runtime *sdw_stream; member
|
/Linux-v5.10/drivers/soundwire/ |
D | stream.c | 1847 struct sdw_stream_runtime *sdw_stream) in set_stream() argument 1856 ret = snd_soc_dai_set_sdw_stream(dai, sdw_stream, substream->stream); in set_stream() 1877 struct sdw_stream_runtime *sdw_stream; in sdw_startup_stream() local 1889 sdw_stream = sdw_alloc_stream(name); in sdw_startup_stream() 1890 if (!sdw_stream) { in sdw_startup_stream() 1896 ret = set_stream(substream, sdw_stream); in sdw_startup_stream() 1902 sdw_release_stream(sdw_stream); in sdw_startup_stream() 1921 struct sdw_stream_runtime *sdw_stream; in sdw_shutdown_stream() local 1927 sdw_stream = snd_soc_dai_get_sdw_stream(dai, substream->stream); in sdw_shutdown_stream() 1929 if (IS_ERR(sdw_stream)) { in sdw_shutdown_stream() [all …]
|