/openbmc/linux/sound/soc/qcom/ |
H A D | sdw.c | 11 struct sdw_stream_runtime *sruntime, in qcom_snd_sdw_prepare() argument 18 if (!sruntime) in qcom_snd_sdw_prepare() 38 ret = sdw_prepare_stream(sruntime); in qcom_snd_sdw_prepare() 50 ret = sdw_enable_stream(sruntime); in qcom_snd_sdw_prepare() 52 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare() 68 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_hw_params() local 80 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in qcom_snd_sdw_hw_params() 81 if (sruntime != ERR_PTR(-ENOTSUPP)) in qcom_snd_sdw_hw_params() 82 *psruntime = sruntime; in qcom_snd_sdw_hw_params() 93 struct sdw_stream_runtime *sruntime, bool *stream_prepared) in qcom_snd_sdw_hw_free() argument [all …]
|
H A D | sc7280.c | 31 struct sdw_stream_runtime *sruntime[LPASS_MAX_PORTS]; member 210 struct sdw_stream_runtime *sruntime; in sc7280_snd_hw_params() local 226 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in sc7280_snd_hw_params() 227 if (sruntime != ERR_PTR(-ENOTSUPP)) in sc7280_snd_hw_params() 228 pdata->sruntime[cpu_dai->id] = sruntime; in sc7280_snd_hw_params() 241 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_swr_prepare() local 244 if (!sruntime) in sc7280_snd_swr_prepare() 248 sdw_disable_stream(sruntime); in sc7280_snd_swr_prepare() 249 sdw_deprepare_stream(sruntime); in sc7280_snd_swr_prepare() 253 ret = sdw_prepare_stream(sruntime); in sc7280_snd_swr_prepare() [all …]
|
H A D | sdm845.c | 42 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member 66 struct sdw_stream_runtime *sruntime; in sdm845_slim_snd_hw_params() local 71 sruntime = snd_soc_dai_get_stream(codec_dai, in sdm845_slim_snd_hw_params() 73 if (sruntime != ERR_PTR(-ENOTSUPP)) in sdm845_slim_snd_hw_params() 74 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params() 473 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_prepare() local 476 if (!sruntime) in sdm845_snd_prepare() 480 sdw_disable_stream(sruntime); in sdm845_snd_prepare() 481 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare() 485 ret = sdw_prepare_stream(sruntime); in sdm845_snd_prepare() [all …]
|
H A D | sc8280xp.c | 22 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member 87 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sc8280xp_snd_hw_params() 95 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_prepare() local 97 return qcom_snd_sdw_prepare(substream, sruntime, in sc8280xp_snd_prepare() 106 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_hw_free() local 108 return qcom_snd_sdw_hw_free(substream, sruntime, in sc8280xp_snd_hw_free()
|
H A 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()
|
H A D | sdw.h | 16 struct sdw_stream_runtime *sruntime,
|
/openbmc/linux/drivers/soundwire/ |
H A D | qcom.c | 206 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member 1212 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local 1215 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params() 1218 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params() 1227 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local 1229 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free() 1230 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free() 1240 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream() 1249 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream() 1257 struct sdw_stream_runtime *sruntime; in qcom_swrm_startup() local [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wsa881x.c | 675 struct sdw_stream_runtime *sruntime; member 998 wsa881x->sruntime); in wsa881x_hw_params() 1006 sdw_stream_remove_slave(wsa881x->slave, wsa881x->sruntime); in wsa881x_hw_free() 1016 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 | wsa883x.c | 437 struct sdw_stream_runtime *sruntime; member 1302 wsa883x->sruntime); in wsa883x_hw_params() 1310 sdw_stream_remove_slave(wsa883x->slave, wsa883x->sruntime); in wsa883x_hw_free() 1320 wsa883x->sruntime = stream; in wsa883x_set_sdw_stream()
|
H A D | wsa884x.c | 699 struct sdw_stream_runtime *sruntime; member 1737 wsa884x->sruntime); in wsa884x_hw_params() 1745 sdw_stream_remove_slave(wsa884x->slave, wsa884x->sruntime); in wsa884x_hw_free() 1779 wsa884x->sruntime = stream; in wsa884x_set_stream()
|
H A D | wcd938x.h | 657 struct sdw_stream_runtime *sruntime; member
|
H A 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()
|
H A 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()
|