Lines Matching refs:encoder

101 	struct drm_encoder		encoder;  member
130 return container_of(e, struct hdmi_context, encoder); in encoder_to_hdmi()
1030 return &hdata->encoder; in hdmi_best_encoder()
1039 static int hdmi_create_connector(struct drm_encoder *encoder) in hdmi_create_connector() argument
1041 struct hdmi_context *hdata = encoder_to_hdmi(encoder); in hdmi_create_connector()
1057 drm_mode_connector_attach_encoder(connector, encoder); in hdmi_create_connector()
1062 static bool hdmi_mode_fixup(struct drm_encoder *encoder, in hdmi_mode_fixup() argument
1066 struct drm_device *dev = encoder->dev; in hdmi_mode_fixup()
1074 if (connector->encoder == encoder) in hdmi_mode_fixup()
1078 if (connector->encoder != encoder) in hdmi_mode_fixup()
1568 static void hdmi_mode_set(struct drm_encoder *encoder, in hdmi_mode_set() argument
1572 struct hdmi_context *hdata = encoder_to_hdmi(encoder); in hdmi_mode_set()
1584 static void hdmi_enable(struct drm_encoder *encoder) in hdmi_enable() argument
1586 struct hdmi_context *hdata = encoder_to_hdmi(encoder); in hdmi_enable()
1608 static void hdmi_disable(struct drm_encoder *encoder) in hdmi_disable() argument
1610 struct hdmi_context *hdata = encoder_to_hdmi(encoder); in hdmi_disable()
1611 struct drm_crtc *crtc = encoder->crtc; in hdmi_disable()
1781 struct drm_encoder *encoder = &hdata->encoder; in hdmi_bind() local
1791 encoder->possible_crtcs = 1 << pipe; in hdmi_bind()
1793 DRM_DEBUG_KMS("possible_crtcs = 0x%x\n", encoder->possible_crtcs); in hdmi_bind()
1795 drm_encoder_init(drm_dev, encoder, &exynos_hdmi_encoder_funcs, in hdmi_bind()
1798 drm_encoder_helper_add(encoder, &exynos_hdmi_encoder_helper_funcs); in hdmi_bind()
1800 ret = hdmi_create_connector(encoder); in hdmi_bind()
1803 drm_encoder_cleanup(encoder); in hdmi_bind()