Lines Matching defs:connector
71 struct drm_connector connector;
90 return container_of(c, struct anx78xx, connector);
825 static int anx78xx_get_modes(struct drm_connector *connector)
827 struct anx78xx *anx78xx = connector_to_anx78xx(connector);
834 return drm_add_edid_modes(connector, anx78xx->edid);
844 anx78xx->edid = drm_get_edid(connector, &anx78xx->aux.ddc);
850 err = drm_connector_update_edid_property(connector,
857 num_modes = drm_add_edid_modes(connector, anx78xx->edid);
869 static enum drm_connector_status anx78xx_detect(struct drm_connector *connector,
872 struct anx78xx *anx78xx = connector_to_anx78xx(connector);
896 DRM_ERROR("Fix bridge driver to make connector optional!");
917 err = drm_connector_init(bridge->dev, &anx78xx->connector,
921 DRM_ERROR("Failed to initialize connector: %d\n", err);
925 drm_connector_helper_add(&anx78xx->connector,
928 anx78xx->connector.polled = DRM_CONNECTOR_POLL_HPD;
930 err = drm_connector_attach_encoder(&anx78xx->connector,
933 DRM_ERROR("Failed to link up connector to encoder: %d\n", err);
937 err = drm_connector_register(&anx78xx->connector);
939 DRM_ERROR("Failed to register connector: %d\n", err);
945 drm_connector_cleanup(&anx78xx->connector);
994 &anx78xx->connector,
1192 drm_helper_hpd_irq_event(anx78xx->connector.dev);