Lines Matching refs:crtc
368 struct gma_crtc *gma_crtc = to_gma_crtc(encoder->crtc); in psb_intel_lvds_mode_fixup()
389 && tmp_encoder->crtc == encoder->crtc) { in psb_intel_lvds_mode_fixup()
537 struct gma_crtc *crtc = to_gma_crtc(encoder->crtc); in psb_intel_lvds_set_property() local
540 if (!crtc) in psb_intel_lvds_set_property()
567 if (crtc->saved_mode.hdisplay != 0 && in psb_intel_lvds_set_property()
568 crtc->saved_mode.vdisplay != 0) { in psb_intel_lvds_set_property()
569 if (!drm_crtc_helper_set_mode(encoder->crtc, in psb_intel_lvds_set_property()
570 &crtc->saved_mode, in psb_intel_lvds_set_property()
571 encoder->crtc->x, in psb_intel_lvds_set_property()
572 encoder->crtc->y, in psb_intel_lvds_set_property()
573 encoder->crtc->primary->fb)) in psb_intel_lvds_set_property()
634 struct drm_crtc *crtc; in psb_intel_lvds_init() local
762 crtc = psb_intel_get_crtc_from_pipe(dev, pipe); in psb_intel_lvds_init()
764 if (crtc && (lvds & LVDS_PORT_EN)) { in psb_intel_lvds_init()
766 psb_intel_crtc_mode_get(dev, crtc); in psb_intel_lvds_init()