Lines Matching defs:crtc
111 struct intel_crtc *crtc;
117 crtc = to_intel_crtc(dev_priv->pipe_to_crtc_mapping[pipe]);
119 if (crtc->cpu_fifo_underrun_disabled)
130 struct intel_crtc *crtc;
133 crtc = to_intel_crtc(dev_priv->pipe_to_crtc_mapping[pipe]);
135 if (crtc->pch_fifo_underrun_disabled)
174 static void ibx_set_fifo_underrun_reporting(struct intel_crtc *crtc,
177 struct drm_device *dev = crtc->base.dev;
179 uint32_t bit = (crtc->pipe == PIPE_A) ? SDE_TRANSA_FIFO_UNDER :
230 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe];
231 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
274 struct drm_crtc *crtc;
280 crtc = NULL;
284 crtc = c;
288 if (!crtc) {
293 crtc = dev_priv->pipe_to_crtc_mapping[pch_transcoder];
295 intel_crtc = to_intel_crtc(crtc);
362 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe];
363 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
371 /* Called from drm generic code, passed a 'crtc', which
493 struct drm_crtc *crtc;
496 DRM_ERROR("Invalid crtc %d\n", pipe);
501 crtc = intel_get_crtc_for_pipe(dev, pipe);
502 if (crtc == NULL) {
503 DRM_ERROR("Invalid crtc %d\n", pipe);
507 if (!crtc->enabled) {
508 DRM_DEBUG_KMS("crtc %d is disabled\n", pipe);
515 crtc);
2103 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe];
2104 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
2134 crtc->y * crtc->fb->pitches[0] +
2135 crtc->x * crtc->fb->bits_per_pixel/8);
2146 /* Called from drm generic code, passed 'crtc' which
2228 /* Called from drm generic code, passed 'crtc' which