Lines Matching refs:crtc

40 				    struct drm_crtc *crtc, int target,
44 struct drm_crtc *crtc, int target,
83 static const struct gma_limit_t *mrst_limit(struct drm_crtc *crtc, in mrst_limit() argument
87 struct drm_device *dev = crtc->dev; in mrst_limit()
90 if (gma_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) in mrst_limit()
91 || gma_pipe_has_type(crtc, INTEL_OUTPUT_MIPI)) { in mrst_limit()
103 } else if (gma_pipe_has_type(crtc, INTEL_OUTPUT_SDVO)) { in mrst_limit()
127 struct drm_crtc *crtc, int target, in mrst_sdvo_find_best_pll() argument
185 struct drm_crtc *crtc, int target, in mrst_lvds_find_best_pll() argument
217 static void oaktrail_crtc_dpms(struct drm_crtc *crtc, int mode) in oaktrail_crtc_dpms() argument
219 struct drm_device *dev = crtc->dev; in oaktrail_crtc_dpms()
221 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in oaktrail_crtc_dpms()
226 int need_aux = gma_pipe_has_type(crtc, INTEL_OUTPUT_SDVO) ? 1 : 0; in oaktrail_crtc_dpms()
228 if (gma_pipe_has_type(crtc, INTEL_OUTPUT_HDMI)) { in oaktrail_crtc_dpms()
229 oaktrail_crtc_hdmi_dpms(crtc, mode); in oaktrail_crtc_dpms()
282 gma_crtc_load_lut(crtc); in oaktrail_crtc_dpms()
359 static int oaktrail_crtc_mode_set(struct drm_crtc *crtc, in oaktrail_crtc_mode_set() argument
365 struct drm_device *dev = crtc->dev; in oaktrail_crtc_mode_set()
366 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in oaktrail_crtc_mode_set()
382 int need_aux = gma_pipe_has_type(crtc, INTEL_OUTPUT_SDVO) ? 1 : 0; in oaktrail_crtc_mode_set()
384 if (gma_pipe_has_type(crtc, INTEL_OUTPUT_HDMI)) in oaktrail_crtc_mode_set()
385 return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in oaktrail_crtc_mode_set()
395 if (!connector->encoder || connector->encoder->crtc != crtc) in oaktrail_crtc_mode_set()
483 crtc->helper_private; in oaktrail_crtc_mode_set()
484 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set()
506 limit = mrst_limit(crtc, refclk); in oaktrail_crtc_mode_set()
507 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, in oaktrail_crtc_mode_set()
592 static int oaktrail_pipe_set_base(struct drm_crtc *crtc, in oaktrail_pipe_set_base() argument
595 struct drm_device *dev = crtc->dev; in oaktrail_pipe_set_base()
597 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in oaktrail_pipe_set_base()
598 struct drm_framebuffer *fb = crtc->primary->fb; in oaktrail_pipe_set_base()