Lines Matching refs:encoder
105 static struct intel_dvo *enc_to_dvo(struct intel_encoder *encoder) in enc_to_dvo() argument
107 return container_of(encoder, struct intel_dvo, base); in enc_to_dvo()
130 static bool intel_dvo_get_hw_state(struct intel_encoder *encoder, in intel_dvo_get_hw_state() argument
133 struct drm_device *dev = encoder->base.dev; in intel_dvo_get_hw_state()
135 struct intel_dvo *intel_dvo = enc_to_dvo(encoder); in intel_dvo_get_hw_state()
148 static void intel_dvo_get_config(struct intel_encoder *encoder, in intel_dvo_get_config() argument
151 struct drm_i915_private *dev_priv = encoder->base.dev->dev_private; in intel_dvo_get_config()
152 struct intel_dvo *intel_dvo = enc_to_dvo(encoder); in intel_dvo_get_config()
170 static void intel_disable_dvo(struct intel_encoder *encoder) in intel_disable_dvo() argument
172 struct drm_i915_private *dev_priv = encoder->base.dev->dev_private; in intel_disable_dvo()
173 struct intel_dvo *intel_dvo = enc_to_dvo(encoder); in intel_disable_dvo()
182 static void intel_enable_dvo(struct intel_encoder *encoder) in intel_enable_dvo() argument
184 struct drm_i915_private *dev_priv = encoder->base.dev->dev_private; in intel_enable_dvo()
185 struct intel_dvo *intel_dvo = enc_to_dvo(encoder); in intel_enable_dvo()
186 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_enable_dvo()
230 static bool intel_dvo_compute_config(struct intel_encoder *encoder, in intel_dvo_compute_config() argument
233 struct intel_dvo *intel_dvo = enc_to_dvo(encoder); in intel_dvo_compute_config()
249 static void intel_dvo_pre_enable(struct intel_encoder *encoder) in intel_dvo_pre_enable() argument
251 struct drm_device *dev = encoder->base.dev; in intel_dvo_pre_enable()
253 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_dvo_pre_enable()
255 struct intel_dvo *intel_dvo = enc_to_dvo(encoder); in intel_dvo_pre_enable()
362 static void intel_dvo_enc_destroy(struct drm_encoder *encoder) in intel_dvo_enc_destroy() argument
364 struct intel_dvo *intel_dvo = enc_to_dvo(to_intel_encoder(encoder)); in intel_dvo_enc_destroy()
369 intel_encoder_destroy(encoder); in intel_dvo_enc_destroy()