Home
last modified time | relevance | path

Searched refs:cvt_mode (Results 1 – 2 of 2) sorted by relevance

/drivers/video/fbdev/core/
Dmodedb.c765 struct fb_videomode cvt_mode; in fb_find_mode() local
774 memset(&cvt_mode, 0, sizeof(cvt_mode)); in fb_find_mode()
775 cvt_mode.xres = xres; in fb_find_mode()
776 cvt_mode.yres = yres; in fb_find_mode()
777 cvt_mode.refresh = (refresh) ? refresh : 60; in fb_find_mode()
780 cvt_mode.vmode |= FB_VMODE_INTERLACED; in fb_find_mode()
782 cvt_mode.vmode &= ~FB_VMODE_INTERLACED; in fb_find_mode()
784 ret = fb_find_mode_cvt(&cvt_mode, margins, rb); in fb_find_mode()
786 if (!ret && !fb_try_mode(var, info, &cvt_mode, bpp)) { in fb_find_mode()
/drivers/video/fbdev/savage/
Dsavagefb_driver.c2225 struct fb_videomode cvt_mode; in savagefb_probe() local
2227 memset(&cvt_mode, 0, sizeof(cvt_mode)); in savagefb_probe()
2228 cvt_mode.xres = par->SavagePanelWidth; in savagefb_probe()
2229 cvt_mode.yres = par->SavagePanelHeight; in savagefb_probe()
2230 cvt_mode.refresh = 60; in savagefb_probe()
2233 if (fb_find_mode_cvt(&cvt_mode, 0, 0)) in savagefb_probe()
2236 &cvt_mode, 0) != 3) in savagefb_probe()