Searched refs:sruntime (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/sound/soc/qcom/ |
D | sm8250.c | 22 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member 127 struct sdw_stream_runtime *sruntime; in sm8250_snd_hw_params() local 139 sruntime = snd_soc_dai_get_stream(codec_dai, in sm8250_snd_hw_params() 141 if (sruntime != ERR_PTR(-ENOTSUPP)) in sm8250_snd_hw_params() 142 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() [all …]
|
D | sc7280.c | 28 struct sdw_stream_runtime *sruntime[LPASS_MAX_PORTS]; member 189 struct sdw_stream_runtime *sruntime; in sc7280_snd_hw_params() local 199 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in sc7280_snd_hw_params() 200 if (sruntime != ERR_PTR(-ENOTSUPP)) in sc7280_snd_hw_params() 201 pdata->sruntime[cpu_dai->id] = sruntime; in sc7280_snd_hw_params() 214 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_swr_prepare() local 217 if (!sruntime) in sc7280_snd_swr_prepare() 221 sdw_disable_stream(sruntime); in sc7280_snd_swr_prepare() 222 sdw_deprepare_stream(sruntime); in sc7280_snd_swr_prepare() 226 ret = sdw_prepare_stream(sruntime); in sc7280_snd_swr_prepare() [all …]
|
D | sdm845.c | 42 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member 55 struct sdw_stream_runtime *sruntime; in sdm845_slim_snd_hw_params() local 60 sruntime = snd_soc_dai_get_stream(codec_dai, in sdm845_slim_snd_hw_params() 62 if (sruntime != ERR_PTR(-ENOTSUPP)) in sdm845_slim_snd_hw_params() 63 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params() 460 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_prepare() local 463 if (!sruntime) in sdm845_snd_prepare() 467 sdw_disable_stream(sruntime); in sdm845_snd_prepare() 468 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare() 472 ret = sdw_prepare_stream(sruntime); in sdm845_snd_prepare() [all …]
|
/linux-5.19.10/drivers/soundwire/ |
D | qcom.c | 169 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member 1016 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local 1019 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params() 1022 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params() 1031 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local 1033 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free() 1034 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free() 1044 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream() 1053 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream() 1061 struct sdw_stream_runtime *sruntime; in qcom_swrm_startup() local [all …]
|
/linux-5.19.10/sound/soc/codecs/ |
D | wcd938x-sdw.c | 137 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()
|
D | wsa881x.c | 679 struct sdw_stream_runtime *sruntime; member 999 wsa881x->sruntime); in wsa881x_hw_params() 1007 sdw_stream_remove_slave(wsa881x->slave, wsa881x->sruntime); in wsa881x_hw_free() 1017 wsa881x->sruntime = stream; in wsa881x_set_sdw_stream()
|
D | wcd938x.h | 657 struct sdw_stream_runtime *sruntime; member
|
D | wcd9335.c | 301 struct slim_stream_runtime *sruntime; member 1787 dai_data->sruntime = slim_stream_allocate(wcd->slim, "WCD9335-SLIM"); in wcd9335_slim_set_hw_params() 1980 slim_stream_prepare(dai_data->sruntime, cfg); in wcd9335_trigger() 1981 slim_stream_enable(dai_data->sruntime); in wcd9335_trigger() 1986 slim_stream_unprepare(dai_data->sruntime); in wcd9335_trigger() 1987 slim_stream_disable(dai_data->sruntime); in wcd9335_trigger()
|
D | wcd934x.c | 515 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_unprepare(dai_data->sruntime); in wcd934x_trigger() 1917 slim_stream_disable(dai_data->sruntime); in wcd934x_trigger()
|