Lines Matching refs:lvds_connector

385 	struct intel_lvds_connector *lvds_connector = to_lvds_connector(connector);  in intel_lvds_get_modes()  local
390 if (!IS_ERR_OR_NULL(lvds_connector->base.edid)) in intel_lvds_get_modes()
391 return drm_add_edid_modes(connector, lvds_connector->base.edid); in intel_lvds_get_modes()
393 mode = drm_mode_duplicate(dev, lvds_connector->base.panel.fixed_mode); in intel_lvds_get_modes()
434 struct intel_lvds_connector *lvds_connector = in intel_lid_notify() local
436 struct drm_connector *connector = &lvds_connector->base.base; in intel_lid_notify()
494 struct intel_lvds_connector *lvds_connector = in intel_lvds_destroy() local
497 if (lvds_connector->lid_notifier.notifier_call) in intel_lvds_destroy()
498 acpi_lid_notifier_unregister(&lvds_connector->lid_notifier); in intel_lvds_destroy()
500 if (!IS_ERR_OR_NULL(lvds_connector->base.edid)) in intel_lvds_destroy()
501 kfree(lvds_connector->base.edid); in intel_lvds_destroy()
503 intel_panel_fini(&lvds_connector->base.panel); in intel_lvds_destroy()
933 struct intel_lvds_connector *lvds_connector; in intel_lvds_init() local
1006 lvds_connector = kzalloc(sizeof(*lvds_connector), GFP_KERNEL); in intel_lvds_init()
1007 if (!lvds_connector) { in intel_lvds_init()
1012 if (intel_connector_init(&lvds_connector->base) < 0) { in intel_lvds_init()
1013 kfree(lvds_connector); in intel_lvds_init()
1018 lvds_encoder->attached_connector = lvds_connector; in intel_lvds_init()
1022 intel_connector = &lvds_connector->base; in intel_lvds_init()
1095 lvds_connector->base.edid = edid; in intel_lvds_init()
1170 lvds_connector->lid_notifier.notifier_call = intel_lid_notify; in intel_lvds_init()
1171 if (acpi_lid_notifier_register(&lvds_connector->lid_notifier)) { in intel_lvds_init()
1173 lvds_connector->lid_notifier.notifier_call = NULL; in intel_lvds_init()
1188 kfree(lvds_connector); in intel_lvds_init()