Lines Matching refs:gma_encoder
192 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_crt_destroy() local
194 psb_intel_i2c_destroy(gma_encoder->ddc_bus); in cdv_intel_crt_destroy()
202 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_crt_get_modes() local
204 &gma_encoder->ddc_bus->adapter); in cdv_intel_crt_get_modes()
254 struct gma_encoder *gma_encoder; in cdv_intel_crt_init() local
260 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in cdv_intel_crt_init()
261 if (!gma_encoder) in cdv_intel_crt_init()
273 encoder = &gma_encoder->base; in cdv_intel_crt_init()
277 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_crt_init()
286 gma_encoder->ddc_bus = psb_intel_i2c_create(dev, in cdv_intel_crt_init()
288 if (!gma_encoder->ddc_bus) { in cdv_intel_crt_init()
294 gma_encoder->type = INTEL_OUTPUT_ANALOG; in cdv_intel_crt_init()
310 drm_encoder_cleanup(&gma_encoder->base); in cdv_intel_crt_init()
314 kfree(gma_encoder); in cdv_intel_crt_init()