Lines Matching refs:hdmi_priv
2138 struct hdac_hdmi_priv *hdmi_priv; in hdac_hdmi_dev_probe() local
2155 hdmi_priv = devm_kzalloc(&hdev->dev, sizeof(*hdmi_priv), GFP_KERNEL); in hdac_hdmi_dev_probe()
2156 if (hdmi_priv == NULL) in hdac_hdmi_dev_probe()
2159 snd_hdac_register_chmap_ops(hdev, &hdmi_priv->chmap); in hdac_hdmi_dev_probe()
2160 hdmi_priv->chmap.ops.get_chmap = hdac_hdmi_get_chmap; in hdac_hdmi_dev_probe()
2161 hdmi_priv->chmap.ops.set_chmap = hdac_hdmi_set_chmap; in hdac_hdmi_dev_probe()
2162 hdmi_priv->chmap.ops.is_pcm_attached = is_hdac_hdmi_pcm_attached; in hdac_hdmi_dev_probe()
2163 hdmi_priv->chmap.ops.get_spk_alloc = hdac_hdmi_get_spk_alloc; in hdac_hdmi_dev_probe()
2164 hdmi_priv->hdev = hdev; in hdac_hdmi_dev_probe()
2170 hdmi_priv->drv_data = in hdac_hdmi_dev_probe()
2173 hdmi_priv->drv_data = &intel_drv_data; in hdac_hdmi_dev_probe()
2175 dev_set_drvdata(&hdev->dev, hdmi_priv); in hdac_hdmi_dev_probe()
2177 INIT_LIST_HEAD(&hdmi_priv->pin_list); in hdac_hdmi_dev_probe()
2178 INIT_LIST_HEAD(&hdmi_priv->cvt_list); in hdac_hdmi_dev_probe()
2179 INIT_LIST_HEAD(&hdmi_priv->pcm_list); in hdac_hdmi_dev_probe()
2180 mutex_init(&hdmi_priv->pin_mutex); in hdac_hdmi_dev_probe()