Lines Matching defs:mode
284 struct drm_display_mode *mode)
287 ("%s: is mode valid (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d)\n",
288 __FUNCTION__, mode->hdisplay, mode->htotal, mode->vdisplay,
289 mode->vtotal);
297 if ((mode->hdisplay == 800 && mode->vdisplay == 600) ||
298 (mode->hdisplay == 640 && mode->vdisplay == 480) ||
299 (mode->hdisplay == 1024 && mode->vdisplay == 768)) {
307 struct drm_display_mode *mode,
315 ("%s: set mode (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d).\n",
316 __FUNCTION__, mode->hdisplay, mode->htotal, mode->vdisplay,
317 mode->vtotal);
328 if (mode->hdisplay == 800 && mode->vdisplay == 600) {
329 /* mode 277 */
393 } else if (mode->hdisplay == 640 && mode->vdisplay == 480) {
394 /* mode 274 */
458 } else if (mode->hdisplay == 1024 && mode->vdisplay == 768) {
459 /* mode 280 */