| /linux/drivers/video/fbdev/via/ |
| H A 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()
|
| /linux/drivers/video/fbdev/ |
| H A D | acornfb.c | 618 static struct fb_videomode modedb[] = { variable 951 for (i = 0; i < ARRAY_SIZE(modedb); i++) { in acornfb_probe() 954 hs = modedb[i].refresh * in acornfb_probe() 955 (modedb[i].yres + modedb[i].upper_margin + in acornfb_probe() 956 modedb[i].lower_margin + modedb[i].vsync_len); in acornfb_probe() 957 if (modedb[i].xres == DEFAULT_XRES && in acornfb_probe() 958 modedb[i].yres == DEFAULT_YRES && in acornfb_probe() 959 modedb[i].refresh >= fb_info.monspecs.vfmin && in acornfb_probe() 960 modedb[i].refresh <= fb_info.monspecs.vfmax && in acornfb_probe() 963 acornfb_default_mode = modedb[i]; in acornfb_probe() [all …]
|
| H A 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 …]
|
| H A D | neofb.c | 1771 info->monspecs.modedb = kmalloc(sizeof(struct fb_videomode), GFP_KERNEL); in neo_scan_monitor() 1772 if (!info->monspecs.modedb) in neo_scan_monitor() 1796 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); in neo_scan_monitor() 1802 memcpy(info->monspecs.modedb, &mode800x480, sizeof(struct fb_videomode)); in neo_scan_monitor() 1806 memcpy(info->monspecs.modedb, &vesa_modes[8], sizeof(struct fb_videomode)); in neo_scan_monitor() 1813 memcpy(info->monspecs.modedb, &vesa_modes[13], sizeof(struct fb_videomode)); in neo_scan_monitor() 1820 memcpy(info->monspecs.modedb, &vesa_modes[20], sizeof(struct fb_videomode)); in neo_scan_monitor() 1825 kfree(info->monspecs.modedb); in neo_scan_monitor() 1832 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); in neo_scan_monitor() 2058 info->monspecs.modedb, 16)) { in neofb_probe() [all …]
|
| H A D | s3fb.c | 1363 if (!info->monspecs.modedb) in s3_pci_probe() 1368 fb_videomode_to_modelist(info->monspecs.modedb, in s3_pci_probe() 1388 info->monspecs.modedb, info->monspecs.modedb_len, in s3_pci_probe() 1393 fb_destroy_modedb(info->monspecs.modedb); in s3_pci_probe() 1394 info->monspecs.modedb = NULL; in s3_pci_probe() 1399 fb_destroy_modedb(info->monspecs.modedb); in s3_pci_probe() 1400 info->monspecs.modedb = NULL; in s3_pci_probe()
|
| H A D | tridentfb.c | 1646 if (!info->monspecs.modedb) in trident_pci_probe() 1651 fb_videomode_to_modelist(info->monspecs.modedb, in trident_pci_probe() 1673 info->monspecs.modedb, in trident_pci_probe() 1680 fb_destroy_modedb(info->monspecs.modedb); in trident_pci_probe() 1681 info->monspecs.modedb = NULL; in trident_pci_probe() 1686 fb_destroy_modedb(info->monspecs.modedb); in trident_pci_probe() 1687 info->monspecs.modedb = NULL; in trident_pci_probe()
|
| H A D | i740fb.c | 1085 if (!info->monspecs.modedb) in i740fb_probe() 1092 info->monspecs.modedb, in i740fb_probe() 1112 info->monspecs.modedb, in i740fb_probe() 1122 fb_destroy_modedb(info->monspecs.modedb); in i740fb_probe() 1123 info->monspecs.modedb = NULL; in i740fb_probe()
|
| H A D | tdfxfb.c | 1490 if (specs->modedb == NULL) in tdfxfb_probe() 1495 fb_videomode_to_modelist(specs->modedb, in tdfxfb_probe() 1515 specs->modedb, specs->modedb_len, in tdfxfb_probe() 1522 fb_destroy_modedb(specs->modedb); in tdfxfb_probe() 1523 specs->modedb = NULL; in tdfxfb_probe()
|
| H A D | smscufx.c | 1095 if (info->monspecs.modedb) in ufx_free_framebuffer() 1096 fb_destroy_modedb(info->monspecs.modedb); in ufx_free_framebuffer() 1516 if (ufx_is_valid_mode(&info->monspecs.modedb[i], info)) in ufx_setup_modes() 1517 fb_add_videomode(&info->monspecs.modedb[i], in ufx_setup_modes() 1709 fb_destroy_modedb(info->monspecs.modedb); in ufx_usb_probe()
|
| /linux/drivers/video/fbdev/aty/ |
| H A 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 …]
|
| /linux/Documentation/fb/ |
| H A D | aty128fb.rst | 25 Switching modes is done using the video=aty128fb:<resolution>... modedb 28 See Documentation/fb/modedb.rst for more information on modedb 59 <XxX@X> selects startup videomode. See modedb.txt for detailed
|
| H A D | gxfb.rst | 27 See Documentation/fb/modedb.rst for more information on modedb
|
| H A D | lxfb.rst | 27 See Documentation/fb/modedb.rst for more information on modedb
|
| H A D | index.rst | 19 modedb
|
| H A D | modedb.rst | 2 modedb default video mode support 7 which is a mess and a waste of resources. The main idea of modedb is to have 165 found in drivers/video/fbdev/core/modedb.c. Check your driver's documentation. 168 Drivers that support modedb boot options
|
| H A D | cirrusfb.rst | 41 Full support for startup video modes (modedb) will be integrated soon.
|
| H A D | uvesafb.rst | 104 <mode> The mode you want to set, in the standard modedb format. Refer to 105 modedb.txt for a detailed description. When uvesafb is compiled as
|
| /linux/drivers/video/fbdev/nvidia/ |
| H A D | nvidia.c | 1112 struct fb_videomode modedb; in nvidia_set_fbinfo() local 1123 fb_videomode_to_modelist(info->monspecs.modedb, in nvidia_set_fbinfo() 1125 fb_var_to_videomode(&modedb, &nvidiafb_default_var); in nvidia_set_fbinfo() 1139 if (specs->modedb != NULL) { in nvidia_set_fbinfo() 1150 fb_find_mode(&nvidiafb_default_var, info, buf, specs->modedb, in nvidia_set_fbinfo() 1151 specs->modedb_len, &modedb, bpp); in nvidia_set_fbinfo() 1156 specs->modedb, specs->modedb_len, &modedb, bpp); in nvidia_set_fbinfo() 1163 fb_destroy_modedb(info->monspecs.modedb); in nvidia_set_fbinfo() 1164 info->monspecs.modedb = NULL; in nvidia_set_fbinfo() 1425 fb_destroy_modedb(info->monspecs.modedb); in nvidiafb_probe() [all …]
|
| H A 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()
|
| /linux/drivers/video/fbdev/savage/ |
| H A D | savagefb_driver.c | 846 const struct fb_videomode *modedb) in savage_update_var() argument 848 var->xres = var->xres_virtual = modedb->xres; in savage_update_var() 849 var->yres = modedb->yres; in savage_update_var() 853 var->pixclock = modedb->pixclock; in savage_update_var() 854 var->left_margin = modedb->left_margin; in savage_update_var() 855 var->right_margin = modedb->right_margin; in savage_update_var() 856 var->upper_margin = modedb->upper_margin; in savage_update_var() 857 var->lower_margin = modedb->lower_margin; in savage_update_var() 858 var->hsync_len = modedb->hsync_len; in savage_update_var() 859 var->vsync_len = modedb->vsync_len; in savage_update_var() [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | frame-buffer.rst | 46 .. kernel-doc:: drivers/video/fbdev/core/modedb.c 49 .. kernel-doc:: drivers/video/fbdev/core/modedb.c
|
| /linux/drivers/video/fbdev/geode/ |
| H A D | lxfb_core.c | 225 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb() argument 228 *modedb = (struct fb_videomode *) olpc_dcon_modedb; in get_modedb() 231 *modedb = (struct fb_videomode *) geode_modedb; in get_modedb()
|
| /linux/drivers/video/fbdev/core/ |
| H A D | Makefile | 6 modedb.o fbcvt.o fb_cmdline.o
|
| H A D | fbmon.c | 693 void fb_destroy_modedb(struct fb_videomode *modedb) in fb_destroy_modedb() argument 695 kfree(modedb); in fb_destroy_modedb() 984 specs->modedb = fb_create_modedb(edid, &specs->modedb_len, specs); in fb_edid_to_monspecs() 985 if (!specs->modedb) in fb_edid_to_monspecs() 994 if (specs->modedb[i].flag & FB_MODE_IS_DETAILED) { in fb_edid_to_monspecs() 1415 void fb_destroy_modedb(struct fb_videomode *modedb) in fb_destroy_modedb() argument
|
| /linux/include/linux/ |
| H A D | fb.h | 70 struct fb_videomode *modedb; /* mode database */ member 795 extern void fb_destroy_modedb(struct fb_videomode *modedb); 826 extern void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num,
|