Lines Matching refs:intel_encoder
65 static enum port intel_ddi_get_encoder_port(struct intel_encoder *intel_encoder)
67 struct drm_encoder *encoder = &intel_encoder->base;
68 int type = intel_encoder->type;
293 struct intel_encoder *intel_encoder = to_intel_encoder(encoder);
294 int port = intel_ddi_get_encoder_port(intel_encoder);
296 int type = intel_encoder->type;
342 static struct intel_encoder *
347 struct intel_encoder *intel_encoder, *ret = NULL;
350 for_each_encoder_on_crtc(dev, crtc, intel_encoder) {
351 ret = intel_encoder;
637 struct intel_encoder *intel_encoder = intel_ddi_get_crtc_encoder(crtc);
638 struct drm_encoder *encoder = &intel_encoder->base;
641 int type = intel_encoder->type;
734 struct intel_encoder *intel_encoder = intel_ddi_get_crtc_encoder(crtc);
736 int type = intel_encoder->type;
765 struct intel_encoder *intel_encoder = intel_ddi_get_crtc_encoder(crtc);
766 struct drm_encoder *encoder = &intel_encoder->base;
770 enum port port = intel_ddi_get_encoder_port(intel_encoder);
771 int type = intel_encoder->type;
843 intel_encoder->type, pipe_name(pipe));
865 struct intel_encoder *intel_encoder = intel_connector->encoder;
867 enum port port = intel_ddi_get_encoder_port(intel_encoder);
872 if (!intel_encoder->get_hw_state(intel_encoder, &pipe))
901 bool intel_ddi_get_hw_state(struct intel_encoder *encoder,
1017 struct intel_encoder *intel_encoder = intel_ddi_get_crtc_encoder(crtc);
1018 enum port port = intel_ddi_get_encoder_port(intel_encoder);
1036 static void intel_ddi_pre_enable(struct intel_encoder *intel_encoder)
1038 struct drm_encoder *encoder = &intel_encoder->base;
1042 enum port port = intel_ddi_get_encoder_port(intel_encoder);
1043 int type = intel_encoder->type;
1066 static void intel_ddi_post_disable(struct intel_encoder *intel_encoder)
1068 struct drm_encoder *encoder = &intel_encoder->base;
1070 enum port port = intel_ddi_get_encoder_port(intel_encoder);
1071 int type = intel_encoder->type;
1099 static void intel_enable_ddi(struct intel_encoder *intel_encoder)
1101 struct drm_encoder *encoder = &intel_encoder->base;
1107 enum port port = intel_ddi_get_encoder_port(intel_encoder);
1108 int type = intel_encoder->type;
1138 static void intel_disable_ddi(struct intel_encoder *intel_encoder)
1140 struct drm_encoder *encoder = &intel_encoder->base;
1144 int type = intel_encoder->type;
1240 struct intel_encoder *intel_encoder = intel_ddi_get_crtc_encoder(crtc);
1243 intel_ddi_post_disable(intel_encoder);
1263 static void intel_ddi_hot_plug(struct intel_encoder *intel_encoder)
1265 struct intel_dp *intel_dp = enc_to_intel_dp(&intel_encoder->base);
1266 int type = intel_encoder->type;
1272 static void intel_ddi_get_config(struct intel_encoder *encoder,
1299 static bool intel_ddi_compute_config(struct intel_encoder *encoder,
1329 struct intel_encoder *intel_encoder;
1345 intel_encoder = &intel_dig_port->base;
1346 encoder = &intel_encoder->base;
1352 intel_encoder->compute_config = intel_ddi_compute_config;
1353 intel_encoder->enable = intel_enable_ddi;
1354 intel_encoder->pre_enable = intel_ddi_pre_enable;
1355 intel_encoder->disable = intel_disable_ddi;
1356 intel_encoder->post_disable = intel_ddi_post_disable;
1357 intel_encoder->get_hw_state = intel_ddi_get_hw_state;
1358 intel_encoder->get_config = intel_ddi_get_config;
1366 intel_encoder->type = INTEL_OUTPUT_UNKNOWN;
1367 intel_encoder->crtc_mask = (1 << 0) | (1 << 1) | (1 << 2);
1368 intel_encoder->cloneable = false;
1369 intel_encoder->hot_plug = intel_ddi_hot_plug;
1378 if (intel_encoder->type != INTEL_OUTPUT_EDP) {