/Linux-v6.6/sound/soc/codecs/ |
D | cs42l43-sdw.c | 24 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in cs42l43_sdw_add_peripheral() local 30 if (!sdw_stream) in cs42l43_sdw_add_peripheral() 40 ret = sdw_stream_add_slave(sdw, &sconfig, &pconfig, 1, sdw_stream); in cs42l43_sdw_add_peripheral() 54 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in cs42l43_sdw_remove_peripheral() local 57 if (!sdw_stream) in cs42l43_sdw_remove_peripheral() 60 return sdw_stream_remove_slave(sdw, sdw_stream); in cs42l43_sdw_remove_peripheral() 64 int cs42l43_sdw_set_stream(struct snd_soc_dai *dai, void *sdw_stream, int direction) in cs42l43_sdw_set_stream() argument 66 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in cs42l43_sdw_set_stream()
|
D | sdw-mockup.c | 41 static int sdw_mockup_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in sdw_mockup_set_sdw_stream() argument 44 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in sdw_mockup_set_sdw_stream() 63 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in sdw_mockup_pcm_hw_params() local 66 if (!sdw_stream) in sdw_mockup_pcm_hw_params() 81 &port_config, 1, sdw_stream); in sdw_mockup_pcm_hw_params() 93 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in sdw_mockup_pcm_hw_free() local 98 sdw_stream_remove_slave(sdw_mockup->slave, sdw_stream); in sdw_mockup_pcm_hw_free()
|
D | rt1017-sdca-sdw.c | 558 static int rt1017_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1017_sdca_set_sdw_stream() argument 561 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt1017_sdca_set_sdw_stream() 581 struct sdw_stream_runtime *sdw_stream; in rt1017_sdca_pcm_hw_params() local 586 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt1017_sdca_pcm_hw_params() 588 if (!sdw_stream) in rt1017_sdca_pcm_hw_params() 620 &port_config, 1, sdw_stream); in rt1017_sdca_pcm_hw_params() 660 struct sdw_stream_runtime *sdw_stream = in rt1017_sdca_pcm_hw_free() local 666 sdw_stream_remove_slave(rt1017->sdw_slave, sdw_stream); in rt1017_sdca_pcm_hw_free()
|
D | rt1318-sdw.c | 549 static int rt1318_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1318_set_sdw_stream() argument 552 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt1318_set_sdw_stream() 572 struct sdw_stream_runtime *sdw_stream; in rt1318_sdw_hw_params() local 577 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt1318_sdw_hw_params() 579 if (!sdw_stream) in rt1318_sdw_hw_params() 607 &port_config, 1, sdw_stream); in rt1318_sdw_hw_params() 653 struct sdw_stream_runtime *sdw_stream = in rt1318_sdw_pcm_hw_free() local 659 sdw_stream_remove_slave(rt1318->sdw_slave, sdw_stream); in rt1318_sdw_pcm_hw_free()
|
D | rt1316-sdw.c | 494 static int rt1316_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1316_set_sdw_stream() argument 497 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt1316_set_sdw_stream() 516 struct sdw_stream_runtime *sdw_stream; in rt1316_sdw_hw_params() local 520 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt1316_sdw_hw_params() 522 if (!sdw_stream) in rt1316_sdw_hw_params() 538 &port_config, 1, sdw_stream); in rt1316_sdw_hw_params() 553 struct sdw_stream_runtime *sdw_stream = in rt1316_sdw_pcm_hw_free() local 559 sdw_stream_remove_slave(rt1316->sdw_slave, sdw_stream); in rt1316_sdw_pcm_hw_free()
|
D | cs42l42-sdw.c | 68 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in cs42l42_sdw_dai_hw_params() local 73 if (!sdw_stream) in cs42l42_sdw_dai_hw_params() 87 sdw_stream); in cs42l42_sdw_dai_hw_params() 121 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in cs42l42_sdw_dai_hw_free() local 123 sdw_stream_remove_slave(cs42l42->sdw_peripheral, sdw_stream); in cs42l42_sdw_dai_hw_free() 153 static int cs42l42_sdw_dai_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in cs42l42_sdw_dai_set_sdw_stream() argument 156 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in cs42l42_sdw_dai_set_sdw_stream()
|
D | max98373-sdw.c | 524 struct sdw_stream_runtime *sdw_stream; in max98373_sdw_dai_hw_params() local 527 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in max98373_sdw_dai_hw_params() 529 if (!sdw_stream) in max98373_sdw_dai_hw_params() 553 &port_config, 1, sdw_stream); in max98373_sdw_dai_hw_params() 652 struct sdw_stream_runtime *sdw_stream = in max98373_pcm_hw_free() local 658 sdw_stream_remove_slave(max98373->slave, sdw_stream); in max98373_pcm_hw_free() 663 void *sdw_stream, int direction) in max98373_set_sdw_stream() argument 665 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in max98373_set_sdw_stream()
|
D | rt1308-sdw.c | 493 static int rt1308_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1308_set_sdw_stream() argument 496 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt1308_set_sdw_stream() 537 struct sdw_stream_runtime *sdw_stream; in rt1308_sdw_hw_params() local 541 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt1308_sdw_hw_params() 543 if (!sdw_stream) in rt1308_sdw_hw_params() 564 &port_config, 1, sdw_stream); in rt1308_sdw_hw_params() 579 struct sdw_stream_runtime *sdw_stream = in rt1308_sdw_pcm_hw_free() local 585 sdw_stream_remove_slave(rt1308->sdw_slave, sdw_stream); in rt1308_sdw_pcm_hw_free()
|
D | rt5682-sdw.c | 89 static int rt5682_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt5682_set_sdw_stream() argument 92 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt5682_set_sdw_stream() 111 struct sdw_stream_runtime *sdw_stream; in rt5682_sdw_hw_params() local 117 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt5682_sdw_hw_params() 118 if (!sdw_stream) in rt5682_sdw_hw_params() 133 &port_config, 1, sdw_stream); in rt5682_sdw_hw_params() 227 struct sdw_stream_runtime *sdw_stream = in rt5682_sdw_hw_free() local 233 sdw_stream_remove_slave(rt5682->slave, sdw_stream); in rt5682_sdw_hw_free()
|
D | rt712-sdca-dmic.c | 623 static int rt712_sdca_dmic_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt712_sdca_dmic_set_sdw_stream() argument 626 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt712_sdca_dmic_set_sdw_stream() 645 struct sdw_stream_runtime *sdw_stream; in rt712_sdca_dmic_hw_params() local 650 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt712_sdca_dmic_hw_params() 652 if (!sdw_stream) in rt712_sdca_dmic_hw_params() 668 &port_config, 1, sdw_stream); in rt712_sdca_dmic_hw_params() 722 struct sdw_stream_runtime *sdw_stream = in rt712_sdca_dmic_hw_free() local 728 sdw_stream_remove_slave(rt712->slave, sdw_stream); in rt712_sdca_dmic_hw_free()
|
D | rt715-sdca.c | 788 static int rt715_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt715_sdca_set_sdw_stream() argument 791 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt715_sdca_set_sdw_stream() 811 struct sdw_stream_runtime *sdw_stream; in rt715_sdca_pcm_hw_params() local 815 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt715_sdca_pcm_hw_params() 817 if (!sdw_stream) in rt715_sdca_pcm_hw_params() 842 &port_config, 1, sdw_stream); in rt715_sdca_pcm_hw_params() 913 struct sdw_stream_runtime *sdw_stream = in rt715_sdca_pcm_hw_free() local 919 sdw_stream_remove_slave(rt715->slave, sdw_stream); in rt715_sdca_pcm_hw_free()
|
D | rt715.c | 819 static int rt715_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt715_set_sdw_stream() argument 823 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt715_set_sdw_stream() 843 struct sdw_stream_runtime *sdw_stream; in rt715_pcm_hw_params() local 847 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt715_pcm_hw_params() 849 if (!sdw_stream) in rt715_pcm_hw_params() 872 &port_config, 1, sdw_stream); in rt715_pcm_hw_params() 935 struct sdw_stream_runtime *sdw_stream = in rt715_pcm_hw_free() local 941 sdw_stream_remove_slave(rt715->slave, sdw_stream); in rt715_pcm_hw_free()
|
D | rt700.c | 882 static int rt700_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt700_set_sdw_stream() argument 885 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt700_set_sdw_stream() 904 struct sdw_stream_runtime *sdw_stream; in rt700_pcm_hw_params() local 909 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt700_pcm_hw_params() 911 if (!sdw_stream) in rt700_pcm_hw_params() 938 &port_config, 1, sdw_stream); in rt700_pcm_hw_params() 985 struct sdw_stream_runtime *sdw_stream = in rt700_pcm_hw_free() local 991 sdw_stream_remove_slave(rt700->slave, sdw_stream); in rt700_pcm_hw_free()
|
D | rt711.c | 971 static int rt711_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_set_sdw_stream() argument 974 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt711_set_sdw_stream() 993 struct sdw_stream_runtime *sdw_stream; in rt711_pcm_hw_params() local 998 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt711_pcm_hw_params() 1000 if (!sdw_stream) in rt711_pcm_hw_params() 1021 &port_config, 1, sdw_stream); in rt711_pcm_hw_params() 1069 struct sdw_stream_runtime *sdw_stream = in rt711_pcm_hw_free() local 1075 sdw_stream_remove_slave(rt711->slave, sdw_stream); in rt711_pcm_hw_free()
|
D | rt712-sdca.c | 998 static int rt712_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt712_sdca_set_sdw_stream() argument 1001 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt712_sdca_set_sdw_stream() 1021 struct sdw_stream_runtime *sdw_stream; in rt712_sdca_pcm_hw_params() local 1026 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt712_sdca_pcm_hw_params() 1028 if (!sdw_stream) in rt712_sdca_pcm_hw_params() 1061 &port_config, 1, sdw_stream); in rt712_sdca_pcm_hw_params() 1121 struct sdw_stream_runtime *sdw_stream = in rt712_sdca_pcm_hw_free() local 1127 sdw_stream_remove_slave(rt712->slave, sdw_stream); in rt712_sdca_pcm_hw_free()
|
D | cs35l56.c | 533 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in cs35l56_sdw_dai_hw_params() local 543 if (!sdw_stream) in cs35l56_sdw_dai_hw_params() 570 1, sdw_stream); in cs35l56_sdw_dai_hw_params() 583 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in cs35l56_sdw_dai_hw_free() local 588 sdw_stream_remove_slave(cs35l56->sdw_peripheral, sdw_stream); in cs35l56_sdw_dai_hw_free() 594 void *sdw_stream, int direction) in cs35l56_sdw_dai_set_stream() argument 596 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in cs35l56_sdw_dai_set_stream()
|
D | rt722-sdca.c | 1143 static int rt722_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt722_sdca_set_sdw_stream() argument 1146 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt722_sdca_set_sdw_stream() 1166 struct sdw_stream_runtime *sdw_stream; in rt722_sdca_pcm_hw_params() local 1171 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt722_sdca_pcm_hw_params() 1173 if (!sdw_stream) in rt722_sdca_pcm_hw_params() 1212 &port_config, 1, sdw_stream); in rt722_sdca_pcm_hw_params() 1272 struct sdw_stream_runtime *sdw_stream = in rt722_sdca_pcm_hw_free() local 1278 sdw_stream_remove_slave(rt722->slave, sdw_stream); in rt722_sdca_pcm_hw_free()
|
D | rt711-sdca.c | 1244 static int rt711_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_sdca_set_sdw_stream() argument 1247 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt711_sdca_set_sdw_stream() 1266 struct sdw_stream_runtime *sdw_stream; in rt711_sdca_pcm_hw_params() local 1271 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt711_sdca_pcm_hw_params() 1273 if (!sdw_stream) in rt711_sdca_pcm_hw_params() 1294 &port_config, 1, sdw_stream); in rt711_sdca_pcm_hw_params() 1345 struct sdw_stream_runtime *sdw_stream = in rt711_sdca_pcm_hw_free() local 1351 sdw_stream_remove_slave(rt711->slave, sdw_stream); in rt711_sdca_pcm_hw_free()
|
D | cs42l43.h | 100 int cs42l43_sdw_set_stream(struct snd_soc_dai *dai, void *sdw_stream, int direction);
|
D | max98363.c | 272 void *sdw_stream, int direction) in max98363_set_sdw_stream() argument 274 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in max98363_set_sdw_stream()
|
/Linux-v6.6/sound/soc/intel/boards/ |
D | sof_sdw.c | 529 struct sdw_stream_runtime *sdw_stream; in sdw_prepare() local 535 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_prepare() 536 if (IS_ERR(sdw_stream)) { in sdw_prepare() 538 return PTR_ERR(sdw_stream); in sdw_prepare() 541 return sdw_prepare_stream(sdw_stream); in sdw_prepare() 547 struct sdw_stream_runtime *sdw_stream; in sdw_trigger() local 554 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_trigger() 555 if (IS_ERR(sdw_stream)) { in sdw_trigger() 557 return PTR_ERR(sdw_stream); in sdw_trigger() 564 ret = sdw_enable_stream(sdw_stream); in sdw_trigger() [all …]
|
/Linux-v6.6/drivers/soundwire/ |
D | stream.c | 1718 struct sdw_stream_runtime *sdw_stream) in set_stream() argument 1727 ret = snd_soc_dai_set_stream(dai, sdw_stream, substream->stream); in set_stream() 1774 struct sdw_stream_runtime *sdw_stream; in sdw_startup_stream() local 1786 sdw_stream = sdw_alloc_stream(name); in sdw_startup_stream() 1787 if (!sdw_stream) { in sdw_startup_stream() 1793 ret = set_stream(substream, sdw_stream); in sdw_startup_stream() 1799 sdw_release_stream(sdw_stream); in sdw_startup_stream() 1818 struct sdw_stream_runtime *sdw_stream; in sdw_shutdown_stream() local 1824 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_shutdown_stream() 1826 if (IS_ERR(sdw_stream)) { in sdw_shutdown_stream() [all …]
|