Home
last modified time | relevance | path

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

/linux/sound/soc/qcom/
A Dsm8250.c142 pdata->sruntime[cpu_dai->id] = sruntime; in sm8250_snd_hw_params()
156 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_wsa_dma_prepare() local
159 if (!sruntime) in sm8250_snd_wsa_dma_prepare()
163 sdw_disable_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
164 sdw_deprepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
168 ret = sdw_prepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
180 ret = sdw_enable_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
182 sdw_deprepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
217 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_hw_free() local
229 sdw_disable_stream(sruntime); in sm8250_snd_hw_free()
[all …]
A Dsdm845.c54 struct sdw_stream_runtime *sruntime; in sdm845_slim_snd_hw_params() local
61 if (sruntime != ERR_PTR(-ENOTSUPP)) in sdm845_slim_snd_hw_params()
62 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params()
452 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_prepare() local
455 if (!sruntime) in sdm845_snd_prepare()
459 sdw_disable_stream(sruntime); in sdm845_snd_prepare()
460 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare()
478 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare()
491 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_hw_free() local
494 sdw_disable_stream(sruntime); in sdm845_snd_hw_free()
[all …]
/linux/drivers/soundwire/
A Dqcom.c971 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local
986 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local
988 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free()
999 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream()
1008 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream()
1016 struct sdw_stream_runtime *sruntime; in qcom_swrm_startup() local
1020 sruntime = sdw_alloc_stream(dai->name); in qcom_swrm_startup()
1021 if (!sruntime) in qcom_swrm_startup()
1024 ctrl->sruntime[dai->id] = sruntime; in qcom_swrm_startup()
1032 sdw_release_stream(sruntime); in qcom_swrm_startup()
[all …]
/linux/sound/soc/codecs/
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()
A Dwsa881x.c677 struct sdw_stream_runtime *sruntime; member
988 wsa881x->sruntime); in wsa881x_hw_params()
996 sdw_stream_remove_slave(wsa881x->slave, wsa881x->sruntime); in wsa881x_hw_free()
1006 wsa881x->sruntime = stream; in wsa881x_set_sdw_stream()
A Dwcd938x.h657 struct sdw_stream_runtime *sruntime; member
A Dwcd9335.c301 struct slim_stream_runtime *sruntime; member
1775 dai_data->sruntime = slim_stream_allocate(wcd->slim, "WCD9335-SLIM"); in wcd9335_slim_set_hw_params()
1968 slim_stream_prepare(dai_data->sruntime, cfg); in wcd9335_trigger()
1969 slim_stream_enable(dai_data->sruntime); in wcd9335_trigger()
1974 slim_stream_unprepare(dai_data->sruntime); in wcd9335_trigger()
1975 slim_stream_disable(dai_data->sruntime); in wcd9335_trigger()
A Dwcd934x.c515 struct slim_stream_runtime *sruntime; member
1806 dai_data->sruntime = slim_stream_allocate(wcd->sdev, "WCD934x-SLIM"); in wcd934x_slim_set_hw_params()
1934 slim_stream_prepare(dai_data->sruntime, cfg); in wcd934x_trigger()
1935 slim_stream_enable(dai_data->sruntime); in wcd934x_trigger()
1940 slim_stream_unprepare(dai_data->sruntime); in wcd934x_trigger()
1941 slim_stream_disable(dai_data->sruntime); in wcd934x_trigger()

Completed in 47 milliseconds