Lines Matching refs:gma_encoder

301 	struct gma_encoder *gma_encoder = gma_attached_encoder(connector);  in cdv_intel_lvds_get_modes()  local
305 ret = psb_intel_ddc_get_modes(connector, &gma_encoder->i2c_bus->adapter); in cdv_intel_lvds_get_modes()
329 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_destroy() local
331 psb_intel_i2c_destroy(gma_encoder->i2c_bus); in cdv_intel_lvds_destroy()
482 struct gma_encoder *gma_encoder; in cdv_intel_lvds_init() local
503 gma_encoder = kzalloc(sizeof(struct gma_encoder), in cdv_intel_lvds_init()
505 if (!gma_encoder) in cdv_intel_lvds_init()
517 gma_encoder->dev_priv = lvds_priv; in cdv_intel_lvds_init()
522 encoder = &gma_encoder->base; in cdv_intel_lvds_init()
531 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_lvds_init()
532 gma_encoder->type = INTEL_OUTPUT_LVDS; in cdv_intel_lvds_init()
553 gma_encoder->i2c_bus = psb_intel_i2c_create(dev, in cdv_intel_lvds_init()
556 if (!gma_encoder->i2c_bus) { in cdv_intel_lvds_init()
561 gma_encoder->i2c_bus->slave_addr = 0x2C; in cdv_intel_lvds_init()
562 dev_priv->lvds_i2c_bus = gma_encoder->i2c_bus; in cdv_intel_lvds_init()
575 gma_encoder->ddc_bus = psb_intel_i2c_create(dev, in cdv_intel_lvds_init()
578 if (!gma_encoder->ddc_bus) { in cdv_intel_lvds_init()
590 &gma_encoder->ddc_bus->adapter); in cdv_intel_lvds_init()
656 psb_intel_i2c_destroy(gma_encoder->ddc_bus); in cdv_intel_lvds_init()
659 psb_intel_i2c_destroy(gma_encoder->i2c_bus); in cdv_intel_lvds_init()
668 kfree(gma_encoder); in cdv_intel_lvds_init()