Lines Matching refs:connector

112 static struct intel_dvo *intel_attached_dvo(struct drm_connector *connector)
114 return container_of(intel_attached_encoder(connector),
118 static bool intel_dvo_connector_get_hw_state(struct intel_connector *connector)
120 struct intel_dvo *intel_dvo = intel_attached_dvo(&connector->base);
188 static void intel_dvo_dpms(struct drm_connector *connector, int mode)
190 struct intel_dvo *intel_dvo = intel_attached_dvo(connector);
197 if (mode == connector->dpms)
200 connector->dpms = mode;
209 /* We call connector dpms manually below in case pipe dpms doesn't
225 intel_modeset_check_state(connector->dev);
228 static int intel_dvo_mode_valid(struct drm_connector *connector,
231 struct intel_dvo *intel_dvo = intel_attached_dvo(connector);
339 intel_dvo_detect(struct drm_connector *connector, bool force)
341 struct intel_dvo *intel_dvo = intel_attached_dvo(connector);
345 static int intel_dvo_get_modes(struct drm_connector *connector)
347 struct intel_dvo *intel_dvo = intel_attached_dvo(connector);
348 struct drm_i915_private *dev_priv = connector->dev->dev_private;
355 (void) intel_ddc_get_modes(connector,
357 if (!list_empty(&connector->probed_modes))
362 mode = drm_mode_duplicate(connector->dev, intel_dvo->panel_fixed_mode);
364 drm_mode_probed_add(connector, mode);
372 static void intel_dvo_destroy(struct drm_connector *connector)
374 drm_connector_cleanup(connector);
375 kfree(connector, sizeof(struct intel_connector));
419 intel_dvo_get_current_mode (struct drm_connector *connector)
421 struct drm_device *dev = connector->dev;
423 struct intel_dvo *intel_dvo = intel_attached_dvo(connector);
481 struct drm_connector *connector = &intel_connector->base;
513 (void) drm_connector_init(dev, connector,
520 (void) drm_connector_init(dev, connector,
527 drm_connector_helper_add(connector,
529 connector->display_info.subpixel_order = SubPixelHorizontalRGB;
530 connector->interlace_allowed = false;
531 connector->doublescan_allowed = false;
546 intel_dvo_get_current_mode(connector);
550 /* OSOL_i915: drm_sysfs_connector_add(connector); */