Lines Matching defs:connector
67 static struct intel_hdmi *intel_attached_hdmi(struct drm_connector *connector)
69 return enc_to_intel_hdmi(&intel_attached_encoder(connector)->base);
813 static int intel_hdmi_mode_valid(struct drm_connector *connector,
816 if (mode->clock > hdmi_portclock_limit(intel_attached_hdmi(connector)))
884 intel_hdmi_detect(struct drm_connector *connector, bool force)
886 struct drm_device *dev = connector->dev;
887 struct intel_hdmi *intel_hdmi = intel_attached_hdmi(connector);
898 edid = drm_get_edid(connector,
925 static int intel_hdmi_get_modes(struct drm_connector *connector)
927 struct intel_hdmi *intel_hdmi = intel_attached_hdmi(connector);
928 struct drm_i915_private *dev_priv = connector->dev->dev_private;
934 return intel_ddc_get_modes(connector,
940 intel_hdmi_detect_audio(struct drm_connector *connector)
942 struct intel_hdmi *intel_hdmi = intel_attached_hdmi(connector);
943 struct drm_i915_private *dev_priv = connector->dev->dev_private;
947 edid = drm_get_edid(connector,
960 intel_hdmi_set_property(struct drm_connector *connector,
964 struct intel_hdmi *intel_hdmi = intel_attached_hdmi(connector);
967 struct drm_i915_private *dev_priv = connector->dev->dev_private;
970 ret = drm_object_property_set_value(&connector->base, property, val);
984 has_audio = intel_hdmi_detect_audio(connector);
1120 static void intel_hdmi_destroy(struct drm_connector *connector)
1122 drm_connector_cleanup(connector);
1123 kfree(connector, sizeof(struct intel_connector));
1149 intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct drm_connector *connector)
1151 intel_attach_force_audio_property(connector);
1152 intel_attach_broadcast_rgb_property(connector);
1159 struct drm_connector *connector = &intel_connector->base;
1166 (void) drm_connector_init(dev, connector, &intel_hdmi_connector_funcs,
1168 (void) drm_connector_helper_add(connector, &intel_hdmi_connector_helper_funcs);
1170 connector->interlace_allowed = 1;
1171 connector->doublescan_allowed = 0;
1215 intel_hdmi_add_properties(intel_hdmi, connector);
1218 // drm_sysfs_connector_add(connector);