Lines Matching refs:encoder
637 intel_dp_set_clock(struct intel_encoder *encoder,
640 struct drm_device *dev = encoder->base.dev;
680 intel_dp_compute_config(struct intel_encoder *encoder,
683 struct drm_device *dev = encoder->base.dev;
686 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base);
688 struct intel_crtc *intel_crtc = encoder->new_crtc;
775 intel_dp_set_clock(encoder, pipe_config, intel_dp->link_bw);
827 intel_dp_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode,
830 struct drm_device *dev = encoder->dev;
832 struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
834 struct intel_crtc *crtc = to_intel_crtc(encoder->crtc);
866 intel_write_eld(encoder, adjusted_mode);
1292 static bool intel_dp_get_hw_state(struct intel_encoder *encoder,
1295 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base);
1297 struct drm_device *dev = encoder->base.dev;
1342 static void intel_dp_get_config(struct intel_encoder *encoder,
1345 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base);
1347 struct drm_device *dev = encoder->base.dev;
1350 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc);
1379 static void intel_disable_dp(struct intel_encoder *encoder)
1381 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base);
1383 struct drm_device *dev = encoder->base.dev;
1397 static void intel_post_disable_dp(struct intel_encoder *encoder)
1399 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base);
1401 struct drm_device *dev = encoder->base.dev;
1410 static void intel_enable_dp(struct intel_encoder *encoder)
1412 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base);
1413 struct drm_device *dev = encoder->base.dev;
1433 enc_to_dig_port(&encoder->base);
1440 static void intel_pre_enable_dp(struct intel_encoder *encoder)
1442 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base);
1444 struct drm_device *dev = encoder->base.dev;
1452 to_intel_crtc(encoder->base.crtc);
1473 static void intel_dp_pre_pll_enable(struct intel_encoder *encoder)
1475 struct intel_digital_port *dport = enc_to_dig_port(&encoder->base);
1476 struct drm_device *dev = encoder->base.dev;
2045 struct drm_encoder *encoder = &dp_to_dig_port(intel_dp)->base.base;
2046 struct drm_device *dev = encoder->dev;
2055 intel_ddi_prepare_link_retrain(encoder);
2729 /* Can't call is_edp() since the encoder may have been destroyed
2738 void intel_dp_encoder_destroy(struct drm_encoder *encoder)
2740 struct intel_digital_port *intel_dig_port = enc_to_dig_port(encoder);
2745 drm_encoder_cleanup(encoder);
3115 * For eDP we always set the encoder type to INTEL_OUTPUT_EDP, but
3116 * for DP the encoder type can be set by the caller to
3222 struct drm_encoder *encoder;
3236 encoder = &intel_encoder->base;
3261 drm_encoder_cleanup(encoder);