Lines Matching refs:lvds_connector

366 	struct intel_lvds_connector *lvds_connector = to_lvds_connector(connector);  in intel_lvds_get_modes()  local
371 if (!IS_ERR_OR_NULL(lvds_connector->base.edid)) in intel_lvds_get_modes()
372 return drm_add_edid_modes(connector, lvds_connector->base.edid); in intel_lvds_get_modes()
374 mode = drm_mode_duplicate(dev, lvds_connector->base.panel.fixed_mode); in intel_lvds_get_modes()
415 struct intel_lvds_connector *lvds_connector = in intel_lid_notify() local
417 struct drm_connector *connector = &lvds_connector->base.base; in intel_lid_notify()
475 struct intel_lvds_connector *lvds_connector = in intel_lvds_destroy() local
478 if (lvds_connector->lid_notifier.notifier_call) in intel_lvds_destroy()
479 acpi_lid_notifier_unregister(&lvds_connector->lid_notifier); in intel_lvds_destroy()
481 if (!IS_ERR_OR_NULL(lvds_connector->base.edid)) in intel_lvds_destroy()
482 kfree(lvds_connector->base.edid); in intel_lvds_destroy()
484 intel_panel_fini(&lvds_connector->base.panel); in intel_lvds_destroy()
914 struct intel_lvds_connector *lvds_connector; in intel_lvds_init() local
964 lvds_connector = kzalloc(sizeof(*lvds_connector), GFP_KERNEL); in intel_lvds_init()
965 if (!lvds_connector) { in intel_lvds_init()
970 if (intel_connector_init(&lvds_connector->base) < 0) { in intel_lvds_init()
971 kfree(lvds_connector); in intel_lvds_init()
976 lvds_encoder->attached_connector = lvds_connector; in intel_lvds_init()
980 intel_connector = &lvds_connector->base; in intel_lvds_init()
1052 lvds_connector->base.edid = edid; in intel_lvds_init()
1144 lvds_connector->lid_notifier.notifier_call = intel_lid_notify; in intel_lvds_init()
1145 if (acpi_lid_notifier_register(&lvds_connector->lid_notifier)) { in intel_lvds_init()
1147 lvds_connector->lid_notifier.notifier_call = NULL; in intel_lvds_init()
1162 kfree(lvds_connector); in intel_lvds_init()