Lines Matching refs:pipe

112 	int pipe = gma_crtc->pipe;  in psb_intel_crtc_mode_set()  local
113 const struct psb_offset *map = &dev_priv->regmap[pipe]; in psb_intel_crtc_mode_set()
207 if (pipe == 0) in psb_intel_crtc_mode_set()
218 if (psb_intel_panel_fitter_pipe(dev) == pipe) in psb_intel_crtc_mode_set()
238 if (pipe == 1) in psb_intel_crtc_mode_set()
313 int pipe = gma_crtc->pipe; in psb_intel_crtc_clock_get() local
314 const struct psb_offset *map = &dev_priv->regmap[pipe]; in psb_intel_crtc_clock_get()
319 struct psb_pipe *p = &dev_priv->regs.pipe[pipe]; in psb_intel_crtc_clock_get()
327 is_lvds = (pipe == 1) && (REG_READ(LVDS) & LVDS_PORT_EN); in psb_intel_crtc_clock_get()
337 is_lvds = (pipe == 1) && (dev_priv->regs.psb.saveLVDS & in psb_intel_crtc_clock_get()
388 int pipe = gma_crtc->pipe; in psb_intel_crtc_mode_get() local
395 struct psb_pipe *p = &dev_priv->regs.pipe[pipe]; in psb_intel_crtc_mode_get()
396 const struct psb_offset *map = &dev_priv->regmap[pipe]; in psb_intel_crtc_mode_get()
487 REG_WRITE(control[gma_crtc->pipe], 0); in psb_intel_cursor_init()
488 REG_WRITE(base[gma_crtc->pipe], 0); in psb_intel_cursor_init()
491 void psb_intel_crtc_init(struct drm_device *dev, int pipe, in psb_intel_crtc_init() argument
522 gma_crtc->pipe = pipe; in psb_intel_crtc_init()
523 gma_crtc->plane = pipe; in psb_intel_crtc_init()
547 BUG_ON(pipe >= ARRAY_SIZE(dev_priv->plane_to_crtc_mapping) || in psb_intel_crtc_init()
550 dev_priv->pipe_to_crtc_mapping[gma_crtc->pipe] = &gma_crtc->base; in psb_intel_crtc_init()
559 struct drm_crtc *psb_intel_get_crtc_from_pipe(struct drm_device *dev, int pipe) in psb_intel_get_crtc_from_pipe() argument
565 if (gma_crtc->pipe == pipe) in psb_intel_get_crtc_from_pipe()