Lines Matching defs:mode

838 	/* color mode and horizontal resolution */
899 * Not used by X Windows or text-mode console. But useful for testing.
1194 /* Check whether a video mode is supported by the chip
1196 static int ufx_is_valid_mode(struct fb_videomode *mode,
1199 if ((mode->xres * mode->yres) > (2048 * 1152)) {
1201 mode->xres, mode->yres);
1205 if (mode->pixclock < 5000) {
1207 mode->xres, mode->yres, mode->pixclock);
1211 pr_debug("%dx%d (pixclk %dps %dMHz) valid mode", mode->xres, mode->yres,
1212 mode->pixclock, (1000000 / mode->pixclock));
1231 struct fb_videomode mode;
1237 /* set device-specific elements of var unrelated to mode */
1240 fb_var_to_videomode(&mode, var);
1242 if (!ufx_is_valid_mode(&mode, info))
1255 pr_debug("set_par mode %dx%d", info->var.xres, info->var.yres);
1274 /* In order to come back from full DPMS off, we need to set the mode again */
1356 /* set speed to std mode */
1363 /* enable restart conditions and master mode */
1371 check_warn_return(status, "error setting TX mode bits in 0x1004");
1482 * 3) Allocate virtual framebuffer memory to back highest res mode
1485 * fb_var_screeninfo contains the timing of the monitor's preferred mode
1490 * monspecs is NULL, and fb_var_screeninfo is set to safe VESA mode
1551 /* If we've got modes, let's pick a best default mode */
1558 else /* if we've removed top/best mode */
1566 /* If everything else has failed, fall back to safe default mode */
1593 /* If we have good mode and no active clients */
1599 /* with mode size info, we can now alloc our framebuffer */
1705 dev_dbg(dev->gdev, "selecting display mode");
1707 check_warn_goto_error(retval, "unable to find common mode for display and adapter");