modedb 621 drivers/video/fbdev/acornfb.c static struct fb_videomode modedb[] = { modedb 988 drivers/video/fbdev/acornfb.c for (i = 0; i < ARRAY_SIZE(modedb); i++) { modedb 991 drivers/video/fbdev/acornfb.c hs = modedb[i].refresh * modedb 992 drivers/video/fbdev/acornfb.c (modedb[i].yres + modedb[i].upper_margin + modedb 993 drivers/video/fbdev/acornfb.c modedb[i].lower_margin + modedb[i].vsync_len); modedb 994 drivers/video/fbdev/acornfb.c if (modedb[i].xres == DEFAULT_XRES && modedb 995 drivers/video/fbdev/acornfb.c modedb[i].yres == DEFAULT_YRES && modedb 996 drivers/video/fbdev/acornfb.c modedb[i].refresh >= fb_info.monspecs.vfmin && modedb 997 drivers/video/fbdev/acornfb.c modedb[i].refresh <= fb_info.monspecs.vfmax && modedb 1000 drivers/video/fbdev/acornfb.c acornfb_default_mode = modedb[i]; modedb 1061 drivers/video/fbdev/acornfb.c rc = fb_find_mode(&fb_info.var, &fb_info, NULL, modedb, modedb 1062 drivers/video/fbdev/acornfb.c ARRAY_SIZE(modedb), modedb 1078 drivers/video/fbdev/acornfb.c rc = fb_find_mode(&fb_info.var, &fb_info, NULL, modedb, modedb 1079 drivers/video/fbdev/acornfb.c ARRAY_SIZE(modedb), modedb 832 drivers/video/fbdev/aty/radeon_monitor.c fb_videomode_to_modelist(info->monspecs.modedb, modedb 835 drivers/video/fbdev/aty/radeon_monitor.c rinfo->mon1_modedb = info->monspecs.modedb; modedb 846 drivers/video/fbdev/aty/radeon_monitor.c struct fb_videomode *modedb; modedb 864 drivers/video/fbdev/aty/radeon_monitor.c modedb = rinfo->mon1_modedb; modedb 868 drivers/video/fbdev/aty/radeon_monitor.c modedb, dbsize, NULL, 8) == 0) { modedb 883 drivers/video/fbdev/aty/radeon_monitor.c info->monspecs.modedb, modedb 898 drivers/video/fbdev/aty/radeon_monitor.c info->monspecs.modedb, modedb 907 drivers/video/fbdev/aty/radeon_monitor.c if (!has_default_mode && info->monspecs.modedb != NULL) { modedb 909 drivers/video/fbdev/aty/radeon_monitor.c struct fb_videomode *modedb = NULL; modedb 916 drivers/video/fbdev/aty/radeon_monitor.c if (specs->modedb[i].flag & FB_MODE_IS_FIRST) { modedb 917 drivers/video/fbdev/aty/radeon_monitor.c modedb = &specs->modedb[i]; modedb 923 drivers/video/fbdev/aty/radeon_monitor.c modedb = &specs->modedb[0]; modedb 925 drivers/video/fbdev/aty/radeon_monitor.c if (modedb != NULL) { modedb 927 drivers/video/fbdev/aty/radeon_monitor.c radeon_videomode_to_var(&info->var, modedb); modedb 365 drivers/video/fbdev/au1200fb.c .modedb = NULL, modedb 393 drivers/video/fbdev/au1200fb.c .modedb = NULL, modedb 420 drivers/video/fbdev/au1200fb.c .modedb = NULL, modedb 447 drivers/video/fbdev/au1200fb.c .modedb = NULL, modedb 474 drivers/video/fbdev/au1200fb.c .modedb = NULL, modedb 501 drivers/video/fbdev/au1200fb.c .modedb = NULL, modedb 528 drivers/video/fbdev/au1200fb.c .modedb = NULL, modedb 558 drivers/video/fbdev/au1200fb.c .modedb = NULL, modedb 588 drivers/video/fbdev/au1200fb.c .modedb = NULL, modedb 617 drivers/video/fbdev/au1200fb.c .modedb = NULL, modedb 1538 drivers/video/fbdev/au1200fb.c fbi->monspecs.modedb, modedb 1540 drivers/video/fbdev/au1200fb.c fbi->monspecs.modedb, modedb 689 drivers/video/fbdev/core/fbmon.c void fb_destroy_modedb(struct fb_videomode *modedb) modedb 691 drivers/video/fbdev/core/fbmon.c kfree(modedb); modedb 980 drivers/video/fbdev/core/fbmon.c specs->modedb = fb_create_modedb(edid, &specs->modedb_len, specs); modedb 981 drivers/video/fbdev/core/fbmon.c if (!specs->modedb) modedb 990 drivers/video/fbdev/core/fbmon.c if (specs->modedb[i].flag & FB_MODE_IS_DETAILED) { modedb 1411 drivers/video/fbdev/core/fbmon.c void fb_destroy_modedb(struct fb_videomode *modedb) modedb 36 drivers/video/fbdev/core/modedb.c static const struct fb_videomode modedb[] = { modedb 627 drivers/video/fbdev/core/modedb.c db = modedb; modedb 628 drivers/video/fbdev/core/modedb.c dbsize = ARRAY_SIZE(modedb); modedb 760 drivers/video/fbdev/core/modedb.c if (db != modedb && modedb 1130 drivers/video/fbdev/core/modedb.c void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num, modedb 1138 drivers/video/fbdev/core/modedb.c if (fb_add_videomode(&modedb[i], head)) modedb 1490 drivers/video/fbdev/fsl-diu-fb.c fb_videomode_to_modelist(info->monspecs.modedb, modedb 1493 drivers/video/fbdev/fsl-diu-fb.c db = info->monspecs.modedb; modedb 1521 drivers/video/fbdev/fsl-diu-fb.c if (!has_default_mode && info->monspecs.modedb) { modedb 1523 drivers/video/fbdev/fsl-diu-fb.c struct fb_videomode *modedb = &specs->modedb[0]; modedb 1533 drivers/video/fbdev/fsl-diu-fb.c if (specs->modedb[i].flag & FB_MODE_IS_FIRST) { modedb 1534 drivers/video/fbdev/fsl-diu-fb.c modedb = &specs->modedb[i]; modedb 1541 drivers/video/fbdev/fsl-diu-fb.c fb_videomode_to_var(&info->var, modedb); modedb 114 drivers/video/fbdev/geode/gxfb_core.c static void get_modedb(struct fb_videomode **modedb, unsigned int *size) modedb 117 drivers/video/fbdev/geode/gxfb_core.c *modedb = (struct fb_videomode *) gx_dcon_modedb; modedb 120 drivers/video/fbdev/geode/gxfb_core.c *modedb = (struct fb_videomode *) gx_modedb; modedb 224 drivers/video/fbdev/geode/lxfb_core.c static void get_modedb(struct fb_videomode **modedb, unsigned int *size) modedb 227 drivers/video/fbdev/geode/lxfb_core.c *modedb = (struct fb_videomode *) olpc_dcon_modedb; modedb 230 drivers/video/fbdev/geode/lxfb_core.c *modedb = (struct fb_videomode *) geode_modedb; modedb 1075 drivers/video/fbdev/i740fb.c if (!info->monspecs.modedb) modedb 1082 drivers/video/fbdev/i740fb.c info->monspecs.modedb, modedb 1102 drivers/video/fbdev/i740fb.c info->monspecs.modedb, modedb 1112 drivers/video/fbdev/i740fb.c fb_destroy_modedb(info->monspecs.modedb); modedb 1113 drivers/video/fbdev/i740fb.c info->monspecs.modedb = NULL; modedb 1925 drivers/video/fbdev/i810/i810_main.c if (specs->modedb == NULL) modedb 1928 drivers/video/fbdev/i810/i810_main.c fb_videomode_to_modelist(specs->modedb, specs->modedb_len, modedb 1930 drivers/video/fbdev/i810/i810_main.c if (specs->modedb != NULL) { modedb 1950 drivers/video/fbdev/i810/i810_main.c fb_find_mode(&var, info, mode_option, specs->modedb, modedb 1955 drivers/video/fbdev/i810/i810_main.c fb_destroy_modedb(specs->modedb); modedb 1956 drivers/video/fbdev/i810/i810_main.c specs->modedb = NULL; modedb 1036 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->info->monspecs.modedb, modedb 1769 drivers/video/fbdev/neofb.c info->monspecs.modedb = kmalloc(sizeof(struct fb_videomode), GFP_KERNEL); modedb 1770 drivers/video/fbdev/neofb.c if (!info->monspecs.modedb) modedb 1794 drivers/video/fbdev/neofb.c memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); modedb 1800 drivers/video/fbdev/neofb.c memcpy(info->monspecs.modedb, &mode800x480, sizeof(struct fb_videomode)); modedb 1804 drivers/video/fbdev/neofb.c memcpy(info->monspecs.modedb, &vesa_modes[8], sizeof(struct fb_videomode)); modedb 1811 drivers/video/fbdev/neofb.c memcpy(info->monspecs.modedb, &vesa_modes[13], sizeof(struct fb_videomode)); modedb 1818 drivers/video/fbdev/neofb.c memcpy(info->monspecs.modedb, &vesa_modes[20], sizeof(struct fb_videomode)); modedb 1829 drivers/video/fbdev/neofb.c memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); modedb 2064 drivers/video/fbdev/neofb.c info->monspecs.modedb, 16)) { modedb 2110 drivers/video/fbdev/neofb.c fb_destroy_modedb(info->monspecs.modedb); modedb 2128 drivers/video/fbdev/neofb.c fb_destroy_modedb(info->monspecs.modedb); modedb 589 drivers/video/fbdev/nvidia/nv_setup.c fb_destroy_modedb(monB->modedb); modedb 593 drivers/video/fbdev/nvidia/nv_setup.c fb_destroy_modedb(monA->modedb); modedb 603 drivers/video/fbdev/nvidia/nv_setup.c fb_destroy_modedb(monB->modedb); modedb 1102 drivers/video/fbdev/nvidia/nvidia.c struct fb_videomode modedb; modedb 1113 drivers/video/fbdev/nvidia/nvidia.c fb_videomode_to_modelist(info->monspecs.modedb, modedb 1115 drivers/video/fbdev/nvidia/nvidia.c fb_var_to_videomode(&modedb, &nvidiafb_default_var); modedb 1129 drivers/video/fbdev/nvidia/nvidia.c if (specs->modedb != NULL) { modedb 1140 drivers/video/fbdev/nvidia/nvidia.c fb_find_mode(&nvidiafb_default_var, info, buf, specs->modedb, modedb 1141 drivers/video/fbdev/nvidia/nvidia.c specs->modedb_len, &modedb, bpp); modedb 1146 drivers/video/fbdev/nvidia/nvidia.c specs->modedb, specs->modedb_len, &modedb, bpp); modedb 1153 drivers/video/fbdev/nvidia/nvidia.c fb_destroy_modedb(info->monspecs.modedb); modedb 1154 drivers/video/fbdev/nvidia/nvidia.c info->monspecs.modedb = NULL; modedb 1407 drivers/video/fbdev/nvidia/nvidia.c fb_destroy_modedb(info->monspecs.modedb); modedb 1433 drivers/video/fbdev/nvidia/nvidia.c fb_destroy_modedb(info->monspecs.modedb); modedb 2266 drivers/video/fbdev/omap2/omapfb/omapfb-main.c m = &specs->modedb[i]; modedb 2293 drivers/video/fbdev/omap2/omapfb/omapfb-main.c fb_videomode_to_omap_timings(&specs->modedb[best_idx], display, modedb 2299 drivers/video/fbdev/omap2/omapfb/omapfb-main.c fb_destroy_modedb(specs->modedb); modedb 827 drivers/video/fbdev/riva/fbdev.c const struct fb_videomode *modedb) modedb 830 drivers/video/fbdev/riva/fbdev.c var->xres = var->xres_virtual = modedb->xres; modedb 831 drivers/video/fbdev/riva/fbdev.c var->yres = modedb->yres; modedb 835 drivers/video/fbdev/riva/fbdev.c var->pixclock = modedb->pixclock; modedb 836 drivers/video/fbdev/riva/fbdev.c var->left_margin = modedb->left_margin; modedb 837 drivers/video/fbdev/riva/fbdev.c var->right_margin = modedb->right_margin; modedb 838 drivers/video/fbdev/riva/fbdev.c var->upper_margin = modedb->upper_margin; modedb 839 drivers/video/fbdev/riva/fbdev.c var->lower_margin = modedb->lower_margin; modedb 840 drivers/video/fbdev/riva/fbdev.c var->hsync_len = modedb->hsync_len; modedb 841 drivers/video/fbdev/riva/fbdev.c var->vsync_len = modedb->vsync_len; modedb 842 drivers/video/fbdev/riva/fbdev.c var->sync = modedb->sync; modedb 843 drivers/video/fbdev/riva/fbdev.c var->vmode = modedb->vmode; modedb 1789 drivers/video/fbdev/riva/fbdev.c struct fb_videomode modedb; modedb 1795 drivers/video/fbdev/riva/fbdev.c specs->modedb, specs->modedb_len, modedb 1797 drivers/video/fbdev/riva/fbdev.c } else if (specs->modedb != NULL) { modedb 1799 drivers/video/fbdev/riva/fbdev.c modedb = specs->modedb[0]; modedb 1805 drivers/video/fbdev/riva/fbdev.c if (specs->modedb[i].flag & FB_MODE_IS_FIRST) { modedb 1806 drivers/video/fbdev/riva/fbdev.c modedb = specs->modedb[i]; modedb 1812 drivers/video/fbdev/riva/fbdev.c riva_update_var(var, &modedb); modedb 1841 drivers/video/fbdev/riva/fbdev.c fb_videomode_to_modelist(info->monspecs.modedb, info->monspecs.modedb_len, modedb 2032 drivers/video/fbdev/riva/fbdev.c fb_destroy_modedb(info->monspecs.modedb); modedb 2033 drivers/video/fbdev/riva/fbdev.c info->monspecs.modedb = NULL; modedb 1281 drivers/video/fbdev/s3fb.c if (!info->monspecs.modedb) modedb 1286 drivers/video/fbdev/s3fb.c fb_videomode_to_modelist(info->monspecs.modedb, modedb 1306 drivers/video/fbdev/s3fb.c info->monspecs.modedb, info->monspecs.modedb_len, modedb 1311 drivers/video/fbdev/s3fb.c fb_destroy_modedb(info->monspecs.modedb); modedb 1312 drivers/video/fbdev/s3fb.c info->monspecs.modedb = NULL; modedb 1317 drivers/video/fbdev/s3fb.c fb_destroy_modedb(info->monspecs.modedb); modedb 1318 drivers/video/fbdev/s3fb.c info->monspecs.modedb = NULL; modedb 846 drivers/video/fbdev/savage/savagefb_driver.c const struct fb_videomode *modedb) modedb 848 drivers/video/fbdev/savage/savagefb_driver.c var->xres = var->xres_virtual = modedb->xres; modedb 849 drivers/video/fbdev/savage/savagefb_driver.c var->yres = modedb->yres; modedb 853 drivers/video/fbdev/savage/savagefb_driver.c var->pixclock = modedb->pixclock; modedb 854 drivers/video/fbdev/savage/savagefb_driver.c var->left_margin = modedb->left_margin; modedb 855 drivers/video/fbdev/savage/savagefb_driver.c var->right_margin = modedb->right_margin; modedb 856 drivers/video/fbdev/savage/savagefb_driver.c var->upper_margin = modedb->upper_margin; modedb 857 drivers/video/fbdev/savage/savagefb_driver.c var->lower_margin = modedb->lower_margin; modedb 858 drivers/video/fbdev/savage/savagefb_driver.c var->hsync_len = modedb->hsync_len; modedb 859 drivers/video/fbdev/savage/savagefb_driver.c var->vsync_len = modedb->vsync_len; modedb 860 drivers/video/fbdev/savage/savagefb_driver.c var->sync = modedb->sync; modedb 861 drivers/video/fbdev/savage/savagefb_driver.c var->vmode = modedb->vmode; modedb 2218 drivers/video/fbdev/savage/savagefb_driver.c fb_videomode_to_modelist(info->monspecs.modedb, modedb 2242 drivers/video/fbdev/savage/savagefb_driver.c info->monspecs.modedb, info->monspecs.modedb_len, modedb 2244 drivers/video/fbdev/savage/savagefb_driver.c } else if (info->monspecs.modedb != NULL) { modedb 2294 drivers/video/fbdev/savage/savagefb_driver.c fb_destroy_modedb(info->monspecs.modedb); modedb 2295 drivers/video/fbdev/savage/savagefb_driver.c info->monspecs.modedb = NULL; modedb 1767 drivers/video/fbdev/sm501fb.c fb_videomode_to_modelist(fb->monspecs.modedb, modedb 1785 drivers/video/fbdev/sm501fb.c fb->monspecs.modedb, modedb 1139 drivers/video/fbdev/smscufx.c if (info->monspecs.modedb) modedb 1140 drivers/video/fbdev/smscufx.c fb_destroy_modedb(info->monspecs.modedb); modedb 1544 drivers/video/fbdev/smscufx.c if (ufx_is_valid_mode(&info->monspecs.modedb[i], info)) modedb 1545 drivers/video/fbdev/smscufx.c fb_add_videomode(&info->monspecs.modedb[i], modedb 1727 drivers/video/fbdev/smscufx.c fb_destroy_modedb(info->monspecs.modedb); modedb 1488 drivers/video/fbdev/tdfxfb.c if (specs->modedb == NULL) modedb 1493 drivers/video/fbdev/tdfxfb.c fb_videomode_to_modelist(specs->modedb, modedb 1513 drivers/video/fbdev/tdfxfb.c specs->modedb, specs->modedb_len, modedb 1520 drivers/video/fbdev/tdfxfb.c fb_destroy_modedb(specs->modedb); modedb 1521 drivers/video/fbdev/tdfxfb.c specs->modedb = NULL; modedb 1642 drivers/video/fbdev/tridentfb.c if (!info->monspecs.modedb) modedb 1647 drivers/video/fbdev/tridentfb.c fb_videomode_to_modelist(info->monspecs.modedb, modedb 1669 drivers/video/fbdev/tridentfb.c info->monspecs.modedb, modedb 1676 drivers/video/fbdev/tridentfb.c fb_destroy_modedb(info->monspecs.modedb); modedb 1677 drivers/video/fbdev/tridentfb.c info->monspecs.modedb = NULL; modedb 1682 drivers/video/fbdev/tridentfb.c fb_destroy_modedb(info->monspecs.modedb); modedb 1683 drivers/video/fbdev/tridentfb.c info->monspecs.modedb = NULL; modedb 1006 drivers/video/fbdev/udlfb.c if (info->monspecs.modedb) modedb 1007 drivers/video/fbdev/udlfb.c fb_destroy_modedb(info->monspecs.modedb); modedb 1354 drivers/video/fbdev/udlfb.c mode = &info->monspecs.modedb[i]; modedb 745 drivers/video/fbdev/uvesafb.c if (uvesafb_is_valid_mode(&info->monspecs.modedb[i], info)) modedb 746 drivers/video/fbdev/uvesafb.c fb_add_videomode(&info->monspecs.modedb[i], modedb 1765 drivers/video/fbdev/uvesafb.c fb_destroy_modedb(info->monspecs.modedb); modedb 1787 drivers/video/fbdev/uvesafb.c fb_destroy_modedb(info->monspecs.modedb); modedb 25 drivers/video/fbdev/via/via_aux_edid.c fb_destroy_modedb(spec->modedb); modedb 52 drivers/video/fbdev/via/via_aux_edid.c if (!spec || !spec->modedb || !(spec->misc & FB_MISC_1ST_DETAIL)) modedb 56 drivers/video/fbdev/via/via_aux_edid.c if (spec->modedb[i].flag & FB_MODE_IS_FIRST && modedb 57 drivers/video/fbdev/via/via_aux_edid.c spec->modedb[i].flag & FB_MODE_IS_DETAILED) modedb 58 drivers/video/fbdev/via/via_aux_edid.c return &spec->modedb[i]; modedb 69 drivers/video/fbdev/via/via_aux_edid.c fb_destroy_modedb(spec->modedb); modedb 65 include/linux/fb.h struct fb_videomode *modedb; /* mode database */ modedb 720 include/linux/fb.h extern void fb_destroy_modedb(struct fb_videomode *modedb); modedb 751 include/linux/fb.h extern void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num,