Home
last modified time | relevance | path

Searched refs:modedb (Results 1 - 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/video/fbdev/via/
H 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()
/kernel/linux/linux-6.6/drivers/video/fbdev/via/
H 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()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dacornfb.c620 static struct fb_videomode modedb[] = { variable
987 for (i = 0; i < ARRAY_SIZE(modedb); i++) { in acornfb_probe()
990 hs = modedb[i].refresh * in acornfb_probe()
991 (modedb[i].yres + modedb[i].upper_margin + in acornfb_probe()
992 modedb[i].lower_margin + modedb[i].vsync_len); in acornfb_probe()
993 if (modedb[i].xres == DEFAULT_XRES && in acornfb_probe()
994 modedb[i].yres == DEFAULT_YRES && in acornfb_probe()
995 modedb[ in acornfb_probe()
[all...]
H A Dau1200fb.c347 /* 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 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()
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()
2064 info->monspecs.modedb, 1 in neofb_probe()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
H A Dradeon_monitor.c754 * Build the modedb for head 1 (head 2 will come later), check panel infos
828 * Now build modedb from EDID in radeon_check_modes()
832 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 ! in radeon_check_modes()
909 struct fb_videomode *modedb = NULL; radeon_check_modes() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dacornfb.c618 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[ in acornfb_probe()
[all...]
H A Dau1200fb.c347 /* 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 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()
1823 kfree(info->monspecs.modedb); in neo_scan_monitor()
1830 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); in neo_scan_monitor()
2056 info->monspecs.modedb, 1 in neofb_probe()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/
H A Dradeon_monitor.c752 * Build the modedb for head 1 (head 2 will come later), check panel infos
826 * Now build modedb from EDID in radeon_check_modes()
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 ! in radeon_check_modes()
907 struct fb_videomode *modedb = NULL; radeon_check_modes() local
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/riva/
H A Dfbdev.c823 const struct fb_videomode *modedb) in riva_update_var()
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 in riva_update_var()
822 riva_update_var(struct fb_var_screeninfo *var, const struct fb_videomode *modedb) riva_update_var() argument
1788 struct fb_videomode modedb; riva_update_default_var() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/riva/
H A Dfbdev.c818 const struct fb_videomode *modedb) in riva_update_var()
821 var->xres = var->xres_virtual = modedb->xres; in riva_update_var()
822 var->yres = modedb->yres; in riva_update_var()
826 var->pixclock = modedb->pixclock; in riva_update_var()
827 var->left_margin = modedb->left_margin; in riva_update_var()
828 var->right_margin = modedb->right_margin; in riva_update_var()
829 var->upper_margin = modedb->upper_margin; in riva_update_var()
830 var->lower_margin = modedb->lower_margin; in riva_update_var()
831 var->hsync_len = modedb->hsync_len; in riva_update_var()
832 var->vsync_len = modedb in riva_update_var()
817 riva_update_var(struct fb_var_screeninfo *var, const struct fb_videomode *modedb) riva_update_var() argument
1781 struct fb_videomode modedb; riva_update_default_var() local
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dmodedb.c2 * 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
632 db = modedb; in fb_find_mode()
633 dbsize = ARRAY_SIZE(modedb); in fb_find_mode()
746 DPRINTK("modedb CVT: CVT mode ok\n"); in fb_find_mode()
765 if (db != modedb && in fb_find_mode()
1131 * @modedb: array of struct fb_videomode
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[ in fb_videomode_to_modelist()
[all...]
H A DMakefile6 modedb.o fbcvt.o
H A Dfbmon.c684 * @modedb: mode database to destroy
689 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()
981 if (!specs->modedb) in fb_edid_to_monspecs()
990 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
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A Dmodedb.c2 * 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
633 db = modedb; in fb_find_mode()
634 dbsize = ARRAY_SIZE(modedb); in fb_find_mode()
750 DPRINTK("modedb CVT: CVT mode ok\n"); in fb_find_mode()
769 if (db != modedb && in fb_find_mode()
1125 * @modedb: array of struct fb_videomode
1129 void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num, in fb_videomode_to_modelist() argument
1137 if (fb_add_videomode(&modedb[ in fb_videomode_to_modelist()
[all...]
H A DMakefile6 modedb.o fbcvt.o fb_cmdline.o fb_io_fops.o
/kernel/linux/linux-5.10/drivers/video/fbdev/nvidia/
H A Dnvidia.c1108 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 in nvidia_set_fbinfo()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/nvidia/
H A Dnvidia.c1109 struct fb_videomode modedb; in nvidia_set_fbinfo() local
1120 fb_videomode_to_modelist(info->monspecs.modedb, in nvidia_set_fbinfo()
1122 fb_var_to_videomode(&modedb, &nvidiafb_default_var); in nvidia_set_fbinfo()
1136 if (specs->modedb != NULL) { in nvidia_set_fbinfo()
1147 fb_find_mode(&nvidiafb_default_var, info, buf, specs->modedb, in nvidia_set_fbinfo()
1148 specs->modedb_len, &modedb, bpp); in nvidia_set_fbinfo()
1153 specs->modedb, specs->modedb_len, &modedb, bpp); in nvidia_set_fbinfo()
1160 fb_destroy_modedb(info->monspecs.modedb); in nvidia_set_fbinfo()
1161 info->monspecs.modedb in nvidia_set_fbinfo()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/geode/
H 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()
H A Dgxfb_core.c39 /* Modes relevant to the GX (taken from modedb.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()
/kernel/linux/linux-6.6/drivers/video/fbdev/geode/
H A Dlxfb_core.c225 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()
H A Dgxfb_core.c40 /* Modes relevant to the GX (taken from modedb.c) */
115 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb() argument
118 *modedb = (struct fb_videomode *) gx_dcon_modedb; in get_modedb()
121 *modedb = (struct fb_videomode *) gx_modedb; in get_modedb()
/kernel/linux/linux-5.10/drivers/video/fbdev/savage/
H A Dsavagefb_driver.c845 const struct fb_videomode *modedb) in savage_update_var()
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 in savage_update_var()
844 savage_update_var(struct fb_var_screeninfo *var, const struct fb_videomode *modedb) savage_update_var() argument
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/savage/
H A Dsavagefb_driver.c846 const struct fb_videomode *modedb) in savage_update_var()
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 in savage_update_var()
845 savage_update_var(struct fb_var_screeninfo *var, const struct fb_videomode *modedb) savage_update_var() argument
[all...]

Completed in 40 milliseconds

123