Lines Matching refs:crtc
381 struct gma_crtc *gma_crtc = to_gma_crtc(encoder->crtc); in psb_intel_lvds_mode_fixup()
402 && tmp_encoder->crtc == encoder->crtc) { in psb_intel_lvds_mode_fixup()
581 struct gma_crtc *crtc = to_gma_crtc(encoder->crtc); in psb_intel_lvds_set_property() local
584 if (!crtc) in psb_intel_lvds_set_property()
611 if (crtc->saved_mode.hdisplay != 0 && in psb_intel_lvds_set_property()
612 crtc->saved_mode.vdisplay != 0) { in psb_intel_lvds_set_property()
613 if (!drm_crtc_helper_set_mode(encoder->crtc, in psb_intel_lvds_set_property()
614 &crtc->saved_mode, in psb_intel_lvds_set_property()
615 encoder->crtc->x, in psb_intel_lvds_set_property()
616 encoder->crtc->y, in psb_intel_lvds_set_property()
617 encoder->crtc->primary->fb)) in psb_intel_lvds_set_property()
692 struct drm_crtc *crtc; in psb_intel_lvds_init() local
808 crtc = psb_intel_get_crtc_from_pipe(dev, pipe); in psb_intel_lvds_init()
810 if (crtc && (lvds & LVDS_PORT_EN)) { in psb_intel_lvds_init()
812 psb_intel_crtc_mode_get(dev, crtc); in psb_intel_lvds_init()