Lines Matching refs:gma_encoder

66 	struct gma_encoder *gma_encoder = to_gma_encoder(encoder);  in cdv_hdmi_mode_set()  local
67 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_mode_set()
94 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in cdv_hdmi_dpms() local
95 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_dpms()
110 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_save() local
111 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_save()
119 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_restore() local
120 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_restore()
129 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_detect() local
130 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_detect()
278 struct gma_encoder *gma_encoder; in cdv_hdmi_init() local
286 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in cdv_hdmi_init()
287 if (!gma_encoder) in cdv_hdmi_init()
306 gma_encoder->ddi_select = DDI0_SELECT; in cdv_hdmi_init()
310 gma_encoder->ddi_select = DDI1_SELECT; in cdv_hdmi_init()
331 ret = drm_simple_encoder_init(dev, &gma_encoder->base, in cdv_hdmi_init()
336 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_hdmi_init()
337 gma_encoder->type = INTEL_OUTPUT_HDMI; in cdv_hdmi_init()
340 gma_encoder->dev_priv = hdmi_priv; in cdv_hdmi_init()
342 drm_encoder_helper_add(&gma_encoder->base, &cdv_hdmi_helper_funcs); in cdv_hdmi_init()
365 kfree(gma_encoder); in cdv_hdmi_init()