Lines Matching refs:gma_encoder
327 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_destroy() local
330 gma_i2c_destroy(gma_encoder->i2c_bus); in cdv_intel_lvds_destroy()
480 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()
543 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_lvds_init()
544 gma_encoder->type = INTEL_OUTPUT_LVDS; in cdv_intel_lvds_init()
565 gma_encoder->i2c_bus = gma_i2c_create(dev, GPIOB, "LVDSBLC_B"); in cdv_intel_lvds_init()
566 if (!gma_encoder->i2c_bus) { in cdv_intel_lvds_init()
571 gma_encoder->i2c_bus->target_addr = 0x2C; in cdv_intel_lvds_init()
572 dev_priv->lvds_i2c_bus = gma_encoder->i2c_bus; in cdv_intel_lvds_init()
654 gma_i2c_destroy(gma_encoder->i2c_bus); in cdv_intel_lvds_init()
666 kfree(gma_encoder); in cdv_intel_lvds_init()