Lines Matching refs:gma_encoder
34 struct gma_encoder *gma_encoder, in oaktrail_lvds_set_power() argument
69 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_dpms() local
72 oaktrail_lvds_set_power(dev, gma_encoder, true); in oaktrail_lvds_dpms()
74 oaktrail_lvds_set_power(dev, gma_encoder, false); in oaktrail_lvds_dpms()
156 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_prepare() local
165 oaktrail_lvds_set_power(dev, gma_encoder, false); in oaktrail_lvds_prepare()
192 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_commit() local
198 oaktrail_lvds_set_power(dev, gma_encoder, true); in oaktrail_lvds_commit()
289 struct gma_encoder *gma_encoder; in oaktrail_lvds_init() local
298 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in oaktrail_lvds_init()
299 if (!gma_encoder) in oaktrail_lvds_init()
307 encoder = &gma_encoder->base; in oaktrail_lvds_init()
316 gma_connector_attach_encoder(gma_connector, gma_encoder); in oaktrail_lvds_init()
317 gma_encoder->type = INTEL_OUTPUT_LVDS; in oaktrail_lvds_init()
357 if (gma_encoder->ddc_bus != NULL) { in oaktrail_lvds_init()
358 i2c_adap = &gma_encoder->ddc_bus->adapter; in oaktrail_lvds_init()
407 if (gma_encoder->ddc_bus) { in oaktrail_lvds_init()
408 psb_intel_i2c_destroy(gma_encoder->ddc_bus); in oaktrail_lvds_init()
409 gma_encoder->ddc_bus = NULL; in oaktrail_lvds_init()
418 kfree(gma_encoder); in oaktrail_lvds_init()