Lines Matching defs:base
50 struct intel_encoder base;
61 struct intel_crt, base);
66 return container_of(encoder, struct intel_crt, base);
72 struct drm_device *dev = encoder->base.dev;
93 struct drm_i915_private *dev_priv = encoder->base.dev->dev_private;
116 struct drm_device *dev = encoder->base.dev;
152 intel_crt_set_dpms(encoder, crt->connector->base.dpms);
174 crtc = encoder->base.crtc;
232 struct drm_device *dev = encoder->base.dev;
460 struct drm_i915_private *dev_priv = crt->base.base.dev->dev_private;
464 BUG_ON(crt->base.type != INTEL_OUTPUT_ANALOG);
495 struct drm_device *dev = crt->base.base.dev;
497 uint32_t pipe = to_intel_crtc(crt->base.base.crtc)->pipe;
758 connector = &intel_connector->base;
760 (void) drm_connector_init(dev, &intel_connector->base,
763 (void) drm_encoder_init(dev, &crt->base.base, &intel_crt_enc_funcs,
766 intel_connector_attach_encoder(intel_connector, &crt->base);
768 crt->base.type = INTEL_OUTPUT_ANALOG;
769 crt->base.type_size = sizeof(struct intel_crt);
770 crt->base.cloneable = true;
772 crt->base.crtc_mask = (1 << 0);
774 crt->base.crtc_mask = (1 << 0) | (1 << 1) | (1 << 2);
789 crt->base.compute_config = intel_crt_compute_config;
790 crt->base.disable = intel_disable_crt;
791 crt->base.enable = intel_enable_crt;
792 crt->base.get_config = intel_crt_get_config;
794 crt->base.hpd_pin = HPD_CRT;
796 crt->base.get_hw_state = intel_ddi_get_hw_state;
798 crt->base.get_hw_state = intel_crt_get_hw_state;
801 drm_encoder_helper_add(&crt->base.base, &crt_encoder_funcs);