/linux-master/sound/soc/qcom/ |
H A D | sdw.c | 26 struct sdw_stream_runtime *sruntime; local 30 sruntime = sdw_alloc_stream(cpu_dai->name); 31 if (!sruntime) 35 ret = snd_soc_dai_set_stream(codec_dai, sruntime, 47 sdw_release_stream(sruntime); 54 struct sdw_stream_runtime *sruntime, 61 if (!sruntime) 81 ret = sdw_prepare_stream(sruntime); 93 ret = sdw_enable_stream(sruntime); 95 sdw_deprepare_stream(sruntime); 53 qcom_snd_sdw_prepare(struct snd_pcm_substream *substream, struct sdw_stream_runtime *sruntime, bool *stream_prepared) argument 111 struct sdw_stream_runtime *sruntime; local 135 qcom_snd_sdw_hw_free(struct snd_pcm_substream *substream, struct sdw_stream_runtime *sruntime, bool *stream_prepared) argument [all...] |
H A D | x1e80100.c | 20 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member in struct:x1e80100_snd_data 37 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; local 39 data->sruntime[cpu_dai->id] = NULL; 40 sdw_release_stream(sruntime); 74 return qcom_snd_sdw_hw_params(substream, params, &data->sruntime[cpu_dai->id]); 82 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; local 84 return qcom_snd_sdw_prepare(substream, sruntime, 93 struct sdw_stream_runtime *sruntime local [all...] |
H A D | sdw.h | 17 struct sdw_stream_runtime *sruntime,
|
H A D | sm8250.c | 23 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member in struct:sm8250_snd_data 78 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; local 80 data->sruntime[cpu_dai->id] = NULL; 81 sdw_release_stream(sruntime); 91 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); 99 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; local 101 return qcom_snd_sdw_prepare(substream, sruntime, 110 struct sdw_stream_runtime *sruntime local [all...] |
H A D | sc8280xp.c | 20 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member in struct:sc8280xp_snd_data 56 struct sdw_stream_runtime *sruntime = pdata->sruntime[cpu_dai->id]; local 58 pdata->sruntime[cpu_dai->id] = NULL; 59 sdw_release_stream(sruntime); 96 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); 104 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; local 106 return qcom_snd_sdw_prepare(substream, sruntime, 115 struct sdw_stream_runtime *sruntime local [all...] |
H A D | sc7280.c | 33 struct sdw_stream_runtime *sruntime[LPASS_MAX_PORTS]; member in struct:sc7280_snd_data 212 struct sdw_stream_runtime *sruntime; local 228 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); 229 if (sruntime != ERR_PTR(-ENOTSUPP)) 230 pdata->sruntime[cpu_dai->id] = sruntime; 243 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; local 246 if (!sruntime) 250 sdw_disable_stream(sruntime); 293 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; local [all...] |
H A D | sdm845.c | 42 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member in struct:sdm845_snd_data 66 struct sdw_stream_runtime *sruntime; local 71 sruntime = snd_soc_dai_get_stream(codec_dai, 73 if (sruntime != ERR_PTR(-ENOTSUPP)) 74 pdata->sruntime[cpu_dai->id] = sruntime; 473 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; local 476 if (!sruntime) 480 sdw_disable_stream(sruntime); 512 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; local [all...] |
/linux-master/drivers/soundwire/ |
H A D | qcom.c | 207 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member in struct:qcom_swrm_ctrl 1220 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; local 1223 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, 1226 qcom_swrm_stream_free_ports(ctrl, sruntime); 1235 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; local 1237 qcom_swrm_stream_free_ports(ctrl, sruntime); 1238 sdw_stream_remove_master(&ctrl->bus, sruntime); 1248 ctrl->sruntime[da [all...] |
/linux-master/sound/soc/codecs/ |
H A D | wsa881x.c | 675 struct sdw_stream_runtime *sruntime; member in struct:wsa881x_priv 998 wsa881x->sruntime); 1006 sdw_stream_remove_slave(wsa881x->slave, wsa881x->sruntime); 1016 wsa881x->sruntime = stream;
|
H A D | wcd938x-sdw.c | 137 wcd->sruntime); 145 sdw_stream_remove_slave(wcd->sdev, wcd->sruntime); 155 wcd->sruntime = stream;
|
H A D | wcd939x-sdw.c | 178 wcd->active_ports, wcd->sruntime); 186 sdw_stream_remove_slave(wcd->sdev, wcd->sruntime); 196 wcd->sruntime = stream;
|
H A D | wsa883x.c | 437 struct sdw_stream_runtime *sruntime; member in struct:wsa883x_priv 1296 wsa883x->sruntime); 1304 sdw_stream_remove_slave(wsa883x->slave, wsa883x->sruntime); 1314 wsa883x->sruntime = stream;
|
H A D | wcd938x.h | 657 struct sdw_stream_runtime *sruntime; member in struct:wcd938x_sdw_priv
|
H A D | wsa884x.c | 700 struct sdw_stream_runtime *sruntime; member in struct:wsa884x_priv 1733 wsa884x->sruntime); 1741 sdw_stream_remove_slave(wsa884x->slave, wsa884x->sruntime); 1775 wsa884x->sruntime = stream;
|
H A D | wcd9335.c | 292 struct slim_stream_runtime *sruntime; member in struct:wcd_slim_codec_dai_data 1778 dai_data->sruntime = slim_stream_allocate(wcd->slim, "WCD9335-SLIM"); 1969 slim_stream_prepare(dai_data->sruntime, cfg); 1970 slim_stream_enable(dai_data->sruntime); 1975 slim_stream_disable(dai_data->sruntime); 1976 slim_stream_unprepare(dai_data->sruntime);
|
H A D | wcd934x.c | 514 struct slim_stream_runtime *sruntime; member in struct:wcd_slim_codec_dai_data 1781 dai_data->sruntime = slim_stream_allocate(wcd->sdev, "WCD934x-SLIM"); 1909 slim_stream_prepare(dai_data->sruntime, cfg); 1910 slim_stream_enable(dai_data->sruntime); 1915 slim_stream_disable(dai_data->sruntime); 1916 slim_stream_unprepare(dai_data->sruntime);
|
H A D | wcd939x.h | 921 struct sdw_stream_runtime *sruntime; member in struct:wcd939x_sdw_priv
|