Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/sound/soc/qcom/
H A 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()
444 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_prepare() local
447 if (!sruntime) in sdm845_snd_prepare()
451 sdw_disable_stream(sruntime); in sdm845_snd_prepare()
452 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare()
456 ret = sdw_prepare_stream(sruntime); in sdm845_snd_prepare()
[all …]
/OK3568_Linux_fs/kernel/drivers/soundwire/
H A Dqcom.c107 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member
596 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local
599 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params()
602 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params()
611 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local
613 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free()
614 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free()
624 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream()
633 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream()
641 struct sdw_stream_runtime *sruntime; in qcom_swrm_startup() local
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H 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()
H 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_disable(dai_data->sruntime); in wcd9335_trigger()
1975 slim_stream_unprepare(dai_data->sruntime); in wcd9335_trigger()
H A Dwcd934x.c492 struct slim_stream_runtime *sruntime; member
1698 dai_data->sruntime = slim_stream_allocate(wcd->sdev, "WCD934x-SLIM"); in wcd934x_slim_set_hw_params()
1826 slim_stream_prepare(dai_data->sruntime, cfg); in wcd934x_trigger()
1827 slim_stream_enable(dai_data->sruntime); in wcd934x_trigger()
1832 slim_stream_disable(dai_data->sruntime); in wcd934x_trigger()
1833 slim_stream_unprepare(dai_data->sruntime); in wcd934x_trigger()