Home
last modified time | relevance | path

Searched refs:modedb (Results 1 – 25 of 47) sorted by relevance

12

/linux/drivers/video/fbdev/via/
A Dvia_aux_edid.c25 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/
A Dacornfb.c620 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()
965 acornfb_default_mode = modedb[i]; in acornfb_probe()
1027 ARRAY_SIZE(modedb), in acornfb_probe()
[all …]
A Dau1200fb.c365 .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 …]
A Dneofb.c1768 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()
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()
2106 fb_destroy_modedb(info->monspecs.modedb); in neofb_probe()
[all …]
A Dfsl-diu-fb.c1491 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()
A Dbuilt-in.a9 core/modedb.o/
A Ds3fb.c1281 if (!info->monspecs.modedb) in s3_pci_probe()
1286 fb_videomode_to_modelist(info->monspecs.modedb, in s3_pci_probe()
1306 info->monspecs.modedb, info->monspecs.modedb_len, in s3_pci_probe()
1311 fb_destroy_modedb(info->monspecs.modedb); in s3_pci_probe()
1312 info->monspecs.modedb = NULL; in s3_pci_probe()
1317 fb_destroy_modedb(info->monspecs.modedb); in s3_pci_probe()
1318 info->monspecs.modedb = NULL; in s3_pci_probe()
/linux/drivers/video/fbdev/aty/
A Dradeon_monitor.c833 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()
907 struct fb_videomode *modedb = NULL; in radeon_check_modes() local
915 modedb = &specs->modedb[i]; in radeon_check_modes()
921 modedb = &specs->modedb[0]; in radeon_check_modes()
923 if (modedb != NULL) { in radeon_check_modes()
[all …]
/linux/Documentation/fb/
A Daty128fb.rst27 Switching modes is done using the video=aty128fb:<resolution>... modedb
30 See Documentation/fb/modedb.rst for more information on modedb
61 <XxX@X> selects startup videomode. See modedb.txt for detailed
A Dgxfb.rst29 See Documentation/fb/modedb.rst for more information on modedb
A Dlxfb.rst30 See Documentation/fb/modedb.rst for more information on modedb
A Dmodedb.rst2 modedb default video mode support
7 which is a mess and a waste of resources. The main idea of modedb is to have
155 found in drivers/video/fbdev/core/modedb.c. Check your driver's documentation.
158 Drivers that support modedb boot options
A Dindex.rst27 modedb
/linux/drivers/video/fbdev/riva/
A Dfbdev.c823 const struct fb_videomode *modedb) in riva_update_var() argument
827 var->yres = modedb->yres; in riva_update_var()
831 var->pixclock = modedb->pixclock; in riva_update_var()
838 var->sync = modedb->sync; in riva_update_var()
839 var->vmode = modedb->vmode; in riva_update_var()
1787 struct fb_videomode modedb; in riva_update_default_var() local
1795 } else if (specs->modedb != NULL) { in riva_update_default_var()
1797 modedb = specs->modedb[0]; in riva_update_default_var()
1804 modedb = specs->modedb[i]; in riva_update_default_var()
1810 riva_update_var(var, &modedb); in riva_update_default_var()
[all …]
/linux/drivers/video/fbdev/nvidia/
A Dnvidia.c1106 struct fb_videomode modedb; in nvidia_set_fbinfo() local
1117 fb_videomode_to_modelist(info->monspecs.modedb, in nvidia_set_fbinfo()
1119 fb_var_to_videomode(&modedb, &nvidiafb_default_var); in nvidia_set_fbinfo()
1133 if (specs->modedb != NULL) { in nvidia_set_fbinfo()
1144 fb_find_mode(&nvidiafb_default_var, info, buf, specs->modedb, in nvidia_set_fbinfo()
1145 specs->modedb_len, &modedb, bpp); in nvidia_set_fbinfo()
1150 specs->modedb, specs->modedb_len, &modedb, bpp); in nvidia_set_fbinfo()
1157 fb_destroy_modedb(info->monspecs.modedb); in nvidia_set_fbinfo()
1158 info->monspecs.modedb = NULL; in nvidia_set_fbinfo()
1411 fb_destroy_modedb(info->monspecs.modedb); in nvidiafb_probe()
[all …]
A Dnv_setup.c586 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/
A Dsavagefb_driver.c845 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()
857 var->hsync_len = modedb->hsync_len; in savage_update_var()
858 var->vsync_len = modedb->vsync_len; in savage_update_var()
859 var->sync = modedb->sync; in savage_update_var()
860 var->vmode = modedb->vmode; in savage_update_var()
2244 } else if (info->monspecs.modedb != NULL) { in savagefb_probe()
2294 fb_destroy_modedb(info->monspecs.modedb); in savagefb_probe()
[all …]
/linux/Documentation/driver-api/
A Dframe-buffer.rst46 .. kernel-doc:: drivers/video/fbdev/core/modedb.c
49 .. kernel-doc:: drivers/video/fbdev/core/modedb.c
/linux/drivers/video/fbdev/core/
A Dmodedb.c36 static const struct fb_videomode modedb[] = { variable
627 db = modedb; in fb_find_mode()
628 dbsize = ARRAY_SIZE(modedb); in fb_find_mode()
760 if (db != modedb && in fb_find_mode()
1130 void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num, in fb_videomode_to_modelist() argument
1138 if (fb_add_videomode(&modedb[i], head)) in fb_videomode_to_modelist()
A Dbuilt-in.a9 modedb.o/
A DMakefile6 modedb.o fbcvt.o
A Dfbmon.c690 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
/linux/drivers/video/fbdev/geode/
A Dgxfb_core.c114 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()
A Dlxfb_core.c224 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()
/linux/drivers/video/
A Dbuilt-in.a14 fbdev/core/modedb.o/

Completed in 53 milliseconds

12