Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/video/fbdev/via/
Dvia_aux_edid.c40 fb_destroy_modedb(spec->modedb); in query_edid()
67 if (!spec || !spec->modedb || !(spec->misc & FB_MISC_1ST_DETAIL)) in get_preferred_mode()
71 if (spec->modedb[i].flag & FB_MODE_IS_FIRST && in get_preferred_mode()
72 spec->modedb[i].flag & FB_MODE_IS_DETAILED) in get_preferred_mode()
73 return &spec->modedb[i]; in get_preferred_mode()
84 fb_destroy_modedb(spec->modedb); in cleanup()
/Linux-v4.19/drivers/video/fbdev/
Dacornfb.c624 static struct fb_videomode modedb[] = { variable
990 for (i = 0; i < ARRAY_SIZE(modedb); i++) { in acornfb_probe()
993 hs = modedb[i].refresh * in acornfb_probe()
994 (modedb[i].yres + modedb[i].upper_margin + in acornfb_probe()
995 modedb[i].lower_margin + modedb[i].vsync_len); in acornfb_probe()
996 if (modedb[i].xres == DEFAULT_XRES && in acornfb_probe()
997 modedb[i].yres == DEFAULT_YRES && in acornfb_probe()
998 modedb[i].refresh >= fb_info.monspecs.vfmin && in acornfb_probe()
999 modedb[i].refresh <= fb_info.monspecs.vfmax && in acornfb_probe()
1002 acornfb_default_mode = modedb[i]; in acornfb_probe()
[all …]
Dau1200fb.c364 .modedb = NULL,
392 .modedb = NULL,
419 .modedb = NULL,
446 .modedb = NULL,
473 .modedb = NULL,
500 .modedb = NULL,
527 .modedb = NULL,
557 .modedb = NULL,
587 .modedb = NULL,
616 .modedb = NULL,
[all …]
Dneofb.c1769 info->monspecs.modedb = kmalloc(sizeof(struct fb_videomode), GFP_KERNEL); in neo_scan_monitor()
1770 if (!info->monspecs.modedb) in neo_scan_monitor()
1794 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); in neo_scan_monitor()
1800 memcpy(info->monspecs.modedb, &mode800x480, sizeof(struct fb_videomode)); in neo_scan_monitor()
1804 memcpy(info->monspecs.modedb, &vesa_modes[8], sizeof(struct fb_videomode)); in neo_scan_monitor()
1811 memcpy(info->monspecs.modedb, &vesa_modes[13], sizeof(struct fb_videomode)); in neo_scan_monitor()
1818 memcpy(info->monspecs.modedb, &vesa_modes[20], sizeof(struct fb_videomode)); in neo_scan_monitor()
1829 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); in neo_scan_monitor()
2064 info->monspecs.modedb, 16)) { in neofb_probe()
2110 fb_destroy_modedb(info->monspecs.modedb); in neofb_probe()
[all …]
Dfsl-diu-fb.c1495 fb_videomode_to_modelist(info->monspecs.modedb, in install_fb()
1498 db = info->monspecs.modedb; in install_fb()
1526 if (!has_default_mode && info->monspecs.modedb) { in install_fb()
1528 struct fb_videomode *modedb = &specs->modedb[0]; in install_fb() local
1538 if (specs->modedb[i].flag & FB_MODE_IS_FIRST) { in install_fb()
1539 modedb = &specs->modedb[i]; in install_fb()
1546 fb_videomode_to_var(&info->var, modedb); in install_fb()
Ds3fb.c1283 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()
Dtridentfb.c1641 if (!info->monspecs.modedb) in trident_pci_probe()
1646 fb_videomode_to_modelist(info->monspecs.modedb, in trident_pci_probe()
1668 info->monspecs.modedb, in trident_pci_probe()
1675 fb_destroy_modedb(info->monspecs.modedb); in trident_pci_probe()
1676 info->monspecs.modedb = NULL; in trident_pci_probe()
1681 fb_destroy_modedb(info->monspecs.modedb); in trident_pci_probe()
1682 info->monspecs.modedb = NULL; in trident_pci_probe()
Di740fb.c1076 if (!info->monspecs.modedb) in i740fb_probe()
1083 info->monspecs.modedb, in i740fb_probe()
1103 info->monspecs.modedb, in i740fb_probe()
1113 fb_destroy_modedb(info->monspecs.modedb); in i740fb_probe()
1114 info->monspecs.modedb = NULL; in i740fb_probe()
/Linux-v4.19/drivers/video/fbdev/aty/
Dradeon_monitor.c832 fb_videomode_to_modelist(info->monspecs.modedb, in radeon_check_modes()
835 rinfo->mon1_modedb = info->monspecs.modedb; in radeon_check_modes()
846 struct fb_videomode *modedb; in radeon_check_modes() local
864 modedb = rinfo->mon1_modedb; in radeon_check_modes()
868 modedb, dbsize, NULL, 8) == 0) { in radeon_check_modes()
883 info->monspecs.modedb, in radeon_check_modes()
898 info->monspecs.modedb, in radeon_check_modes()
907 if (!has_default_mode && info->monspecs.modedb != NULL) { in radeon_check_modes()
909 struct fb_videomode *modedb = NULL; in radeon_check_modes() local
916 if (specs->modedb[i].flag & FB_MODE_IS_FIRST) { in radeon_check_modes()
[all …]
/Linux-v4.19/Documentation/fb/
Daty128fb.txt26 Switching modes is done using the video=aty128fb:<resolution>... modedb
29 See Documentation/fb/modedb.txt for more information on modedb
59 <XxX@X> - selects startup videomode. See modedb.txt for detailed
Dgxfb.txt28 See Documentation/fb/modedb.txt for more information on modedb
Dlxfb.txt28 See Documentation/fb/modedb.txt for more information on modedb
Dmodedb.txt3 modedb default video mode support
7 which is a mess and a waste of resources. The main idea of modedb is to have
134 found in linux/drivers/video/modedb.c. Check your driver's documentation.
137 Drivers that support modedb boot options
Dcirrusfb.txt42 Full support for startup video modes (modedb) will be integrated soon.
/Linux-v4.19/drivers/video/fbdev/riva/
Dfbdev.c827 const struct fb_videomode *modedb) in riva_update_var() argument
830 var->xres = var->xres_virtual = modedb->xres; in riva_update_var()
831 var->yres = modedb->yres; in riva_update_var()
835 var->pixclock = modedb->pixclock; in riva_update_var()
836 var->left_margin = modedb->left_margin; in riva_update_var()
837 var->right_margin = modedb->right_margin; in riva_update_var()
838 var->upper_margin = modedb->upper_margin; in riva_update_var()
839 var->lower_margin = modedb->lower_margin; in riva_update_var()
840 var->hsync_len = modedb->hsync_len; in riva_update_var()
841 var->vsync_len = modedb->vsync_len; in riva_update_var()
[all …]
/Linux-v4.19/drivers/video/fbdev/geode/
Dgxfb_core.c120 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb() argument
123 *modedb = (struct fb_videomode *) gx_dcon_modedb; in get_modedb()
126 *modedb = (struct fb_videomode *) gx_modedb; in get_modedb()
132 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb() argument
134 *modedb = (struct fb_videomode *) gx_modedb; in get_modedb()
Dlxfb_core.c229 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb() argument
232 *modedb = (struct fb_videomode *) olpc_dcon_modedb; in get_modedb()
235 *modedb = (struct fb_videomode *) geode_modedb; in get_modedb()
241 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb() argument
243 *modedb = (struct fb_videomode *) geode_modedb; in get_modedb()
/Linux-v4.19/drivers/video/fbdev/nvidia/
Dnvidia.c1102 struct fb_videomode modedb; in nvidia_set_fbinfo() local
1113 fb_videomode_to_modelist(info->monspecs.modedb, in nvidia_set_fbinfo()
1115 fb_var_to_videomode(&modedb, &nvidiafb_default_var); in nvidia_set_fbinfo()
1129 if (specs->modedb != NULL) { in nvidia_set_fbinfo()
1140 fb_find_mode(&nvidiafb_default_var, info, buf, specs->modedb, in nvidia_set_fbinfo()
1141 specs->modedb_len, &modedb, bpp); in nvidia_set_fbinfo()
1146 specs->modedb, specs->modedb_len, &modedb, bpp); in nvidia_set_fbinfo()
1153 fb_destroy_modedb(info->monspecs.modedb); in nvidia_set_fbinfo()
1154 info->monspecs.modedb = NULL; in nvidia_set_fbinfo()
1407 fb_destroy_modedb(info->monspecs.modedb); in nvidiafb_probe()
[all …]
Dnv_setup.c613 fb_destroy_modedb(monB->modedb); in NVCommonSetup()
617 fb_destroy_modedb(monA->modedb); in NVCommonSetup()
627 fb_destroy_modedb(monB->modedb); in NVCommonSetup()
/Linux-v4.19/Documentation/driver-api/
Dframe-buffer.rst46 .. kernel-doc:: drivers/video/fbdev/core/modedb.c
49 .. kernel-doc:: drivers/video/fbdev/core/modedb.c
/Linux-v4.19/drivers/video/fbdev/savage/
Dsavagefb_driver.c846 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-v4.19/drivers/video/fbdev/core/
Dmodedb.c36 static const struct fb_videomode modedb[] = { variable
684 db = modedb; in fb_find_mode()
685 dbsize = ARRAY_SIZE(modedb); in fb_find_mode()
817 if (db != modedb && in fb_find_mode()
1184 void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num, in fb_videomode_to_modelist() argument
1192 if (fb_add_videomode(&modedb[i], head)) in fb_videomode_to_modelist()
DMakefile6 modedb.o fbcvt.o
Dfbmon.c689 void fb_destroy_modedb(struct fb_videomode *modedb) in fb_destroy_modedb() argument
691 kfree(modedb); in fb_destroy_modedb()
980 specs->modedb = fb_create_modedb(edid, &specs->modedb_len, specs); in fb_edid_to_monspecs()
988 if (specs->modedb[i].flag & FB_MODE_IS_DETAILED) { in fb_edid_to_monspecs()
1065 memcpy(m, specs->modedb, specs->modedb_len * sizeof(struct fb_videomode)); in fb_edid_add_monspecs()
1087 kfree(specs->modedb); in fb_edid_add_monspecs()
1088 specs->modedb = m; in fb_edid_add_monspecs()
1504 void fb_destroy_modedb(struct fb_videomode *modedb) in fb_destroy_modedb() argument
/Linux-v4.19/include/linux/
Dfb.h65 struct fb_videomode *modedb; /* mode database */ member
741 extern void fb_destroy_modedb(struct fb_videomode *modedb);
772 extern void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num,

12