Home
last modified time | relevance | path

Searched refs:sruntime (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/sound/soc/qcom/
Dsdw.c26 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_startup() local
30 sruntime = sdw_alloc_stream(cpu_dai->name); in qcom_snd_sdw_startup()
31 if (!sruntime) in qcom_snd_sdw_startup()
35 ret = snd_soc_dai_set_stream(codec_dai, sruntime, in qcom_snd_sdw_startup()
47 sdw_release_stream(sruntime); in qcom_snd_sdw_startup()
54 struct sdw_stream_runtime *sruntime, in qcom_snd_sdw_prepare() argument
61 if (!sruntime) in qcom_snd_sdw_prepare()
81 ret = sdw_prepare_stream(sruntime); in qcom_snd_sdw_prepare()
93 ret = sdw_enable_stream(sruntime); in qcom_snd_sdw_prepare()
95 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare()
[all …]
Dsc7280.c34 struct sdw_stream_runtime *sruntime[LPASS_MAX_PORTS]; member
213 struct sdw_stream_runtime *sruntime; in sc7280_snd_hw_params() local
229 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in sc7280_snd_hw_params()
230 if (sruntime != ERR_PTR(-ENOTSUPP)) in sc7280_snd_hw_params()
231 pdata->sruntime[cpu_dai->id] = sruntime; in sc7280_snd_hw_params()
244 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_swr_prepare() local
247 if (!sruntime) in sc7280_snd_swr_prepare()
251 sdw_disable_stream(sruntime); in sc7280_snd_swr_prepare()
252 sdw_deprepare_stream(sruntime); in sc7280_snd_swr_prepare()
256 ret = sdw_prepare_stream(sruntime); in sc7280_snd_swr_prepare()
[all …]
Dsm8250.c23 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
86 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm2450_snd_shutdown() local
88 data->sruntime[cpu_dai->id] = NULL; in sm2450_snd_shutdown()
89 sdw_release_stream(sruntime); in sm2450_snd_shutdown()
99 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sm8250_snd_hw_params()
107 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_prepare() local
109 return qcom_snd_sdw_prepare(substream, sruntime, in sm8250_snd_prepare()
118 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_hw_free() local
120 return qcom_snd_sdw_hw_free(substream, sruntime, in sm8250_snd_hw_free()
Dsc8280xp.c20 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
71 struct sdw_stream_runtime *sruntime = pdata->sruntime[cpu_dai->id]; in sc8280xp_snd_shutdown() local
73 pdata->sruntime[cpu_dai->id] = NULL; in sc8280xp_snd_shutdown()
74 sdw_release_stream(sruntime); in sc8280xp_snd_shutdown()
111 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sc8280xp_snd_hw_params()
119 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_prepare() local
121 return qcom_snd_sdw_prepare(substream, sruntime, in sc8280xp_snd_prepare()
130 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_hw_free() local
132 return qcom_snd_sdw_hw_free(substream, sruntime, in sc8280xp_snd_hw_free()
Dx1e80100.c21 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
58 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in x1e80100_snd_shutdown() local
60 data->sruntime[cpu_dai->id] = NULL; in x1e80100_snd_shutdown()
61 sdw_release_stream(sruntime); in x1e80100_snd_shutdown()
95 return qcom_snd_sdw_hw_params(substream, params, &data->sruntime[cpu_dai->id]); in x1e80100_snd_hw_params()
103 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in x1e80100_snd_prepare() local
122 return qcom_snd_sdw_prepare(substream, sruntime, in x1e80100_snd_prepare()
131 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in x1e80100_snd_hw_free() local
133 return qcom_snd_sdw_hw_free(substream, sruntime, in x1e80100_snd_hw_free()
Dsdm845.c43 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
67 struct sdw_stream_runtime *sruntime; in sdm845_slim_snd_hw_params() local
72 sruntime = snd_soc_dai_get_stream(codec_dai, in sdm845_slim_snd_hw_params()
74 if (sruntime != ERR_PTR(-ENOTSUPP)) in sdm845_slim_snd_hw_params()
75 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params()
429 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_shutdown() local
469 data->sruntime[cpu_dai->id] = NULL; in sdm845_snd_shutdown()
470 sdw_release_stream(sruntime); in sdm845_snd_shutdown()
478 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_prepare() local
481 if (!sruntime) in sdm845_snd_prepare()
[all …]
Dsdw.h17 struct sdw_stream_runtime *sruntime,
/linux-6.12.1/drivers/soundwire/
Dqcom.c206 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member
1233 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local
1236 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params()
1239 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params()
1248 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local
1250 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free()
1251 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free()
1261 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream()
1270 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream()
/linux-6.12.1/sound/soc/codecs/
Dwsa881x.c677 struct sdw_stream_runtime *sruntime; member
998 wsa881x->sruntime); in wsa881x_hw_params()
1006 sdw_stream_remove_slave(wsa881x->slave, wsa881x->sruntime); in wsa881x_hw_free()
1016 wsa881x->sruntime = stream; in wsa881x_set_sdw_stream()
Dwcd938x-sdw.c137 wcd->sruntime); in wcd938x_sdw_hw_params()
145 sdw_stream_remove_slave(wcd->sdev, wcd->sruntime); in wcd938x_sdw_free()
155 wcd->sruntime = stream; in wcd938x_sdw_set_sdw_stream()
Dwsa883x.c436 struct sdw_stream_runtime *sruntime; member
1300 wsa883x->sruntime); in wsa883x_hw_params()
1308 sdw_stream_remove_slave(wsa883x->slave, wsa883x->sruntime); in wsa883x_hw_free()
1318 wsa883x->sruntime = stream; in wsa883x_set_sdw_stream()
Dwcd939x-sdw.c178 wcd->active_ports, wcd->sruntime); in wcd939x_sdw_hw_params()
186 sdw_stream_remove_slave(wcd->sdev, wcd->sruntime); in wcd939x_sdw_free()
196 wcd->sruntime = stream; in wcd939x_sdw_set_sdw_stream()
Dwsa884x.c734 struct sdw_stream_runtime *sruntime; member
1791 wsa884x->sruntime); in wsa884x_hw_params()
1799 sdw_stream_remove_slave(wsa884x->slave, wsa884x->sruntime); in wsa884x_hw_free()
1833 wsa884x->sruntime = stream; in wsa884x_set_stream()
Dwcd937x.h525 struct sdw_stream_runtime *sruntime; member
Dwcd938x.h650 struct sdw_stream_runtime *sruntime; member
Dwcd9335.c293 struct slim_stream_runtime *sruntime; member
1774 dai_data->sruntime = slim_stream_allocate(wcd->slim, "WCD9335-SLIM"); in wcd9335_slim_set_hw_params()
1965 slim_stream_prepare(dai_data->sruntime, cfg); in wcd9335_trigger()
1966 slim_stream_enable(dai_data->sruntime); in wcd9335_trigger()
1971 slim_stream_disable(dai_data->sruntime); in wcd9335_trigger()
1972 slim_stream_unprepare(dai_data->sruntime); in wcd9335_trigger()
Dwcd934x.c510 struct slim_stream_runtime *sruntime; member
1774 dai_data->sruntime = slim_stream_allocate(wcd->sdev, "WCD934x-SLIM"); in wcd934x_slim_set_hw_params()
1902 slim_stream_prepare(dai_data->sruntime, cfg); in wcd934x_trigger()
1903 slim_stream_enable(dai_data->sruntime); in wcd934x_trigger()
1908 slim_stream_disable(dai_data->sruntime); in wcd934x_trigger()
1909 slim_stream_unprepare(dai_data->sruntime); in wcd934x_trigger()
Dwcd939x.h910 struct sdw_stream_runtime *sruntime; member
Dwcd937x-sdw.c117 wcd->sruntime); in wcd937x_sdw_hw_params()
Dwcd937x.c2679 return sdw_stream_remove_slave(wcd->sdev, wcd->sruntime); in wcd937x_codec_free()
2688 wcd->sruntime = stream; in wcd937x_codec_set_sdw_stream()