Lines Matching refs:drm_connector
256 struct drm_connector drm_connector; member
262 container_of(x, struct sti_hda_connector, drm_connector)
520 static int sti_hda_connector_get_modes(struct drm_connector *connector) in sti_hda_connector_get_modes()
553 static int sti_hda_connector_mode_valid(struct drm_connector *connector, in sti_hda_connector_mode_valid()
583 struct drm_encoder *sti_hda_best_encoder(struct drm_connector *connector) in sti_hda_best_encoder()
600 sti_hda_connector_detect(struct drm_connector *connector, bool force) in sti_hda_connector_detect()
605 static void sti_hda_connector_destroy(struct drm_connector *connector) in sti_hda_connector_destroy()
643 struct drm_connector *drm_connector; in sti_hda_bind() local
671 drm_connector = (struct drm_connector *)connector; in sti_hda_bind()
673 drm_connector->polled = DRM_CONNECTOR_POLL_HPD; in sti_hda_bind()
675 drm_connector_init(drm_dev, drm_connector, in sti_hda_bind()
677 drm_connector_helper_add(drm_connector, in sti_hda_bind()
680 err = drm_connector_register(drm_connector); in sti_hda_bind()
684 err = drm_mode_connector_attach_encoder(drm_connector, encoder); in sti_hda_bind()
693 drm_connector_unregister(drm_connector); in sti_hda_bind()
695 drm_connector_cleanup(drm_connector); in sti_hda_bind()