Lines Matching defs:mode
188 static void intel_dvo_dpms(struct drm_connector *connector, int mode)
194 if (mode != DRM_MODE_DPMS_ON)
195 mode = DRM_MODE_DPMS_OFF;
197 if (mode == connector->dpms)
200 connector->dpms = mode;
211 if (mode == DRM_MODE_DPMS_ON) {
229 struct drm_display_mode *mode)
233 if (mode->flags & DRM_MODE_FLAG_DBLSCAN)
239 if (mode->hdisplay > intel_dvo->panel_fixed_mode->hdisplay)
241 if (mode->vdisplay > intel_dvo->panel_fixed_mode->vdisplay)
245 return intel_dvo->dev.dev_ops->mode_valid(&intel_dvo->dev, mode);
249 const struct drm_display_mode *mode,
255 * to the adjusted mode. The CRTC will be set up for this mode,
257 * of the original mode.
274 return intel_dvo->dev.dev_ops->mode_fixup(&intel_dvo->dev, mode, adjusted_mode);
280 struct drm_display_mode *mode,
305 intel_dvo->dev.dev_ops->mode_set(&intel_dvo->dev, mode, adjusted_mode);
361 struct drm_display_mode *mode;
362 mode = drm_mode_duplicate(connector->dev, intel_dvo->panel_fixed_mode);
363 if (mode) {
364 drm_mode_probed_add(connector, mode);
425 struct drm_display_mode *mode = NULL;
436 mode = intel_crtc_mode_get(dev, crtc);
437 if (mode) {
438 mode->type |= DRM_MODE_TYPE_PREFERRED;
440 mode->flags |= DRM_MODE_FLAG_PHSYNC;
442 mode->flags |= DRM_MODE_FLAG_PVSYNC;
447 return mode;
539 * to dig the fixed panel mode out of the BIOS data.
543 * mode being output through DVO.