Lines Matching defs:component
562 link = snd_hdac_ext_bus_get_link(bus, codec_dai->component->name);
646 link = snd_hdac_ext_bus_get_link(bus, asoc_rtd_to_codec(rtd, 0)->component->name);
1070 static int skl_platform_soc_open(struct snd_soc_component *component,
1157 static int skl_platform_soc_trigger(struct snd_soc_component *component,
1170 struct snd_soc_component *component,
1217 static int skl_platform_soc_mmap(struct snd_soc_component *component,
1245 struct snd_soc_component *component,
1280 static int skl_platform_soc_new(struct snd_soc_component *component,
1384 static int skl_platform_soc_probe(struct snd_soc_component *component)
1386 struct hdac_bus *bus = dev_get_drvdata(component->dev);
1391 pm_runtime_get_sync(component->dev);
1393 skl->component = component;
1398 ret = skl_tplg_init(component, bus);
1400 dev_err(component->dev, "Failed to init topology!\n");
1413 skl->enable_miscbdcge(component->dev, false);
1414 skl->clock_power_gating(component->dev, false);
1416 ret = ops->init_fw(component->dev, skl);
1417 skl->enable_miscbdcge(component->dev, true);
1418 skl->clock_power_gating(component->dev, true);
1420 dev_err(component->dev, "Failed to boot first fw: %d\n", ret);
1432 pm_runtime_mark_last_busy(component->dev);
1433 pm_runtime_put_autosuspend(component->dev);
1438 static void skl_platform_soc_remove(struct snd_soc_component *component)
1440 struct hdac_bus *bus = dev_get_drvdata(component->dev);
1443 skl_tplg_exit(component, bus);
1495 dev_err(dev, "soc component registration failed %d\n", ret);