Lines Matching refs:comp

809 	struct snd_soc_component *comp;
817 comp = gbcodec->component;
829 ret = gbaudio_init_jack(module, comp->card);
836 snd_soc_dapm_new_controls(&comp->dapm, module->dapm_widgets,
839 snd_soc_add_component_controls(comp, module->controls,
842 snd_soc_dapm_add_routes(&comp->dapm, module->dapm_routes,
846 if (comp->card->instantiated) {
847 gbaudio_dapm_link_component_dai_widgets(comp->card, &comp->dapm);
854 snd_device_register(comp->card->snd_card,
864 if (comp->card->instantiated)
865 ret = snd_soc_dapm_new_widgets(comp->card);
866 dev_dbg(comp->dev, "Registered %s module\n", module->name);
935 struct snd_soc_component *comp = gbcodec->component;
939 dev_dbg(comp->dev, "Unregister %s module\n", module->name);
945 dev_dbg(comp->dev, "Process Unregister %s module\n", module->name);
961 snd_device_free(comp->card->snd_card,
969 dev_dbg(comp->dev, "Removing %d routes\n",
971 snd_soc_dapm_del_routes(&comp->dapm, module->dapm_routes,
975 dev_dbg(comp->dev, "Removing %d controls\n",
978 gbaudio_remove_component_controls(comp, module->controls,
982 dev_dbg(comp->dev, "Removing %d widgets\n",
984 gbaudio_dapm_free_controls(&comp->dapm, module->dapm_widgets,
988 dev_dbg(comp->dev, "Unregistered %s module\n", module->name);
997 static int gbcodec_probe(struct snd_soc_component *comp)
1003 info = devm_kzalloc(comp->dev, sizeof(*info), GFP_KERNEL);
1007 info->dev = comp->dev;
1015 dai = devm_kzalloc(comp->dev, sizeof(*dai), GFP_KERNEL);
1022 info->component = comp;
1023 snd_soc_component_set_drvdata(comp, info);
1026 device_init_wakeup(comp->dev, 1);
1030 static int gbcodec_write(struct snd_soc_component *comp, unsigned int reg,
1036 static unsigned int gbcodec_read(struct snd_soc_component *comp,