Lines Matching refs:drm_encoder

117 	struct drm_encoder *hdmi;
118 struct drm_encoder *hda;
119 struct drm_encoder *dvo;
124 struct drm_encoder encoder;
585 static void sti_tvout_encoder_dpms(struct drm_encoder *encoder, int mode) in sti_tvout_encoder_dpms()
589 static void sti_tvout_encoder_mode_set(struct drm_encoder *encoder, in sti_tvout_encoder_mode_set()
595 static void sti_tvout_encoder_destroy(struct drm_encoder *encoder) in sti_tvout_encoder_destroy()
603 static int sti_tvout_late_register(struct drm_encoder *encoder) in sti_tvout_late_register()
616 static void sti_tvout_early_unregister(struct drm_encoder *encoder) in sti_tvout_early_unregister()
632 static void sti_dvo_encoder_enable(struct drm_encoder *encoder) in sti_dvo_encoder_enable()
641 static void sti_dvo_encoder_disable(struct drm_encoder *encoder) in sti_dvo_encoder_disable()
656 static struct drm_encoder *
661 struct drm_encoder *drm_encoder; in sti_tvout_create_dvo_encoder() local
669 drm_encoder = &encoder->encoder; in sti_tvout_create_dvo_encoder()
671 drm_encoder->possible_crtcs = ENCODER_CRTC_MASK; in sti_tvout_create_dvo_encoder()
673 drm_encoder_init(dev, drm_encoder, in sti_tvout_create_dvo_encoder()
677 drm_encoder_helper_add(drm_encoder, &sti_dvo_encoder_helper_funcs); in sti_tvout_create_dvo_encoder()
679 return drm_encoder; in sti_tvout_create_dvo_encoder()
682 static void sti_hda_encoder_enable(struct drm_encoder *encoder) in sti_hda_encoder_enable()
691 static void sti_hda_encoder_disable(struct drm_encoder *encoder) in sti_hda_encoder_disable()
709 static struct drm_encoder *sti_tvout_create_hda_encoder(struct drm_device *dev, in sti_tvout_create_hda_encoder()
713 struct drm_encoder *drm_encoder; in sti_tvout_create_hda_encoder() local
721 drm_encoder = &encoder->encoder; in sti_tvout_create_hda_encoder()
723 drm_encoder->possible_crtcs = ENCODER_CRTC_MASK; in sti_tvout_create_hda_encoder()
725 drm_encoder_init(dev, drm_encoder, in sti_tvout_create_hda_encoder()
728 drm_encoder_helper_add(drm_encoder, &sti_hda_encoder_helper_funcs); in sti_tvout_create_hda_encoder()
730 return drm_encoder; in sti_tvout_create_hda_encoder()
733 static void sti_hdmi_encoder_enable(struct drm_encoder *encoder) in sti_hdmi_encoder_enable()
742 static void sti_hdmi_encoder_disable(struct drm_encoder *encoder) in sti_hdmi_encoder_disable()
757 static struct drm_encoder *sti_tvout_create_hdmi_encoder(struct drm_device *dev, in sti_tvout_create_hdmi_encoder()
761 struct drm_encoder *drm_encoder; in sti_tvout_create_hdmi_encoder() local
769 drm_encoder = &encoder->encoder; in sti_tvout_create_hdmi_encoder()
771 drm_encoder->possible_crtcs = ENCODER_CRTC_MASK; in sti_tvout_create_hdmi_encoder()
773 drm_encoder_init(dev, drm_encoder, in sti_tvout_create_hdmi_encoder()
776 drm_encoder_helper_add(drm_encoder, &sti_hdmi_encoder_helper_funcs); in sti_tvout_create_hdmi_encoder()
778 return drm_encoder; in sti_tvout_create_hdmi_encoder()