/linux-master/drivers/video/fbdev/via/ |
H A D | via_aux_edid.c | 25 fb_destroy_modedb(spec->modedb); 52 if (!spec || !spec->modedb || !(spec->misc & FB_MISC_1ST_DETAIL)) 56 if (spec->modedb[i].flag & FB_MODE_IS_FIRST && 57 spec->modedb[i].flag & FB_MODE_IS_DETAILED) 58 return &spec->modedb[i]; 69 fb_destroy_modedb(spec->modedb);
|
/linux-master/drivers/video/fbdev/aty/ |
H A D | radeon_monitor.c | 752 * Build the modedb for head 1 (head 2 will come later), check panel infos 826 * Now build modedb from EDID 830 fb_videomode_to_modelist(info->monspecs.modedb, 833 rinfo->mon1_modedb = info->monspecs.modedb; 844 struct fb_videomode *modedb; local 862 modedb = rinfo->mon1_modedb; 866 modedb, dbsize, NULL, 8) == 0) { 881 info->monspecs.modedb, 896 info->monspecs.modedb, 905 if (!has_default_mode && info->monspecs.modedb ! 907 struct fb_videomode *modedb = NULL; local [all...] |
/linux-master/drivers/video/fbdev/ |
H A D | acornfb.c | 618 static struct fb_videomode modedb[] = { variable in typeref:struct:fb_videomode 951 for (i = 0; i < ARRAY_SIZE(modedb); i++) { 954 hs = modedb[i].refresh * 955 (modedb[i].yres + modedb[i].upper_margin + 956 modedb[i].lower_margin + modedb[i].vsync_len); 957 if (modedb[i].xres == DEFAULT_XRES && 958 modedb[i].yres == DEFAULT_YRES && 959 modedb[ [all...] |
H A D | neofb.c | 1771 info->monspecs.modedb = kmalloc(sizeof(struct fb_videomode), GFP_KERNEL); 1772 if (!info->monspecs.modedb) 1796 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); 1802 memcpy(info->monspecs.modedb, &mode800x480, sizeof(struct fb_videomode)); 1806 memcpy(info->monspecs.modedb, &vesa_modes[8], sizeof(struct fb_videomode)); 1813 memcpy(info->monspecs.modedb, &vesa_modes[13], sizeof(struct fb_videomode)); 1820 memcpy(info->monspecs.modedb, &vesa_modes[20], sizeof(struct fb_videomode)); 1825 kfree(info->monspecs.modedb); 1832 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); 2058 info->monspecs.modedb, 1 [all...] |
H A D | au1200fb.c | 347 /* fixme: Maybe a modedb for the CRT ? otherwise panels should be as-is */ 365 .modedb = NULL, 393 .modedb = NULL, 420 .modedb = NULL, 447 .modedb = NULL, 474 .modedb = NULL, 501 .modedb = NULL, 528 .modedb = NULL, 558 .modedb = NULL, 588 .modedb [all...] |
H A D | fsl-diu-fb.c | 1487 /* Now build modedb from EDID */ 1489 fb_videomode_to_modelist(info->monspecs.modedb, 1492 db = info->monspecs.modedb; 1504 * driver's internal modedb. 1520 if (!has_default_mode && info->monspecs.modedb) { 1522 struct fb_videomode *modedb = &specs->modedb[0]; local 1532 if (specs->modedb[i].flag & FB_MODE_IS_FIRST) { 1533 modedb = &specs->modedb[ [all...] |
H A D | tridentfb.c | 1646 if (!info->monspecs.modedb) 1651 fb_videomode_to_modelist(info->monspecs.modedb, 1673 info->monspecs.modedb, 1680 fb_destroy_modedb(info->monspecs.modedb); 1681 info->monspecs.modedb = NULL; 1686 fb_destroy_modedb(info->monspecs.modedb); 1687 info->monspecs.modedb = NULL;
|
H A D | s3fb.c | 1299 if (!info->monspecs.modedb) 1304 fb_videomode_to_modelist(info->monspecs.modedb, 1324 info->monspecs.modedb, info->monspecs.modedb_len, 1329 fb_destroy_modedb(info->monspecs.modedb); 1330 info->monspecs.modedb = NULL; 1335 fb_destroy_modedb(info->monspecs.modedb); 1336 info->monspecs.modedb = NULL;
|
H A D | i740fb.c | 1085 if (!info->monspecs.modedb) 1092 info->monspecs.modedb, 1112 info->monspecs.modedb, 1122 fb_destroy_modedb(info->monspecs.modedb); 1123 info->monspecs.modedb = NULL;
|
H A D | smscufx.c | 1095 if (info->monspecs.modedb) 1096 fb_destroy_modedb(info->monspecs.modedb); 1447 * fb_info.monspecs is full parsed EDID info, including monspecs.modedb 1516 if (ufx_is_valid_mode(&info->monspecs.modedb[i], info)) 1517 fb_add_videomode(&info->monspecs.modedb[i], 1709 fb_destroy_modedb(info->monspecs.modedb);
|
H A D | tdfxfb.c | 1490 if (specs->modedb == NULL) 1495 fb_videomode_to_modelist(specs->modedb, 1515 specs->modedb, specs->modedb_len, 1522 fb_destroy_modedb(specs->modedb); 1523 specs->modedb = NULL;
|
H A D | uvesafb.c | 747 if (uvesafb_is_valid_mode(&info->monspecs.modedb[i], info)) 748 fb_add_videomode(&info->monspecs.modedb[i], 862 * Convert the modelist into a modedb so that we can use it with 1765 fb_destroy_modedb(info->monspecs.modedb); 1785 fb_destroy_modedb(info->monspecs.modedb);
|
H A D | udlfb.c | 949 if (info->monspecs.modedb) 950 fb_destroy_modedb(info->monspecs.modedb); 1234 * fb_info.monspecs is full parsed EDID info, including monspecs.modedb 1314 mode = &info->monspecs.modedb[i];
|
/linux-master/drivers/video/fbdev/core/ |
H A D | Makefile | 6 modedb.o fbcvt.o fb_cmdline.o
|
H A D | modedb.c | 2 * linux/drivers/video/modedb.c -- Standard video mode database management 27 #define DPRINTK(fmt, args...) printk("modedb %s: " fmt, __func__ , ## args) 36 static const struct fb_videomode modedb[] = { variable in typeref:struct:fb_videomode 633 db = modedb; 634 dbsize = ARRAY_SIZE(modedb); 750 DPRINTK("modedb CVT: CVT mode ok\n"); 769 if (db != modedb && 1125 * @modedb: array of struct fb_videomode 1129 void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num, argument 1137 if (fb_add_videomode(&modedb[ [all...] |
H A D | fbmon.c | 685 * @modedb: mode database to destroy 690 void fb_destroy_modedb(struct fb_videomode *modedb) argument 692 kfree(modedb); 981 specs->modedb = fb_create_modedb(edid, &specs->modedb_len, specs); 982 if (!specs->modedb) 991 if (specs->modedb[i].flag & FB_MODE_IS_DETAILED) { 1412 void fb_destroy_modedb(struct fb_videomode *modedb) argument
|
/linux-master/drivers/video/fbdev/riva/ |
H A D | fbdev.c | 818 const struct fb_videomode *modedb) 821 var->xres = var->xres_virtual = modedb->xres; 822 var->yres = modedb->yres; 826 var->pixclock = modedb->pixclock; 827 var->left_margin = modedb->left_margin; 828 var->right_margin = modedb->right_margin; 829 var->upper_margin = modedb->upper_margin; 830 var->lower_margin = modedb->lower_margin; 831 var->hsync_len = modedb->hsync_len; 832 var->vsync_len = modedb 817 riva_update_var(struct fb_var_screeninfo *var, const struct fb_videomode *modedb) argument 1783 struct fb_videomode modedb; local [all...] |
/linux-master/drivers/video/fbdev/geode/ |
H A D | lxfb_core.c | 225 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) argument 228 *modedb = (struct fb_videomode *) olpc_dcon_modedb; 231 *modedb = (struct fb_videomode *) geode_modedb;
|
H A D | gxfb_core.c | 40 /* Modes relevant to the GX (taken from modedb.c) */ 115 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) argument 118 *modedb = (struct fb_videomode *) gx_dcon_modedb; 121 *modedb = (struct fb_videomode *) gx_modedb;
|
/linux-master/drivers/video/fbdev/nvidia/ |
H A D | nvidia.c | 1111 struct fb_videomode modedb; local 1122 fb_videomode_to_modelist(info->monspecs.modedb, 1124 fb_var_to_videomode(&modedb, &nvidiafb_default_var); 1138 if (specs->modedb != NULL) { 1149 fb_find_mode(&nvidiafb_default_var, info, buf, specs->modedb, 1150 specs->modedb_len, &modedb, bpp); 1155 specs->modedb, specs->modedb_len, &modedb, bpp); 1162 fb_destroy_modedb(info->monspecs.modedb); 1163 info->monspecs.modedb [all...] |
H A D | nv_setup.c | 586 fb_destroy_modedb(monB->modedb); 590 fb_destroy_modedb(monA->modedb); 600 fb_destroy_modedb(monB->modedb);
|
/linux-master/drivers/video/fbdev/savage/ |
H A D | savagefb_driver.c | 846 const struct fb_videomode *modedb) 848 var->xres = var->xres_virtual = modedb->xres; 849 var->yres = modedb->yres; 853 var->pixclock = modedb->pixclock; 854 var->left_margin = modedb->left_margin; 855 var->right_margin = modedb->right_margin; 856 var->upper_margin = modedb->upper_margin; 857 var->lower_margin = modedb->lower_margin; 858 var->hsync_len = modedb->hsync_len; 859 var->vsync_len = modedb 845 savage_update_var(struct fb_var_screeninfo *var, const struct fb_videomode *modedb) argument [all...] |
/linux-master/include/linux/ |
H A D | fb.h | 69 struct fb_videomode *modedb; /* mode database */ member in struct:fb_monspecs 765 extern void fb_destroy_modedb(struct fb_videomode *modedb); 775 /* modedb.c */ 796 extern void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num,
|
/linux-master/drivers/video/fbdev/i810/ |
H A D | i810_main.c | 1928 if (specs->modedb == NULL) 1931 fb_videomode_to_modelist(specs->modedb, specs->modedb_len, 1933 if (specs->modedb != NULL) { 1953 fb_find_mode(&var, info, mode_option, specs->modedb, 1958 fb_destroy_modedb(specs->modedb); 1959 specs->modedb = NULL;
|
/linux-master/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-main.c | 2018 /* this is quite a hack, but I wanted to use the modedb and for 2261 m = &specs->modedb[i]; 2288 fb_videomode_to_omap_timings(&specs->modedb[best_idx], display, 2294 fb_destroy_modedb(specs->modedb);
|