Lines Matching defs:component
569 static int audioreach_widget_load_module_common(struct snd_soc_component *component,
573 struct q6apm *apm = dev_get_drvdata(component->dev);
597 static int audioreach_widget_load_enc_dec_cnv(struct snd_soc_component *component,
608 ret = audioreach_widget_load_module_common(component, index, w, tplg_w);
732 static int audioreach_widget_load_buffer(struct snd_soc_component *component,
741 ret = audioreach_widget_load_module_common(component, index, w, tplg_w);
769 static int audioreach_widget_load_mixer(struct snd_soc_component *component,
776 struct q6apm *data = dev_get_drvdata(component->dev);
786 scontrol->scomp = component;
837 static int audioreach_widget_load_pga(struct snd_soc_component *component,
845 ret = audioreach_widget_load_module_common(component, index, w, tplg_w);
857 dev_err(component->dev, "matching event handlers NOT found for %d\n",
865 static int audioreach_widget_ready(struct snd_soc_component *component,
872 audioreach_widget_load_buffer(component, index, w, tplg_w);
877 audioreach_widget_load_enc_dec_cnv(component, index, w, tplg_w);
880 audioreach_widget_load_buffer(component, index, w, tplg_w);
883 return audioreach_widget_load_mixer(component, index, w, tplg_w);
885 return audioreach_widget_load_pga(component, index, w, tplg_w);
890 dev_err(component->dev, "Widget type (0x%x) not yet supported\n", w->id);
1030 static int audioreach_tplg_complete(struct snd_soc_component *component)
1037 static int audioreach_link_load(struct snd_soc_component *component, int index,
1044 link->platforms->of_node = of_get_compatible_child(component->dev->of_node,
1259 int audioreach_tplg_init(struct snd_soc_component *component)
1261 struct snd_soc_card *card = component->card;
1262 struct device *dev = component->dev;
1278 ret = snd_soc_tplg_component_load(component, &audioreach_tplg_ops, fw);
1281 dev_err(dev, "tplg component load failed: %d\n", ret);