/drivers/video/fbdev/via/ |
D | via_aux_edid.c | 25 fb_destroy_modedb(spec->modedb); in query_edid() 52 if (!spec || !spec->modedb || !(spec->misc & FB_MISC_1ST_DETAIL)) in get_preferred_mode() 56 if (spec->modedb[i].flag & FB_MODE_IS_FIRST && in get_preferred_mode() 57 spec->modedb[i].flag & FB_MODE_IS_DETAILED) in get_preferred_mode() 58 return &spec->modedb[i]; in get_preferred_mode() 69 fb_destroy_modedb(spec->modedb); in cleanup()
|
/drivers/video/fbdev/ |
D | acornfb.c | 620 static struct fb_videomode modedb[] = { variable 953 for (i = 0; i < ARRAY_SIZE(modedb); i++) { in acornfb_probe() 956 hs = modedb[i].refresh * in acornfb_probe() 957 (modedb[i].yres + modedb[i].upper_margin + in acornfb_probe() 958 modedb[i].lower_margin + modedb[i].vsync_len); in acornfb_probe() 959 if (modedb[i].xres == DEFAULT_XRES && in acornfb_probe() 960 modedb[i].yres == DEFAULT_YRES && in acornfb_probe() 961 modedb[i].refresh >= fb_info.monspecs.vfmin && in acornfb_probe() 962 modedb[i].refresh <= fb_info.monspecs.vfmax && in acornfb_probe() 965 acornfb_default_mode = modedb[i]; in acornfb_probe() [all …]
|
D | au1200fb.c | 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 = NULL, 617 .modedb = NULL, [all …]
|
D | neofb.c | 1768 info->monspecs.modedb = kmalloc(sizeof(struct fb_videomode), GFP_KERNEL); in neo_scan_monitor() 1769 if (!info->monspecs.modedb) in neo_scan_monitor() 1793 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); in neo_scan_monitor() 1799 memcpy(info->monspecs.modedb, &mode800x480, sizeof(struct fb_videomode)); in neo_scan_monitor() 1803 memcpy(info->monspecs.modedb, &vesa_modes[8], sizeof(struct fb_videomode)); in neo_scan_monitor() 1810 memcpy(info->monspecs.modedb, &vesa_modes[13], sizeof(struct fb_videomode)); in neo_scan_monitor() 1817 memcpy(info->monspecs.modedb, &vesa_modes[20], sizeof(struct fb_videomode)); in neo_scan_monitor() 1822 kfree(info->monspecs.modedb); in neo_scan_monitor() 1829 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); in neo_scan_monitor() 2060 info->monspecs.modedb, 16)) { in neofb_probe() [all …]
|
D | fsl-diu-fb.c | 1491 fb_videomode_to_modelist(info->monspecs.modedb, in install_fb() 1494 db = info->monspecs.modedb; in install_fb() 1522 if (!has_default_mode && info->monspecs.modedb) { in install_fb() 1524 struct fb_videomode *modedb = &specs->modedb[0]; in install_fb() local 1534 if (specs->modedb[i].flag & FB_MODE_IS_FIRST) { in install_fb() 1535 modedb = &specs->modedb[i]; in install_fb() 1542 fb_videomode_to_var(&info->var, modedb); in install_fb()
|
D | s3fb.c | 1283 if (!info->monspecs.modedb) in s3_pci_probe() 1288 fb_videomode_to_modelist(info->monspecs.modedb, in s3_pci_probe() 1308 info->monspecs.modedb, info->monspecs.modedb_len, in s3_pci_probe() 1313 fb_destroy_modedb(info->monspecs.modedb); in s3_pci_probe() 1314 info->monspecs.modedb = NULL; in s3_pci_probe() 1319 fb_destroy_modedb(info->monspecs.modedb); in s3_pci_probe() 1320 info->monspecs.modedb = NULL; in s3_pci_probe()
|
D | tridentfb.c | 1642 if (!info->monspecs.modedb) in trident_pci_probe() 1647 fb_videomode_to_modelist(info->monspecs.modedb, in trident_pci_probe() 1669 info->monspecs.modedb, in trident_pci_probe() 1676 fb_destroy_modedb(info->monspecs.modedb); in trident_pci_probe() 1677 info->monspecs.modedb = NULL; in trident_pci_probe() 1682 fb_destroy_modedb(info->monspecs.modedb); in trident_pci_probe() 1683 info->monspecs.modedb = NULL; in trident_pci_probe()
|
D | i740fb.c | 1083 if (!info->monspecs.modedb) in i740fb_probe() 1090 info->monspecs.modedb, in i740fb_probe() 1110 info->monspecs.modedb, in i740fb_probe() 1120 fb_destroy_modedb(info->monspecs.modedb); in i740fb_probe() 1121 info->monspecs.modedb = NULL; in i740fb_probe()
|
D | smscufx.c | 1149 if (info->monspecs.modedb) in ufx_free_framebuffer() 1150 fb_destroy_modedb(info->monspecs.modedb); in ufx_free_framebuffer() 1553 if (ufx_is_valid_mode(&info->monspecs.modedb[i], info)) in ufx_setup_modes() 1554 fb_add_videomode(&info->monspecs.modedb[i], in ufx_setup_modes() 1746 fb_destroy_modedb(info->monspecs.modedb); in ufx_usb_probe()
|
D | tdfxfb.c | 1486 if (specs->modedb == NULL) in tdfxfb_probe() 1491 fb_videomode_to_modelist(specs->modedb, in tdfxfb_probe() 1511 specs->modedb, specs->modedb_len, in tdfxfb_probe() 1518 fb_destroy_modedb(specs->modedb); in tdfxfb_probe() 1519 specs->modedb = NULL; in tdfxfb_probe()
|
D | uvesafb.c | 747 if (uvesafb_is_valid_mode(&info->monspecs.modedb[i], info)) in uvesafb_vbe_getmonspecs() 748 fb_add_videomode(&info->monspecs.modedb[i], in uvesafb_vbe_getmonspecs() 1768 fb_destroy_modedb(info->monspecs.modedb); in uvesafb_probe() 1790 fb_destroy_modedb(info->monspecs.modedb); in uvesafb_remove()
|
D | udlfb.c | 1008 if (info->monspecs.modedb) in dlfb_ops_destroy() 1009 fb_destroy_modedb(info->monspecs.modedb); in dlfb_ops_destroy() 1356 mode = &info->monspecs.modedb[i]; in dlfb_setup_modes()
|
D | sm501fb.c | 1767 fb_videomode_to_modelist(fb->monspecs.modedb, in sm501fb_init_fb() 1785 fb->monspecs.modedb, in sm501fb_init_fb()
|
/drivers/video/fbdev/aty/ |
D | radeon_monitor.c | 830 fb_videomode_to_modelist(info->monspecs.modedb, in radeon_check_modes() 833 rinfo->mon1_modedb = info->monspecs.modedb; in radeon_check_modes() 844 struct fb_videomode *modedb; in radeon_check_modes() local 862 modedb = rinfo->mon1_modedb; in radeon_check_modes() 866 modedb, dbsize, NULL, 8) == 0) { in radeon_check_modes() 881 info->monspecs.modedb, in radeon_check_modes() 896 info->monspecs.modedb, in radeon_check_modes() 905 if (!has_default_mode && info->monspecs.modedb != NULL) { in radeon_check_modes() 907 struct fb_videomode *modedb = NULL; in radeon_check_modes() local 914 if (specs->modedb[i].flag & FB_MODE_IS_FIRST) { in radeon_check_modes() [all …]
|
/drivers/video/fbdev/riva/ |
D | fbdev.c | 823 const struct fb_videomode *modedb) in riva_update_var() argument 826 var->xres = var->xres_virtual = modedb->xres; in riva_update_var() 827 var->yres = modedb->yres; in riva_update_var() 831 var->pixclock = modedb->pixclock; in riva_update_var() 832 var->left_margin = modedb->left_margin; in riva_update_var() 833 var->right_margin = modedb->right_margin; in riva_update_var() 834 var->upper_margin = modedb->upper_margin; in riva_update_var() 835 var->lower_margin = modedb->lower_margin; in riva_update_var() 836 var->hsync_len = modedb->hsync_len; in riva_update_var() 837 var->vsync_len = modedb->vsync_len; in riva_update_var() [all …]
|
/drivers/video/fbdev/nvidia/ |
D | nvidia.c | 1108 struct fb_videomode modedb; in nvidia_set_fbinfo() local 1119 fb_videomode_to_modelist(info->monspecs.modedb, in nvidia_set_fbinfo() 1121 fb_var_to_videomode(&modedb, &nvidiafb_default_var); in nvidia_set_fbinfo() 1135 if (specs->modedb != NULL) { in nvidia_set_fbinfo() 1146 fb_find_mode(&nvidiafb_default_var, info, buf, specs->modedb, in nvidia_set_fbinfo() 1147 specs->modedb_len, &modedb, bpp); in nvidia_set_fbinfo() 1152 specs->modedb, specs->modedb_len, &modedb, bpp); in nvidia_set_fbinfo() 1159 fb_destroy_modedb(info->monspecs.modedb); in nvidia_set_fbinfo() 1160 info->monspecs.modedb = NULL; in nvidia_set_fbinfo() 1413 fb_destroy_modedb(info->monspecs.modedb); in nvidiafb_probe() [all …]
|
D | nv_setup.c | 586 fb_destroy_modedb(monB->modedb); in NVCommonSetup() 590 fb_destroy_modedb(monA->modedb); in NVCommonSetup() 600 fb_destroy_modedb(monB->modedb); in NVCommonSetup()
|
/drivers/video/fbdev/savage/ |
D | savagefb_driver.c | 845 const struct fb_videomode *modedb) in savage_update_var() argument 847 var->xres = var->xres_virtual = modedb->xres; in savage_update_var() 848 var->yres = modedb->yres; in savage_update_var() 852 var->pixclock = modedb->pixclock; in savage_update_var() 853 var->left_margin = modedb->left_margin; in savage_update_var() 854 var->right_margin = modedb->right_margin; in savage_update_var() 855 var->upper_margin = modedb->upper_margin; in savage_update_var() 856 var->lower_margin = modedb->lower_margin; in savage_update_var() 857 var->hsync_len = modedb->hsync_len; in savage_update_var() 858 var->vsync_len = modedb->vsync_len; in savage_update_var() [all …]
|
/drivers/video/fbdev/core/ |
D | modedb.c | 36 static const struct fb_videomode modedb[] = { variable 632 db = modedb; in fb_find_mode() 633 dbsize = ARRAY_SIZE(modedb); in fb_find_mode() 765 if (db != modedb && in fb_find_mode() 1135 void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num, in fb_videomode_to_modelist() argument 1143 if (fb_add_videomode(&modedb[i], head)) in fb_videomode_to_modelist()
|
D | Makefile | 6 modedb.o fbcvt.o
|
D | fbmon.c | 690 void fb_destroy_modedb(struct fb_videomode *modedb) in fb_destroy_modedb() argument 692 kfree(modedb); in fb_destroy_modedb() 981 specs->modedb = fb_create_modedb(edid, &specs->modedb_len, specs); in fb_edid_to_monspecs() 982 if (!specs->modedb) in fb_edid_to_monspecs() 991 if (specs->modedb[i].flag & FB_MODE_IS_DETAILED) { in fb_edid_to_monspecs() 1411 void fb_destroy_modedb(struct fb_videomode *modedb) in fb_destroy_modedb() argument
|
/drivers/video/fbdev/geode/ |
D | gxfb_core.c | 114 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb() argument 117 *modedb = (struct fb_videomode *) gx_dcon_modedb; in get_modedb() 120 *modedb = (struct fb_videomode *) gx_modedb; in get_modedb()
|
D | lxfb_core.c | 224 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb() argument 227 *modedb = (struct fb_videomode *) olpc_dcon_modedb; in get_modedb() 230 *modedb = (struct fb_videomode *) geode_modedb; in get_modedb()
|
/drivers/video/fbdev/i810/ |
D | i810_main.c | 1925 if (specs->modedb == NULL) in i810fb_find_init_mode() 1928 fb_videomode_to_modelist(specs->modedb, specs->modedb_len, in i810fb_find_init_mode() 1930 if (specs->modedb != NULL) { in i810fb_find_init_mode() 1950 fb_find_mode(&var, info, mode_option, specs->modedb, in i810fb_find_init_mode() 1955 fb_destroy_modedb(specs->modedb); in i810fb_find_init_mode() 1956 specs->modedb = NULL; in i810fb_find_init_mode()
|
/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 2262 m = &specs->modedb[i]; in omapfb_find_best_mode() 2289 fb_videomode_to_omap_timings(&specs->modedb[best_idx], display, in omapfb_find_best_mode() 2295 fb_destroy_modedb(specs->modedb); in omapfb_find_best_mode()
|