/linux-6.1.9/sound/soc/qcom/ |
D | sdw.c | 11 struct sdw_stream_runtime *sruntime, in qcom_snd_sdw_prepare() argument 18 if (!sruntime) in qcom_snd_sdw_prepare() 36 sdw_disable_stream(sruntime); in qcom_snd_sdw_prepare() 37 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare() 41 ret = sdw_prepare_stream(sruntime); in qcom_snd_sdw_prepare() 53 ret = sdw_enable_stream(sruntime); in qcom_snd_sdw_prepare() 55 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare() 71 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_hw_params() local 83 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in qcom_snd_sdw_hw_params() 84 if (sruntime != ERR_PTR(-ENOTSUPP)) in qcom_snd_sdw_hw_params() [all …]
|
D | sc7280.c | 30 struct sdw_stream_runtime *sruntime[LPASS_MAX_PORTS]; member 196 struct sdw_stream_runtime *sruntime; in sc7280_snd_hw_params() local 210 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in sc7280_snd_hw_params() 211 if (sruntime != ERR_PTR(-ENOTSUPP)) in sc7280_snd_hw_params() 212 pdata->sruntime[cpu_dai->id] = sruntime; in sc7280_snd_hw_params() 225 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_swr_prepare() local 228 if (!sruntime) in sc7280_snd_swr_prepare() 232 sdw_disable_stream(sruntime); in sc7280_snd_swr_prepare() 233 sdw_deprepare_stream(sruntime); in sc7280_snd_swr_prepare() 237 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 …]
|
D | sc8280xp.c | 22 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member 68 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sc8280xp_snd_hw_params() 76 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_prepare() local 78 return qcom_snd_sdw_prepare(substream, sruntime, in sc8280xp_snd_prepare() 87 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_hw_free() local 89 return qcom_snd_sdw_hw_free(substream, sruntime, in sc8280xp_snd_hw_free()
|
D | sm8250.c | 23 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member 79 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sm8250_snd_hw_params() 87 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_prepare() local 89 return qcom_snd_sdw_prepare(substream, sruntime, in sm8250_snd_prepare() 98 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_hw_free() local 100 return qcom_snd_sdw_hw_free(substream, sruntime, in sm8250_snd_hw_free()
|
D | sdw.h | 16 struct sdw_stream_runtime *sruntime,
|
/linux-6.1.9/drivers/soundwire/ |
D | qcom.c | 171 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member 1035 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local 1038 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params() 1041 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params() 1050 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local 1052 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free() 1053 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free() 1063 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream() 1072 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream() 1080 struct sdw_stream_runtime *sruntime; in qcom_swrm_startup() local [all …]
|
/linux-6.1.9/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 997 wsa881x->sruntime); in wsa881x_hw_params() 1005 sdw_stream_remove_slave(wsa881x->slave, wsa881x->sruntime); in wsa881x_hw_free() 1015 wsa881x->sruntime = stream; in wsa881x_set_sdw_stream()
|
D | wsa883x.c | 441 struct sdw_stream_runtime *sruntime; member 1303 wsa883x->sruntime); in wsa883x_hw_params() 1311 sdw_stream_remove_slave(wsa883x->slave, wsa883x->sruntime); in wsa883x_hw_free() 1321 wsa883x->sruntime = stream; in wsa883x_set_sdw_stream()
|
D | wcd938x.h | 657 struct sdw_stream_runtime *sruntime; member
|
D | wcd9335.c | 292 struct slim_stream_runtime *sruntime; member 1778 dai_data->sruntime = slim_stream_allocate(wcd->slim, "WCD9335-SLIM"); in wcd9335_slim_set_hw_params() 1969 slim_stream_prepare(dai_data->sruntime, cfg); in wcd9335_trigger() 1970 slim_stream_enable(dai_data->sruntime); in wcd9335_trigger() 1975 slim_stream_disable(dai_data->sruntime); in wcd9335_trigger() 1976 slim_stream_unprepare(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_disable(dai_data->sruntime); in wcd934x_trigger() 1917 slim_stream_unprepare(dai_data->sruntime); in wcd934x_trigger()
|