Lines Matching refs:gma_encoder
382 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_get_modes() local
386 ret = psb_intel_ddc_get_modes(connector, &gma_encoder->i2c_bus->adapter); in cdv_intel_lvds_get_modes()
410 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_destroy() local
412 psb_intel_i2c_destroy(gma_encoder->i2c_bus); in cdv_intel_lvds_destroy()
572 struct gma_encoder *gma_encoder; in cdv_intel_lvds_init() local
593 gma_encoder = kzalloc(sizeof(struct gma_encoder), in cdv_intel_lvds_init()
595 if (!gma_encoder) in cdv_intel_lvds_init()
607 gma_encoder->dev_priv = lvds_priv; in cdv_intel_lvds_init()
612 encoder = &gma_encoder->base; in cdv_intel_lvds_init()
624 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_lvds_init()
625 gma_encoder->type = INTEL_OUTPUT_LVDS; in cdv_intel_lvds_init()
646 gma_encoder->i2c_bus = psb_intel_i2c_create(dev, in cdv_intel_lvds_init()
649 if (!gma_encoder->i2c_bus) { in cdv_intel_lvds_init()
654 gma_encoder->i2c_bus->slave_addr = 0x2C; in cdv_intel_lvds_init()
655 dev_priv->lvds_i2c_bus = gma_encoder->i2c_bus; in cdv_intel_lvds_init()
668 gma_encoder->ddc_bus = psb_intel_i2c_create(dev, in cdv_intel_lvds_init()
671 if (!gma_encoder->ddc_bus) { in cdv_intel_lvds_init()
683 &gma_encoder->ddc_bus->adapter); in cdv_intel_lvds_init()
749 psb_intel_i2c_destroy(gma_encoder->ddc_bus); in cdv_intel_lvds_init()
752 psb_intel_i2c_destroy(gma_encoder->i2c_bus); in cdv_intel_lvds_init()
761 kfree(gma_encoder); in cdv_intel_lvds_init()