Lines Matching defs:component
126 struct snd_soc_component *component;
1435 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
1436 struct hdac_hdmi_priv *hdmi = snd_soc_component_get_drvdata(component);
1446 dev_dbg(component->dev, "%s: no pcm, device %d\n", __func__,
1452 dev_dbg(component->dev, "%s: empty port list, device %d\n",
1476 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
1477 struct hdac_hdmi_priv *hdmi = snd_soc_component_get_drvdata(component);
1486 dev_dbg(component->dev, "%s: no pcm, device %d\n", __func__,
1492 dev_dbg(component->dev, "%s: empty port list, device %d\n",
1509 dev_err(component->dev, "%s: buffer too small, device %d eld_size %d\n",
1525 static int hdac_hdmi_create_eld_ctl(struct snd_soc_component *component, struct hdac_hdmi_pcm *pcm)
1539 kctl = snd_ctl_new1(&hdmi_eld_ctl, component);
1545 return snd_ctl_add(component->card->snd_card, kctl);
1703 struct snd_soc_component *component = hdmi->component;
1718 if (snd_power_get_state(component->card->snd_card) !=
1778 struct snd_soc_component *component = hdmi->component;
1780 kc = devm_kcalloc(component->dev, hdmi->num_ports,
1790 name = devm_kstrdup(component->dev, xname, GFP_KERNEL);
1794 kc[i].name = devm_kstrdup(component->dev, kc_name,
1812 int hdac_hdmi_jack_port_init(struct snd_soc_component *component,
1815 struct hdac_hdmi_priv *hdmi = snd_soc_component_get_drvdata(component);
1890 struct snd_soc_component *component = dai->component;
1891 struct hdac_hdmi_priv *hdmi = snd_soc_component_get_drvdata(component);
1910 snd_pcm = hdac_hdmi_get_pcm_from_id(dai->component->card, device);
1922 err = hdac_hdmi_create_eld_ctl(component, pcm);
1960 static int hdmi_codec_probe(struct snd_soc_component *component)
1962 struct hdac_hdmi_priv *hdmi = snd_soc_component_get_drvdata(component);
1965 snd_soc_component_get_dapm(component);
1969 hdmi->component = component;
2007 device_link_add(component->card->dev, &hdev->dev, DL_FLAG_RPM_ACTIVE |
2020 static void hdmi_codec_remove(struct snd_soc_component *component)
2022 struct hdac_hdmi_priv *hdmi = snd_soc_component_get_drvdata(component);
2051 * The pin check involves only with DRM audio component hooks, so it