Home
last modified time | relevance | path

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

/linux-6.15/sound/soc/qcom/
H A Dsdw.c27 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_startup() local
33 if (!sruntime) in qcom_snd_sdw_startup()
75 sdw_release_stream(sruntime); in qcom_snd_sdw_startup()
89 if (!sruntime) in qcom_snd_sdw_prepare()
109 ret = sdw_prepare_stream(sruntime); in qcom_snd_sdw_prepare()
121 ret = sdw_enable_stream(sruntime); in qcom_snd_sdw_prepare()
123 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare()
139 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_hw_params() local
153 *psruntime = sruntime; in qcom_snd_sdw_hw_params()
179 sdw_disable_stream(sruntime); in qcom_snd_sdw_hw_free()
[all …]
H A Dsc7280.c231 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()
262 sdw_deprepare_stream(sruntime); in sc7280_snd_swr_prepare()
294 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_hw_free() local
303 sdw_disable_stream(sruntime); in sc7280_snd_hw_free()
304 sdw_deprepare_stream(sruntime); in sc7280_snd_hw_free()
320 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_shutdown() local
[all …]
H A 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()
H A Dsm8250.c24 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
97 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_shutdown() local
99 data->sruntime[cpu_dai->id] = NULL; in sm8250_snd_shutdown()
100 sdw_release_stream(sruntime); in sm8250_snd_shutdown()
110 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sm8250_snd_hw_params()
118 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_prepare() local
120 return qcom_snd_sdw_prepare(substream, sruntime, in sm8250_snd_prepare()
129 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_hw_free() local
131 return qcom_snd_sdw_hw_free(substream, sruntime, in sm8250_snd_hw_free()
H A Dsdm845.c75 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
471 sdw_release_stream(sruntime); in sdm845_snd_shutdown()
479 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_prepare() local
482 if (!sruntime) in sdm845_snd_prepare()
486 sdw_disable_stream(sruntime); in sdm845_snd_prepare()
487 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare()
505 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare()
518 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_hw_free() local
521 sdw_disable_stream(sruntime); in sdm845_snd_hw_free()
[all …]
H A 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()
131 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in x1e80100_snd_prepare() local
152 return qcom_snd_sdw_prepare(substream, sruntime, in x1e80100_snd_prepare()
161 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in x1e80100_snd_hw_free() local
163 return qcom_snd_sdw_hw_free(substream, sruntime, in x1e80100_snd_hw_free()
H A Dsdw.h17 struct sdw_stream_runtime *sruntime,
/linux-6.15/drivers/soundwire/
H A Dqcom.c207 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member
1238 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local
1241 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params()
1244 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params()
1253 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local
1255 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free()
1256 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free()
1266 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream()
1275 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream()
/linux-6.15/sound/soc/codecs/
H A Dwsa881x.c672 struct sdw_stream_runtime *sruntime; member
993 wsa881x->sruntime); in wsa881x_hw_params()
1001 sdw_stream_remove_slave(wsa881x->slave, wsa881x->sruntime); in wsa881x_hw_free()
1011 wsa881x->sruntime = stream; in wsa881x_set_sdw_stream()
H A 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()
H A 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()
H A Dwsa883x.c468 struct sdw_stream_runtime *sruntime; member
1346 wsa883x->sruntime); in wsa883x_hw_params()
1354 sdw_stream_remove_slave(wsa883x->slave, wsa883x->sruntime); in wsa883x_hw_free()
1364 wsa883x->sruntime = stream; in wsa883x_set_sdw_stream()
H A 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()
H A Dwcd937x.h528 struct sdw_stream_runtime *sruntime; member
H A Dwcd938x.h650 struct sdw_stream_runtime *sruntime; member
H A Dwcd9335.c295 struct slim_stream_runtime *sruntime; member
1776 dai_data->sruntime = slim_stream_allocate(wcd->slim, "WCD9335-SLIM"); in wcd9335_slim_set_hw_params()
1967 slim_stream_prepare(dai_data->sruntime, cfg); in wcd9335_trigger()
1968 slim_stream_enable(dai_data->sruntime); in wcd9335_trigger()
1973 slim_stream_disable(dai_data->sruntime); in wcd9335_trigger()
1974 slim_stream_unprepare(dai_data->sruntime); in wcd9335_trigger()
H A Dwcd939x.h910 struct sdw_stream_runtime *sruntime; member
H A Dwcd934x.c500 struct slim_stream_runtime *sruntime; member
1764 dai_data->sruntime = slim_stream_allocate(wcd->sdev, "WCD934x-SLIM"); in wcd934x_slim_set_hw_params()
1892 slim_stream_prepare(dai_data->sruntime, cfg); in wcd934x_trigger()
1893 slim_stream_enable(dai_data->sruntime); in wcd934x_trigger()
1898 slim_stream_disable(dai_data->sruntime); in wcd934x_trigger()
1899 slim_stream_unprepare(dai_data->sruntime); in wcd934x_trigger()
H A Dwcd937x-sdw.c117 wcd->sruntime); in wcd937x_sdw_hw_params()
H A Dwcd937x.c2688 return sdw_stream_remove_slave(wcd->sdev, wcd->sruntime); in wcd937x_codec_free()
2697 wcd->sruntime = stream; in wcd937x_codec_set_sdw_stream()