| /linux-6.15/sound/soc/qcom/ |
| H A D | sdw.c | 27 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_startup() local 33 if (!sruntime) in qcom_snd_sdw_startup() 75 sdw_release_stream(sruntime); in qcom_snd_sdw_startup() 89 if (!sruntime) in qcom_snd_sdw_prepare() 109 ret = sdw_prepare_stream(sruntime); in qcom_snd_sdw_prepare() 121 ret = sdw_enable_stream(sruntime); in qcom_snd_sdw_prepare() 123 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare() 139 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_hw_params() local 153 *psruntime = sruntime; in qcom_snd_sdw_hw_params() 179 sdw_disable_stream(sruntime); in qcom_snd_sdw_hw_free() [all …]
|
| H A D | sc7280.c | 231 pdata->sruntime[cpu_dai->id] = sruntime; in sc7280_snd_hw_params() 244 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_swr_prepare() local 247 if (!sruntime) in sc7280_snd_swr_prepare() 251 sdw_disable_stream(sruntime); in sc7280_snd_swr_prepare() 252 sdw_deprepare_stream(sruntime); in sc7280_snd_swr_prepare() 262 sdw_deprepare_stream(sruntime); in sc7280_snd_swr_prepare() 294 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_hw_free() local 303 sdw_disable_stream(sruntime); in sc7280_snd_hw_free() 304 sdw_deprepare_stream(sruntime); in sc7280_snd_hw_free() 320 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_shutdown() local [all …]
|
| H A D | sc8280xp.c | 20 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member 71 struct sdw_stream_runtime *sruntime = pdata->sruntime[cpu_dai->id]; in sc8280xp_snd_shutdown() local 73 pdata->sruntime[cpu_dai->id] = NULL; in sc8280xp_snd_shutdown() 74 sdw_release_stream(sruntime); in sc8280xp_snd_shutdown() 111 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sc8280xp_snd_hw_params() 119 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_prepare() local 121 return qcom_snd_sdw_prepare(substream, sruntime, in sc8280xp_snd_prepare() 130 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_hw_free() local 132 return qcom_snd_sdw_hw_free(substream, sruntime, in sc8280xp_snd_hw_free()
|
| H A D | sm8250.c | 24 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member 97 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_shutdown() local 99 data->sruntime[cpu_dai->id] = NULL; in sm8250_snd_shutdown() 100 sdw_release_stream(sruntime); in sm8250_snd_shutdown() 110 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sm8250_snd_hw_params() 118 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_prepare() local 120 return qcom_snd_sdw_prepare(substream, sruntime, in sm8250_snd_prepare() 129 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_hw_free() local 131 return qcom_snd_sdw_hw_free(substream, sruntime, in sm8250_snd_hw_free()
|
| H A D | sdm845.c | 75 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params() 429 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_shutdown() local 471 sdw_release_stream(sruntime); in sdm845_snd_shutdown() 479 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_prepare() local 482 if (!sruntime) in sdm845_snd_prepare() 486 sdw_disable_stream(sruntime); in sdm845_snd_prepare() 487 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare() 505 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare() 518 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_hw_free() local 521 sdw_disable_stream(sruntime); in sdm845_snd_hw_free() [all …]
|
| H A D | x1e80100.c | 21 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member 58 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in x1e80100_snd_shutdown() local 60 data->sruntime[cpu_dai->id] = NULL; in x1e80100_snd_shutdown() 61 sdw_release_stream(sruntime); in x1e80100_snd_shutdown() 95 return qcom_snd_sdw_hw_params(substream, params, &data->sruntime[cpu_dai->id]); in x1e80100_snd_hw_params() 131 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in x1e80100_snd_prepare() local 152 return qcom_snd_sdw_prepare(substream, sruntime, in x1e80100_snd_prepare() 161 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in x1e80100_snd_hw_free() local 163 return qcom_snd_sdw_hw_free(substream, sruntime, in x1e80100_snd_hw_free()
|
| H A D | sdw.h | 17 struct sdw_stream_runtime *sruntime,
|
| /linux-6.15/drivers/soundwire/ |
| H A D | qcom.c | 207 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member 1238 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local 1241 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params() 1244 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params() 1253 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local 1255 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free() 1256 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free() 1266 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream() 1275 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream()
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | wsa881x.c | 672 struct sdw_stream_runtime *sruntime; member 993 wsa881x->sruntime); in wsa881x_hw_params() 1001 sdw_stream_remove_slave(wsa881x->slave, wsa881x->sruntime); in wsa881x_hw_free() 1011 wsa881x->sruntime = stream; in wsa881x_set_sdw_stream()
|
| H A 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()
|
| H A D | wcd939x-sdw.c | 178 wcd->active_ports, wcd->sruntime); in wcd939x_sdw_hw_params() 186 sdw_stream_remove_slave(wcd->sdev, wcd->sruntime); in wcd939x_sdw_free() 196 wcd->sruntime = stream; in wcd939x_sdw_set_sdw_stream()
|
| H A D | wsa883x.c | 468 struct sdw_stream_runtime *sruntime; member 1346 wsa883x->sruntime); in wsa883x_hw_params() 1354 sdw_stream_remove_slave(wsa883x->slave, wsa883x->sruntime); in wsa883x_hw_free() 1364 wsa883x->sruntime = stream; in wsa883x_set_sdw_stream()
|
| H A D | wsa884x.c | 734 struct sdw_stream_runtime *sruntime; member 1791 wsa884x->sruntime); in wsa884x_hw_params() 1799 sdw_stream_remove_slave(wsa884x->slave, wsa884x->sruntime); in wsa884x_hw_free() 1833 wsa884x->sruntime = stream; in wsa884x_set_stream()
|
| H A D | wcd937x.h | 528 struct sdw_stream_runtime *sruntime; member
|
| H A D | wcd938x.h | 650 struct sdw_stream_runtime *sruntime; member
|
| H A D | wcd9335.c | 295 struct slim_stream_runtime *sruntime; member 1776 dai_data->sruntime = slim_stream_allocate(wcd->slim, "WCD9335-SLIM"); in wcd9335_slim_set_hw_params() 1967 slim_stream_prepare(dai_data->sruntime, cfg); in wcd9335_trigger() 1968 slim_stream_enable(dai_data->sruntime); in wcd9335_trigger() 1973 slim_stream_disable(dai_data->sruntime); in wcd9335_trigger() 1974 slim_stream_unprepare(dai_data->sruntime); in wcd9335_trigger()
|
| H A D | wcd939x.h | 910 struct sdw_stream_runtime *sruntime; member
|
| H A D | wcd934x.c | 500 struct slim_stream_runtime *sruntime; member 1764 dai_data->sruntime = slim_stream_allocate(wcd->sdev, "WCD934x-SLIM"); in wcd934x_slim_set_hw_params() 1892 slim_stream_prepare(dai_data->sruntime, cfg); in wcd934x_trigger() 1893 slim_stream_enable(dai_data->sruntime); in wcd934x_trigger() 1898 slim_stream_disable(dai_data->sruntime); in wcd934x_trigger() 1899 slim_stream_unprepare(dai_data->sruntime); in wcd934x_trigger()
|
| H A D | wcd937x-sdw.c | 117 wcd->sruntime); in wcd937x_sdw_hw_params()
|
| H A D | wcd937x.c | 2688 return sdw_stream_remove_slave(wcd->sdev, wcd->sruntime); in wcd937x_codec_free() 2697 wcd->sruntime = stream; in wcd937x_codec_set_sdw_stream()
|