Lines Matching refs:component
16 static int sof_ipc3_pcm_hw_free(struct snd_soc_component *component, in sof_ipc3_pcm_hw_free() argument
19 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_ipc3_pcm_hw_free()
24 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_ipc3_pcm_hw_free()
39 static int sof_ipc3_pcm_hw_params(struct snd_soc_component *component, in sof_ipc3_pcm_hw_params() argument
44 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_ipc3_pcm_hw_params()
53 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_ipc3_pcm_hw_params()
120 dev_dbg(component->dev, "stream_tag %d", pcm.params.stream_tag); in sof_ipc3_pcm_hw_params()
126 dev_err(component->dev, "HW params ipc failed for stream %d\n", in sof_ipc3_pcm_hw_params()
134 dev_err(component->dev, "%s: invalid stream data offset for PCM %d\n", in sof_ipc3_pcm_hw_params()
142 static int sof_ipc3_pcm_trigger(struct snd_soc_component *component, in sof_ipc3_pcm_trigger() argument
146 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_ipc3_pcm_trigger()
150 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_ipc3_pcm_trigger()
174 dev_err(component->dev, "Unhandled trigger cmd %d\n", cmd); in sof_ipc3_pcm_trigger()
212 struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); in sof_ipc3_pcm_dai_link_fixup() local
214 struct snd_sof_dai *dai = snd_sof_find_dai(component, (char *)rtd->dai_link->name); in sof_ipc3_pcm_dai_link_fixup()
217 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_ipc3_pcm_dai_link_fixup()
222 dev_err(component->dev, "%s: No DAI found with name %s\n", __func__, in sof_ipc3_pcm_dai_link_fixup()
229 dev_err(component->dev, "%s: No private data found for DAI %s\n", __func__, in sof_ipc3_pcm_dai_link_fixup()
248 dev_err(component->dev, "No available DAI format!\n"); in sof_ipc3_pcm_dai_link_fixup()
263 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
264 dev_dbg(component->dev, "channels_min: %d channels_max: %d\n", in sof_ipc3_pcm_dai_link_fixup()
271 dev_err(component->dev, "Invalid fmt %d for DAI type %d\n", in sof_ipc3_pcm_dai_link_fixup()
302 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
303 dev_dbg(component->dev, "channels_min: %d channels_max: %d\n", in sof_ipc3_pcm_dai_link_fixup()
325 dev_err(component->dev, "Not available format!\n"); in sof_ipc3_pcm_dai_link_fixup()
329 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
330 dev_dbg(component->dev, "channels_min: %d channels_max: %d\n", in sof_ipc3_pcm_dai_link_fixup()
339 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
340 dev_dbg(component->dev, "channels_min: %d channels_max: %d\n", in sof_ipc3_pcm_dai_link_fixup()
349 dev_dbg(component->dev, in sof_ipc3_pcm_dai_link_fixup()
351 dev_dbg(component->dev, "AMD_BT channels_min: %d channels_max: %d\n", in sof_ipc3_pcm_dai_link_fixup()
361 dev_dbg(component->dev, in sof_ipc3_pcm_dai_link_fixup()
363 dev_dbg(component->dev, "AMD_SP channels_min: %d channels_max: %d\n", in sof_ipc3_pcm_dai_link_fixup()
373 dev_dbg(component->dev, in sof_ipc3_pcm_dai_link_fixup()
382 dev_dbg(component->dev, in sof_ipc3_pcm_dai_link_fixup()
384 dev_dbg(component->dev, "AMD_DMIC channels_min: %d channels_max: %d\n", in sof_ipc3_pcm_dai_link_fixup()
388 dev_err(component->dev, "Invalid DAI type %d\n", private->dai_config->type); in sof_ipc3_pcm_dai_link_fixup()