Lines Matching defs:pipe
77 * Return the pipe currently connected to the panel fitter,
103 int pipe = gma_crtc->pipe;
104 const struct psb_offset *map = &dev_priv->regmap[pipe];
202 if (pipe == 0)
212 /* Disable the panel fitter if it was on our pipe */
213 if (psb_intel_panel_fitter_pipe(dev) == pipe)
233 if (pipe == 1)
302 /* Returns the clock of the currently programmed mode of the given pipe. */
308 int pipe = gma_crtc->pipe;
309 const struct psb_offset *map = &dev_priv->regmap[pipe];
314 struct psb_pipe *p = &dev_priv->regs.pipe[pipe];
322 is_lvds = (pipe == 1) && (REG_READ(LVDS) & LVDS_PORT_EN);
332 is_lvds = (pipe == 1) && (dev_priv->regs.psb.saveLVDS &
378 /** Returns the currently programmed mode of the given pipe. */
383 int pipe = gma_crtc->pipe;
390 struct psb_pipe *p = &dev_priv->regs.pipe[pipe];
391 const struct psb_offset *map = &dev_priv->regmap[pipe];
469 REG_WRITE(control[gma_crtc->pipe], 0);
470 REG_WRITE(base[gma_crtc->pipe], 0);
473 void psb_intel_crtc_init(struct drm_device *dev, int pipe,
502 gma_crtc->pipe = pipe;
503 gma_crtc->plane = pipe;
516 BUG_ON(pipe >= ARRAY_SIZE(dev_priv->plane_to_crtc_mapping) ||
519 dev_priv->pipe_to_crtc_mapping[gma_crtc->pipe] = &gma_crtc->base;
524 /* Set to true so that the pipe is forced off on initial config. */
528 struct drm_crtc *psb_intel_get_crtc_from_pipe(struct drm_device *dev, int pipe)
535 if (gma_crtc->pipe == pipe)