Lines Matching refs:gma_encoder

68 	struct gma_encoder *gma_encoder = to_gma_encoder(encoder);  in cdv_hdmi_mode_set()  local
69 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_mode_set()
96 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in cdv_hdmi_dpms() local
97 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_dpms()
112 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_save() local
113 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_save()
121 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_restore() local
122 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_restore()
131 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_detect() local
132 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_detect()
136 edid = drm_get_edid(connector, &gma_encoder->i2c_bus->adapter); in cdv_hdmi_detect()
214 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_get_modes() local
218 edid = drm_get_edid(connector, &gma_encoder->i2c_bus->adapter); in cdv_hdmi_get_modes()
248 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_destroy() local
250 psb_intel_i2c_destroy(gma_encoder->i2c_bus); in cdv_hdmi_destroy()
281 struct gma_encoder *gma_encoder; in cdv_hdmi_init() local
288 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in cdv_hdmi_init()
290 if (!gma_encoder) in cdv_hdmi_init()
309 encoder = &gma_encoder->base; in cdv_hdmi_init()
317 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_hdmi_init()
318 gma_encoder->type = INTEL_OUTPUT_HDMI; in cdv_hdmi_init()
321 gma_encoder->dev_priv = hdmi_priv; in cdv_hdmi_init()
337 gma_encoder->ddi_select = DDI0_SELECT; in cdv_hdmi_init()
341 gma_encoder->ddi_select = DDI1_SELECT; in cdv_hdmi_init()
349 gma_encoder->i2c_bus = psb_intel_i2c_create(dev, in cdv_hdmi_init()
352 if (!gma_encoder->i2c_bus) { in cdv_hdmi_init()
357 hdmi_priv->hdmi_i2c_adapter = &(gma_encoder->i2c_bus->adapter); in cdv_hdmi_init()
368 kfree(gma_encoder); in cdv_hdmi_init()