Home
last modified time | relevance | path

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

12

/linux/sound/soc/codecs/
H A Dcs42l43-sdw.c25 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in cs42l43_sdw_add_peripheral() local
31 if (!sdw_stream) in cs42l43_sdw_add_peripheral()
37 ret = sdw_stream_add_slave(sdw, &sconfig, &pconfig, 1, sdw_stream); in cs42l43_sdw_add_peripheral()
51 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in cs42l43_sdw_remove_peripheral() local
54 if (!sdw_stream) in cs42l43_sdw_remove_peripheral()
57 return sdw_stream_remove_slave(sdw, sdw_stream); in cs42l43_sdw_remove_peripheral()
61 int cs42l43_sdw_set_stream(struct snd_soc_dai *dai, void *sdw_stream, int direction) in cs42l43_sdw_set_stream() argument
63 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in cs42l43_sdw_set_stream()
H A Dsdw-mockup.c40 static int sdw_mockup_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in sdw_mockup_set_sdw_stream() argument
43 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in sdw_mockup_set_sdw_stream()
62 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in sdw_mockup_pcm_hw_params() local
65 if (!sdw_stream) in sdw_mockup_pcm_hw_params()
80 &port_config, 1, sdw_stream); in sdw_mockup_pcm_hw_params()
92 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in sdw_mockup_pcm_hw_free() local
97 sdw_stream_remove_slave(sdw_mockup->slave, sdw_stream); in sdw_mockup_pcm_hw_free()
H A Drt1318-sdw.c548 static int rt1318_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1318_set_sdw_stream() argument
551 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt1318_set_sdw_stream()
570 struct sdw_stream_runtime *sdw_stream; in rt1318_sdw_hw_params() local
575 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt1318_sdw_hw_params()
577 if (!sdw_stream) in rt1318_sdw_hw_params()
595 &port_config, 1, sdw_stream); in rt1318_sdw_hw_params()
641 struct sdw_stream_runtime *sdw_stream = in rt1318_sdw_pcm_hw_free() local
647 sdw_stream_remove_slave(rt1318->sdw_slave, sdw_stream); in rt1318_sdw_pcm_hw_free()
H A Drt1017-sdca-sdw.c557 static int rt1017_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1017_sdca_set_sdw_stream()
560 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt1017_sdca_set_sdw_stream()
579 struct sdw_stream_runtime *sdw_stream; in rt1017_sdca_pcm_hw_params() local
584 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt1017_sdca_pcm_hw_params()
586 if (!sdw_stream) in rt1017_sdca_pcm_hw_params()
607 &port_config, 1, sdw_stream); in rt1017_sdca_pcm_hw_params()
647 struct sdw_stream_runtime *sdw_stream = in rt1017_sdca_pcm_hw_params()
653 sdw_stream_remove_slave(rt1017->sdw_slave, sdw_stream); in rt1017_sdca_pcm_hw_free()
556 rt1017_sdca_set_sdw_stream(struct snd_soc_dai * dai,void * sdw_stream,int direction) rt1017_sdca_set_sdw_stream() argument
658 struct sdw_stream_runtime *sdw_stream = rt1017_sdca_pcm_hw_free() local
H A Drt1316-sdw.c492 static int rt1316_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1316_set_sdw_stream() argument
495 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt1316_set_sdw_stream()
514 struct sdw_stream_runtime *sdw_stream; in rt1316_sdw_hw_params() local
518 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt1316_sdw_hw_params()
520 if (!sdw_stream) in rt1316_sdw_hw_params()
536 &port_config, 1, sdw_stream); in rt1316_sdw_hw_params()
551 struct sdw_stream_runtime *sdw_stream = in rt1316_sdw_pcm_hw_free() local
557 sdw_stream_remove_slave(rt1316->sdw_slave, sdw_stream); in rt1316_sdw_pcm_hw_free()
H A Dcs42l42-sdw.c67 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in cs42l42_sdw_dai_hw_params() local
72 if (!sdw_stream) in cs42l42_sdw_dai_hw_params()
86 sdw_stream); in cs42l42_sdw_dai_hw_params()
120 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in cs42l42_sdw_dai_hw_free() local
122 sdw_stream_remove_slave(cs42l42->sdw_peripheral, sdw_stream); in cs42l42_sdw_dai_hw_free()
152 static int cs42l42_sdw_dai_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in cs42l42_sdw_dai_set_sdw_stream() argument
155 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in cs42l42_sdw_dai_set_sdw_stream()
H A Drt5682-sdw.c90 static int rt5682_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt5682_set_sdw_stream() argument
93 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt5682_set_sdw_stream()
112 struct sdw_stream_runtime *sdw_stream; in rt5682_sdw_hw_params() local
118 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt5682_sdw_hw_params()
119 if (!sdw_stream) in rt5682_sdw_hw_params()
134 &port_config, 1, sdw_stream); in rt5682_sdw_hw_params()
228 struct sdw_stream_runtime *sdw_stream = in rt5682_sdw_hw_free() local
234 sdw_stream_remove_slave(rt5682->slave, sdw_stream); in rt5682_sdw_hw_free()
H A Dmax98373-sdw.c519 struct sdw_stream_runtime *sdw_stream; in max98373_sdw_dai_hw_params() local
522 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in max98373_sdw_dai_hw_params()
524 if (!sdw_stream) in max98373_sdw_dai_hw_params()
548 &port_config, 1, sdw_stream); in max98373_sdw_dai_hw_params()
647 struct sdw_stream_runtime *sdw_stream = in max98373_pcm_hw_free() local
653 sdw_stream_remove_slave(max98373->slave, sdw_stream); in max98373_pcm_hw_free()
658 void *sdw_stream, int direction) in max98373_set_sdw_stream() argument
660 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in max98373_set_sdw_stream()
H A Drt1308-sdw.c491 static int rt1308_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1308_set_sdw_stream() argument
494 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt1308_set_sdw_stream()
535 struct sdw_stream_runtime *sdw_stream; in rt1308_sdw_hw_params() local
539 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt1308_sdw_hw_params()
541 if (!sdw_stream) in rt1308_sdw_hw_params()
562 &port_config, 1, sdw_stream); in rt1308_sdw_hw_params()
577 struct sdw_stream_runtime *sdw_stream = in rt1308_sdw_pcm_hw_free() local
583 sdw_stream_remove_slave(rt1308->sdw_slave, sdw_stream); in rt1308_sdw_pcm_hw_free()
H A Drt712-sdca-dmic.c616 static int rt712_sdca_dmic_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt712_sdca_dmic_set_sdw_stream() argument
619 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt712_sdca_dmic_set_sdw_stream()
638 struct sdw_stream_runtime *sdw_stream; in rt712_sdca_dmic_hw_params() local
643 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt712_sdca_dmic_hw_params()
645 if (!sdw_stream) in rt712_sdca_dmic_hw_params()
656 &port_config, 1, sdw_stream); in rt712_sdca_dmic_hw_params()
710 struct sdw_stream_runtime *sdw_stream = in rt712_sdca_dmic_hw_free() local
716 sdw_stream_remove_slave(rt712->slave, sdw_stream); in rt712_sdca_dmic_hw_free()
H A Drt715-sdca.c777 static int rt715_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream,
780 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt715_sdca_set_sdw_stream() argument
800 struct sdw_stream_runtime *sdw_stream; in rt715_sdca_pcm_hw_params()
804 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt715_sdca_pcm_hw_params()
806 if (!sdw_stream) in rt715_sdca_pcm_hw_params()
831 &port_config, 1, sdw_stream); in rt715_sdca_pcm_hw_params()
902 struct sdw_stream_runtime *sdw_stream = in rt715_sdca_pcm_hw_free()
908 sdw_stream_remove_slave(rt715->slave, sdw_stream); in rt715_sdca_pcm_hw_free()
803 struct sdw_stream_runtime *sdw_stream; rt715_sdca_pcm_hw_params() local
905 struct sdw_stream_runtime *sdw_stream = rt715_sdca_pcm_hw_free() local
H A Drt715.c802 static int rt715_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream,
806 snd_soc_dai_dma_data_set(dai, direction, sdw_stream);
826 struct sdw_stream_runtime *sdw_stream; in rt715_pcm_hw_params()
830 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt715_pcm_hw_params()
832 if (!sdw_stream) in rt715_pcm_hw_params()
855 &port_config, 1, sdw_stream); in rt715_pcm_hw_params()
918 struct sdw_stream_runtime *sdw_stream = in rt715_pcm_hw_params()
924 sdw_stream_remove_slave(rt715->slave, sdw_stream); in rt715_pcm_hw_free()
809 rt715_set_sdw_stream(struct snd_soc_dai * dai,void * sdw_stream,int direction) rt715_set_sdw_stream() argument
833 struct sdw_stream_runtime *sdw_stream; rt715_pcm_hw_params() local
925 struct sdw_stream_runtime *sdw_stream = rt715_pcm_hw_free() local
H A Drt700.c875 static int rt700_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream,
878 snd_soc_dai_dma_data_set(dai, direction, sdw_stream);
897 struct sdw_stream_runtime *sdw_stream; in rt700_pcm_hw_params()
902 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt700_pcm_hw_params()
904 if (!sdw_stream) in rt700_pcm_hw_params()
931 &port_config, 1, sdw_stream); in rt700_pcm_hw_params()
978 struct sdw_stream_runtime *sdw_stream =
984 sdw_stream_remove_slave(rt700->slave, sdw_stream); in rt700_pcm_hw_free() local
881 rt700_set_sdw_stream(struct snd_soc_dai * dai,void * sdw_stream,int direction) rt700_set_sdw_stream() argument
903 struct sdw_stream_runtime *sdw_stream; rt700_pcm_hw_params() local
H A Dtas2783-sdw.c938 void *sdw_stream, s32 direction) in tas_set_sdw_stream() argument
940 if (!sdw_stream) in tas_set_sdw_stream()
943 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in tas_set_sdw_stream()
963 struct sdw_stream_runtime *sdw_stream; in tas_sdw_hw_params() local
972 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in tas_sdw_hw_params()
973 if (!sdw_stream) in tas_sdw_hw_params()
1036 &stream_config, &port_config, 1, sdw_stream); in tas_sdw_hw_params()
1049 struct sdw_stream_runtime *sdw_stream = in tas_sdw_pcm_hw_free() local
1052 sdw_stream_remove_slave(tas_dev->sdw_peripheral, sdw_stream); in tas_sdw_pcm_hw_free()
H A Drt711.c962 static int rt711_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream,
965 snd_soc_dai_dma_data_set(dai, direction, sdw_stream);
984 struct sdw_stream_runtime *sdw_stream; in rt711_pcm_hw_params()
989 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt711_pcm_hw_params()
991 if (!sdw_stream) in rt711_pcm_hw_params()
1012 &port_config, 1, sdw_stream); in rt711_pcm_hw_params()
1060 struct sdw_stream_runtime *sdw_stream = in rt711_pcm_hw_params()
1066 sdw_stream_remove_slave(rt711->slave, sdw_stream); in rt711_pcm_hw_free()
970 rt711_set_sdw_stream(struct snd_soc_dai * dai,void * sdw_stream,int direction) rt711_set_sdw_stream() argument
992 struct sdw_stream_runtime *sdw_stream; rt711_pcm_hw_params() local
1068 struct sdw_stream_runtime *sdw_stream = rt711_pcm_hw_free() local
H A Drt766-sdca.c919 static int rt766_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt766_sdca_set_sdw_stream() argument
922 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt766_sdca_set_sdw_stream()
941 struct sdw_stream_runtime *sdw_stream; in rt766_sdca_pcm_hw_params() local
946 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt766_sdca_pcm_hw_params()
948 if (!sdw_stream) in rt766_sdca_pcm_hw_params()
976 &port_config, 1, sdw_stream); in rt766_sdca_pcm_hw_params()
1041 struct sdw_stream_runtime *sdw_stream = in rt766_sdca_pcm_hw_free() local
1047 sdw_stream_remove_slave(rt766->slave, sdw_stream); in rt766_sdca_pcm_hw_free()
H A Des9356.c234 static int es9356_sdw_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in es9356_sdw_set_sdw_stream() argument
237 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in es9356_sdw_set_sdw_stream()
531 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in es9356_sdw_pcm_hw_params() local
536 if (!sdw_stream) in es9356_sdw_pcm_hw_params()
548 &port_config, 1, sdw_stream); in es9356_sdw_pcm_hw_params()
588 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in es9356_sdw_pcm_hw_free() local
595 sdw_stream_remove_slave(es9356->slave, sdw_stream); in es9356_sdw_pcm_hw_free()
H A Drt711-sdca.c1311 static int rt711_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream,
1314 snd_soc_dai_dma_data_set(dai, direction, sdw_stream);
1333 struct sdw_stream_runtime *sdw_stream; in rt711_sdca_pcm_hw_params()
1338 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt711_sdca_pcm_hw_params()
1340 if (!sdw_stream) in rt711_sdca_pcm_hw_params()
1361 &port_config, 1, sdw_stream); in rt711_sdca_pcm_hw_params()
1412 struct sdw_stream_runtime *sdw_stream = in rt711_sdca_pcm_hw_free()
1418 sdw_stream_remove_slave(rt711->slave, sdw_stream); in rt711_sdca_pcm_hw_free()
1315 rt711_sdca_set_sdw_stream(struct snd_soc_dai * dai,void * sdw_stream,int direction) rt711_sdca_set_sdw_stream() argument
1337 struct sdw_stream_runtime *sdw_stream; rt711_sdca_pcm_hw_params() local
1416 struct sdw_stream_runtime *sdw_stream = rt711_sdca_pcm_hw_free() local
H A Dtac5xx2-sdw.c661 void *sdw_stream, s32 direction) in tac_set_sdw_stream() argument
663 if (sdw_stream) in tac_set_sdw_stream()
664 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in tac_set_sdw_stream()
689 struct sdw_stream_runtime *sdw_stream; in tac_sdw_hw_params() local
704 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in tac_sdw_hw_params()
705 if (!sdw_stream) { in tac_sdw_hw_params()
743 &port_config, 1, sdw_stream); in tac_sdw_hw_params()
827 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in tac_sdw_pcm_hw_free() local
832 sdw_stream_remove_slave(tac_dev->sdw_peripheral, sdw_stream); in tac_sdw_pcm_hw_free()
H A Drt721-sdca.c1253 static int rt721_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt721_sdca_set_sdw_stream() argument
1256 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt721_sdca_set_sdw_stream()
1275 struct sdw_stream_runtime *sdw_stream; in rt721_sdca_pcm_hw_params() local
1280 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt721_sdca_pcm_hw_params()
1282 if (!sdw_stream) in rt721_sdca_pcm_hw_params()
1315 &port_config, 1, sdw_stream); in rt721_sdca_pcm_hw_params()
1393 struct sdw_stream_runtime *sdw_stream = in rt721_sdca_pcm_hw_free() local
1399 sdw_stream_remove_slave(rt721->slave, sdw_stream); in rt721_sdca_pcm_hw_free()
H A Dmax98363.c267 void *sdw_stream, int direction) in max98363_pcm_hw_free()
269 snd_soc_dai_dma_data_set(dai, direction, sdw_stream);
271 max98363_set_sdw_stream(struct snd_soc_dai * dai,void * sdw_stream,int direction) max98363_set_sdw_stream() argument
H A Drt722-sdca.c1426 static int rt722_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt722_sdca_set_sdw_stream() argument
1429 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt722_sdca_set_sdw_stream()
1448 struct sdw_stream_runtime *sdw_stream; in rt722_sdca_pcm_hw_params() local
1453 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt722_sdca_pcm_hw_params()
1455 if (!sdw_stream) in rt722_sdca_pcm_hw_params()
1488 &port_config, 1, sdw_stream); in rt722_sdca_pcm_hw_params()
1548 struct sdw_stream_runtime *sdw_stream = in rt722_sdca_pcm_hw_free() local
1554 sdw_stream_remove_slave(rt722->slave, sdw_stream); in rt722_sdca_pcm_hw_free()
/linux/sound/soc/sdca/
H A Dsdca_class_function.c134 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in class_function_sdw_add_peripheral() local
140 if (!sdw_stream) in class_function_sdw_add_peripheral()
155 ret = sdw_stream_add_slave(sdw, &sconfig, &pconfig, 1, sdw_stream); in class_function_sdw_add_peripheral()
169 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in class_function_sdw_remove_peripheral() local
172 if (!sdw_stream) in class_function_sdw_remove_peripheral()
175 return sdw_stream_remove_slave(sdw, sdw_stream); in class_function_sdw_remove_peripheral()
178 static int class_function_sdw_set_stream(struct snd_soc_dai *dai, void *sdw_stream, in class_function_sdw_set_stream() argument
181 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in class_function_sdw_set_stream()
/linux/sound/soc/sdw_utils/
H A Dsoc_sdw_utils.c1487 struct sdw_stream_runtime *sdw_stream; in asoc_sdw_prepare() local
1493 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in asoc_sdw_prepare()
1494 if (IS_ERR(sdw_stream)) { in asoc_sdw_prepare()
1496 return PTR_ERR(sdw_stream); in asoc_sdw_prepare()
1499 return sdw_prepare_stream(sdw_stream); in asoc_sdw_prepare()
1506 struct sdw_stream_runtime *sdw_stream; in asoc_sdw_trigger() local
1513 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in asoc_sdw_trigger()
1514 if (IS_ERR(sdw_stream)) { in asoc_sdw_trigger()
1516 return PTR_ERR(sdw_stream); in asoc_sdw_trigger()
1532 ret = sdw_prepare_stream(sdw_stream); in asoc_sdw_trigger()
1612 struct sdw_stream_runtime *sdw_stream; asoc_sdw_hw_free() local
[all...]
/linux/drivers/soundwire/
H A Dstream.c1866 struct sdw_stream_runtime *sdw_stream) in set_stream() argument
1875 ret = snd_soc_dai_set_stream(dai, sdw_stream, substream->stream); in set_stream()
1924 struct sdw_stream_runtime *sdw_stream; in sdw_startup_stream() local
1936 sdw_stream = sdw_alloc_stream(name, SDW_STREAM_PCM); in sdw_startup_stream()
1937 if (!sdw_stream) { in sdw_startup_stream()
1943 ret = set_stream(substream, sdw_stream); in sdw_startup_stream()
1949 sdw_release_stream(sdw_stream); in sdw_startup_stream()
1968 struct sdw_stream_runtime *sdw_stream; in sdw_shutdown_stream() local
1974 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_shutdown_stream()
1976 if (IS_ERR(sdw_stream)) { in sdw_shutdown_stream()
[all …]

12