Lines Matching defs:intel_encoder

628 	/* OSOL_i915: dp_priv->adapter.dev.parent = &intel_encoder->base.kdev; */
637 intel_dp_set_clock(struct intel_encoder *encoder,
680 intel_dp_compute_config(struct intel_encoder *encoder,
1292 static bool intel_dp_get_hw_state(struct intel_encoder *encoder,
1342 static void intel_dp_get_config(struct intel_encoder *encoder,
1379 static void intel_disable_dp(struct intel_encoder *encoder)
1397 static void intel_post_disable_dp(struct intel_encoder *encoder)
1410 static void intel_enable_dp(struct intel_encoder *encoder)
1440 static void intel_pre_enable_dp(struct intel_encoder *encoder)
1473 static void intel_dp_pre_pll_enable(struct intel_encoder *encoder)
2364 struct intel_encoder *intel_encoder = &dp_to_dig_port(intel_dp)->base;
2368 if (!intel_encoder->connectors_active)
2371 if (!intel_encoder->base.crtc)
2402 drm_get_encoder_name(&intel_encoder->base));
2558 struct intel_encoder *intel_encoder = &intel_dig_port->base;
2585 if (intel_encoder->type != INTEL_OUTPUT_EDP)
2586 intel_encoder->type = INTEL_OUTPUT_DISPLAYPORT;
2640 struct intel_encoder *intel_encoder = intel_attached_encoder(connector);
2641 struct intel_dp *intel_dp = enc_to_intel_dp(&intel_encoder->base);
2715 if (intel_encoder->base.crtc)
2716 intel_crtc_restore_mode(intel_encoder->base.crtc);
2781 intel_dp_hot_plug(struct intel_encoder *intel_encoder)
2783 struct intel_dp *intel_dp = enc_to_intel_dp(&intel_encoder->base);
2793 struct intel_encoder *intel_encoder;
2796 for_each_encoder_on_crtc(dev, crtc, intel_encoder) {
2797 intel_dp = enc_to_intel_dp(&intel_encoder->base);
2799 if (intel_encoder->type == INTEL_OUTPUT_DISPLAYPORT ||
2800 intel_encoder->type == INTEL_OUTPUT_EDP)
3082 struct intel_encoder *intel_encoder = &intel_dig_port->base;
3083 struct drm_device *dev = intel_encoder->base.dev;
3120 intel_encoder->type = INTEL_OUTPUT_EDP;
3134 intel_connector_attach_encoder(intel_connector, intel_encoder);
3164 intel_encoder->hpd_pin = HPD_PORT_A;
3168 intel_encoder->hpd_pin = HPD_PORT_B;
3172 intel_encoder->hpd_pin = HPD_PORT_C;
3176 intel_encoder->hpd_pin = HPD_PORT_D;
3221 struct intel_encoder *intel_encoder;
3235 intel_encoder = &intel_dig_port->base;
3236 encoder = &intel_encoder->base;
3238 drm_encoder_init(dev, &intel_encoder->base, &intel_dp_enc_funcs,
3240 drm_encoder_helper_add(&intel_encoder->base, &intel_dp_helper_funcs);
3242 intel_encoder->compute_config = intel_dp_compute_config;
3243 intel_encoder->enable = intel_enable_dp;
3244 intel_encoder->pre_enable = intel_pre_enable_dp;
3245 intel_encoder->disable = intel_disable_dp;
3246 intel_encoder->post_disable = intel_post_disable_dp;
3247 intel_encoder->get_hw_state = intel_dp_get_hw_state;
3248 intel_encoder->get_config = intel_dp_get_config;
3250 intel_encoder->pre_pll_enable = intel_dp_pre_pll_enable;
3255 intel_encoder->type = INTEL_OUTPUT_DISPLAYPORT;
3256 intel_encoder->crtc_mask = (1 << 0) | (1 << 1) | (1 << 2);
3257 intel_encoder->cloneable = false;
3258 intel_encoder->hot_plug = intel_dp_hot_plug;