Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/qcom/
H A Dsdw.c11 struct sdw_stream_runtime *sruntime, in qcom_snd_sdw_prepare() argument
18 if (!sruntime) in qcom_snd_sdw_prepare()
38 ret = sdw_prepare_stream(sruntime); in qcom_snd_sdw_prepare()
50 ret = sdw_enable_stream(sruntime); in qcom_snd_sdw_prepare()
52 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare()
68 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_hw_params() local
80 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in qcom_snd_sdw_hw_params()
81 if (sruntime != ERR_PTR(-ENOTSUPP)) in qcom_snd_sdw_hw_params()
82 *psruntime = sruntime; in qcom_snd_sdw_hw_params()
93 struct sdw_stream_runtime *sruntime, bool *stream_prepared) in qcom_snd_sdw_hw_free() argument
[all …]
H A Dsc7280.c31 struct sdw_stream_runtime *sruntime[LPASS_MAX_PORTS]; member
210 struct sdw_stream_runtime *sruntime; in sc7280_snd_hw_params() local
226 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in sc7280_snd_hw_params()
227 if (sruntime != ERR_PTR(-ENOTSUPP)) in sc7280_snd_hw_params()
228 pdata->sruntime[cpu_dai->id] = sruntime; in sc7280_snd_hw_params()
241 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_swr_prepare() local
244 if (!sruntime) in sc7280_snd_swr_prepare()
248 sdw_disable_stream(sruntime); in sc7280_snd_swr_prepare()
249 sdw_deprepare_stream(sruntime); in sc7280_snd_swr_prepare()
253 ret = sdw_prepare_stream(sruntime); in sc7280_snd_swr_prepare()
[all …]
H A Dsdm845.c42 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
66 struct sdw_stream_runtime *sruntime; in sdm845_slim_snd_hw_params() local
71 sruntime = snd_soc_dai_get_stream(codec_dai, in sdm845_slim_snd_hw_params()
73 if (sruntime != ERR_PTR(-ENOTSUPP)) in sdm845_slim_snd_hw_params()
74 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params()
473 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_prepare() local
476 if (!sruntime) in sdm845_snd_prepare()
480 sdw_disable_stream(sruntime); in sdm845_snd_prepare()
481 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare()
485 ret = sdw_prepare_stream(sruntime); in sdm845_snd_prepare()
[all …]
H A Dsc8280xp.c22 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
87 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sc8280xp_snd_hw_params()
95 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_prepare() local
97 return qcom_snd_sdw_prepare(substream, sruntime, in sc8280xp_snd_prepare()
106 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_hw_free() local
108 return qcom_snd_sdw_hw_free(substream, sruntime, in sc8280xp_snd_hw_free()
H A Dsm8250.c23 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
79 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sm8250_snd_hw_params()
87 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_prepare() local
89 return qcom_snd_sdw_prepare(substream, sruntime, in sm8250_snd_prepare()
98 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_hw_free() local
100 return qcom_snd_sdw_hw_free(substream, sruntime, in sm8250_snd_hw_free()
H A Dsdw.h16 struct sdw_stream_runtime *sruntime,
/openbmc/linux/drivers/soundwire/
H A Dqcom.c206 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member
1212 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local
1215 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params()
1218 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params()
1227 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local
1229 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free()
1230 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free()
1240 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream()
1249 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream()
1257 struct sdw_stream_runtime *sruntime; in qcom_swrm_startup() local
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dwsa881x.c675 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()
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 Dwsa883x.c437 struct sdw_stream_runtime *sruntime; member
1302 wsa883x->sruntime); in wsa883x_hw_params()
1310 sdw_stream_remove_slave(wsa883x->slave, wsa883x->sruntime); in wsa883x_hw_free()
1320 wsa883x->sruntime = stream; in wsa883x_set_sdw_stream()
H A Dwsa884x.c699 struct sdw_stream_runtime *sruntime; member
1737 wsa884x->sruntime); in wsa884x_hw_params()
1745 sdw_stream_remove_slave(wsa884x->slave, wsa884x->sruntime); in wsa884x_hw_free()
1779 wsa884x->sruntime = stream; in wsa884x_set_stream()
H A Dwcd938x.h657 struct sdw_stream_runtime *sruntime; member
H A Dwcd9335.c292 struct slim_stream_runtime *sruntime; member
1778 dai_data->sruntime = slim_stream_allocate(wcd->slim, "WCD9335-SLIM"); in wcd9335_slim_set_hw_params()
1969 slim_stream_prepare(dai_data->sruntime, cfg); in wcd9335_trigger()
1970 slim_stream_enable(dai_data->sruntime); in wcd9335_trigger()
1975 slim_stream_disable(dai_data->sruntime); in wcd9335_trigger()
1976 slim_stream_unprepare(dai_data->sruntime); in wcd9335_trigger()
H A Dwcd934x.c515 struct slim_stream_runtime *sruntime; member
1782 dai_data->sruntime = slim_stream_allocate(wcd->sdev, "WCD934x-SLIM"); in wcd934x_slim_set_hw_params()
1910 slim_stream_prepare(dai_data->sruntime, cfg); in wcd934x_trigger()
1911 slim_stream_enable(dai_data->sruntime); in wcd934x_trigger()
1916 slim_stream_disable(dai_data->sruntime); in wcd934x_trigger()
1917 slim_stream_unprepare(dai_data->sruntime); in wcd934x_trigger()