Home
last modified time | relevance | path

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

/Linux-v5.15/sound/soc/qcom/
Dsm8250.c20 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
67 struct sdw_stream_runtime *sruntime; in sm8250_snd_hw_params() local
73 sruntime = snd_soc_dai_get_sdw_stream(codec_dai, in sm8250_snd_hw_params()
75 if (sruntime != ERR_PTR(-ENOTSUPP)) in sm8250_snd_hw_params()
76 pdata->sruntime[cpu_dai->id] = sruntime; in sm8250_snd_hw_params()
90 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_wsa_dma_prepare() local
93 if (!sruntime) in sm8250_snd_wsa_dma_prepare()
97 sdw_disable_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
98 sdw_deprepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
102 ret = sdw_prepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
[all …]
Dsdm845.c41 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
54 struct sdw_stream_runtime *sruntime; in sdm845_slim_snd_hw_params() local
59 sruntime = snd_soc_dai_get_sdw_stream(codec_dai, in sdm845_slim_snd_hw_params()
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()
464 ret = sdw_prepare_stream(sruntime); in sdm845_snd_prepare()
[all …]
/Linux-v5.15/drivers/soundwire/
Dqcom.c150 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member
966 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local
969 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params()
972 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params()
981 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local
983 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free()
984 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free()
994 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream()
1003 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream()
1011 struct sdw_stream_runtime *sruntime; in qcom_swrm_startup() local
[all …]
/Linux-v5.15/sound/soc/codecs/
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()
Dwsa881x.c677 struct sdw_stream_runtime *sruntime; member
980 wsa881x->sruntime); in wsa881x_hw_params()
988 sdw_stream_remove_slave(wsa881x->slave, wsa881x->sruntime); in wsa881x_hw_free()
998 wsa881x->sruntime = stream; in wsa881x_set_sdw_stream()
Dwcd938x.h657 struct sdw_stream_runtime *sruntime; member
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()
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()
1935 slim_stream_prepare(dai_data->sruntime, cfg); in wcd934x_trigger()
1936 slim_stream_enable(dai_data->sruntime); in wcd934x_trigger()
1941 slim_stream_unprepare(dai_data->sruntime); in wcd934x_trigger()
1942 slim_stream_disable(dai_data->sruntime); in wcd934x_trigger()