Lines Matching refs:intel_encoder
653 static bool intel_hdmi_get_hw_state(struct intel_encoder *encoder,
674 static void intel_hdmi_get_config(struct intel_encoder *encoder,
696 static void intel_enable_hdmi(struct intel_encoder *encoder)
745 static void intel_disable_hdmi(struct intel_encoder *encoder)
827 bool intel_hdmi_compute_config(struct intel_encoder *encoder,
890 struct intel_encoder *intel_encoder = &intel_dig_port->base;
919 intel_encoder->type = INTEL_OUTPUT_HDMI;
1030 static void intel_hdmi_pre_enable(struct intel_encoder *encoder)
1077 static void intel_hdmi_pre_pll_enable(struct intel_encoder *encoder)
1108 static void intel_hdmi_post_disable(struct intel_encoder *encoder)
1161 struct intel_encoder *intel_encoder = &intel_dig_port->base;
1162 struct drm_device *dev = intel_encoder->base.dev;
1176 intel_encoder->hpd_pin = HPD_PORT_B;
1180 intel_encoder->hpd_pin = HPD_PORT_C;
1184 intel_encoder->hpd_pin = HPD_PORT_D;
1187 intel_encoder->hpd_pin = HPD_PORT_A;
1217 intel_connector_attach_encoder(intel_connector, intel_encoder);
1233 struct intel_encoder *intel_encoder;
1246 intel_encoder = &intel_dig_port->base;
1248 drm_encoder_init(dev, &intel_encoder->base, &intel_hdmi_enc_funcs,
1251 drm_encoder_helper_add(&intel_encoder->base, &intel_hdmi_helper_funcs);
1253 intel_encoder->compute_config = intel_hdmi_compute_config;
1254 intel_encoder->enable = intel_enable_hdmi;
1255 intel_encoder->disable = intel_disable_hdmi;
1256 intel_encoder->get_hw_state = intel_hdmi_get_hw_state;
1257 intel_encoder->get_config = intel_hdmi_get_config;
1259 intel_encoder->pre_enable = intel_hdmi_pre_enable;
1260 intel_encoder->pre_pll_enable = intel_hdmi_pre_pll_enable;
1261 intel_encoder->post_disable = intel_hdmi_post_disable;
1264 intel_encoder->type = INTEL_OUTPUT_HDMI;
1265 intel_encoder->type_size = sizeof(struct intel_digital_port);
1266 intel_encoder->crtc_mask = (1 << 0) | (1 << 1) | (1 << 2);
1267 intel_encoder->cloneable = false;