Searched refs:sruntime (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.10/sound/soc/qcom/ |
| D | sdm845.c | 41 struct sdw_stream_runtime *sruntime[SLIM_MAX_RX_PORTS]; 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 …]
|
| /Linux-v5.10/drivers/soundwire/ |
| D | qcom.c | 107 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 …]
|
| /Linux-v5.10/sound/soc/codecs/ |
| D | wsa881x.c | 676 struct sdw_stream_runtime *sruntime; member 979 wsa881x->sruntime); in wsa881x_hw_params() 987 sdw_stream_remove_slave(wsa881x->slave, wsa881x->sruntime); in wsa881x_hw_free() 997 wsa881x->sruntime = stream; in wsa881x_set_sdw_stream()
|
| D | wcd934x.c | 492 struct slim_stream_runtime *sruntime; member 1722 dai_data->sruntime = slim_stream_allocate(wcd->sdev, "WCD934x-SLIM"); in wcd934x_slim_set_hw_params() 1851 slim_stream_prepare(dai_data->sruntime, cfg); in wcd934x_trigger() 1852 slim_stream_enable(dai_data->sruntime); in wcd934x_trigger() 1857 slim_stream_unprepare(dai_data->sruntime); in wcd934x_trigger() 1858 slim_stream_disable(dai_data->sruntime); in wcd934x_trigger()
|
| D | wcd9335.c | 301 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()
|