Lines Matching refs:intel_encoder
99 struct intel_encoder base;
125 static bool intel_dvo_get_hw_state(struct intel_encoder *encoder,
143 static void intel_dvo_get_config(struct intel_encoder *encoder,
163 static void intel_disable_dvo(struct intel_encoder *encoder)
175 static void intel_enable_dvo(struct intel_encoder *encoder)
453 struct intel_encoder *intel_encoder;
469 intel_encoder = &intel_dvo->base;
470 (void) drm_encoder_init(dev, &intel_encoder->base,
473 intel_encoder->disable = intel_disable_dvo;
474 intel_encoder->enable = intel_enable_dvo;
475 intel_encoder->get_hw_state = intel_dvo_get_hw_state;
476 intel_encoder->get_config = intel_dvo_get_config;
507 intel_encoder->type = INTEL_OUTPUT_DVO;
508 intel_encoder->type_size = sizeof(struct intel_dvo);
509 intel_encoder->crtc_mask = (1 << 0) | (1 << 1);
512 intel_encoder->cloneable = true;
519 intel_encoder->cloneable = false;
533 drm_encoder_helper_add(&intel_encoder->base,
536 intel_connector_attach_encoder(intel_connector, intel_encoder);
554 drm_encoder_cleanup(&intel_encoder->base);