Lines Matching refs:encoder

52 	 * encoder's enable/disable callbacks */
64 static struct intel_crt *intel_encoder_to_crt(struct intel_encoder *encoder)
66 return container_of(encoder, struct intel_crt, base);
69 static bool intel_crt_get_hw_state(struct intel_encoder *encoder,
72 struct drm_device *dev = encoder->base.dev;
74 struct intel_crt *crt = intel_encoder_to_crt(encoder);
90 static void intel_crt_get_config(struct intel_encoder *encoder,
93 struct drm_i915_private *dev_priv = encoder->base.dev->dev_private;
94 struct intel_crt *crt = intel_encoder_to_crt(encoder);
114 static void intel_crt_set_dpms(struct intel_encoder *encoder, int mode)
116 struct drm_device *dev = encoder->base.dev;
118 struct intel_crt *crt = intel_encoder_to_crt(encoder);
143 static void intel_disable_crt(struct intel_encoder *encoder)
145 intel_crt_set_dpms(encoder, DRM_MODE_DPMS_OFF);
148 static void intel_enable_crt(struct intel_encoder *encoder)
150 struct intel_crt *crt = intel_encoder_to_crt(encoder);
152 intel_crt_set_dpms(encoder, crt->connector->base.dpms);
159 struct intel_encoder *encoder = intel_attached_encoder(connector);
174 crtc = encoder->base.crtc;
176 encoder->connectors_active = false;
182 encoder->connectors_active = false;
184 encoder->connectors_active = true;
192 intel_crt_set_dpms(encoder, mode);
194 intel_crt_set_dpms(encoder, mode);
229 static bool intel_crt_compute_config(struct intel_encoder *encoder,
232 struct drm_device *dev = encoder->base.dev;
244 static void intel_crt_mode_set(struct drm_encoder *encoder,
250 struct drm_device *dev = encoder->dev;
251 struct drm_crtc *crtc = encoder->crtc;
253 intel_encoder_to_crt(to_intel_encoder(encoder));