/linux-6.6.21/drivers/video/fbdev/ |
D | acornfb.c | 57 static struct fb_monspecs monspecs[NR_MONTYPES] = { variable 413 struct fb_monspecs *monspecs) in acornfb_validate_timing() argument 430 return (vs >= monspecs->vfmin && vs <= monspecs->vfmax && in acornfb_validate_timing() 431 hs >= monspecs->hfmin && hs <= monspecs->hfmax) ? 0 : -EINVAL; in acornfb_validate_timing() 517 return acornfb_validate_timing(var, &info->monspecs); in acornfb_check_var() 765 fb_info.monspecs.hfmin = simple_strtoul(p, &p, 0); in acornfb_parse_mon() 767 fb_info.monspecs.hfmax = simple_strtoul(p + 1, &p, 0); in acornfb_parse_mon() 769 fb_info.monspecs.hfmax = fb_info.monspecs.hfmin; in acornfb_parse_mon() 774 fb_info.monspecs.vfmin = simple_strtoul(p + 1, &p, 0); in acornfb_parse_mon() 776 fb_info.monspecs.vfmax = simple_strtoul(p + 1, &p, 0); in acornfb_parse_mon() [all …]
|
D | uvesafb.c | 602 if (info->monspecs.gtf) { in uvesafb_is_valid_mode() 657 fb_edid_to_monspecs(task->buf, &info->monspecs); in uvesafb_vbe_getedid() 659 if (info->monspecs.vfmax && info->monspecs.hfmax) { in uvesafb_vbe_getedid() 664 if (info->monspecs.dclkmax == 0) in uvesafb_vbe_getedid() 665 info->monspecs.dclkmax = 300 * 1000000; in uvesafb_vbe_getedid() 666 info->monspecs.gtf = 1; in uvesafb_vbe_getedid() 682 memset(&info->monspecs, 0, sizeof(info->monspecs)); in uvesafb_vbe_getmonspecs() 690 info->monspecs.gtf = 0; in uvesafb_vbe_getmonspecs() 696 info->monspecs.dclkmax = maxclk * 1000000; in uvesafb_vbe_getmonspecs() 698 info->monspecs.vfmax = maxvf; in uvesafb_vbe_getmonspecs() [all …]
|
D | atafb.c | 1072 fb_info.monspecs.hfmin < f25.f) in falcon_decode_var() 1075 f32.left) * fb_info.monspecs.hfmin < f32.f) in falcon_decode_var() 1078 fext.left) * fb_info.monspecs.hfmin < fext.f && in falcon_decode_var() 1248 if (hfreq > fb_info.monspecs.hfmax && mon_type != F_MON_VGA) { in falcon_decode_var() 1255 if (hfreq > fb_info.monspecs.hfmax || hfreq < fb_info.monspecs.hfmin) in falcon_decode_var() 1286 if (vfreq > fb_info.monspecs.vfmax && !doubleline && !interlace) { in falcon_decode_var() 1290 } else if (vfreq < fb_info.monspecs.vfmin && !interlace && !doubleline) { in falcon_decode_var() 1294 } else if (vfreq < fb_info.monspecs.vfmin && doubleline) { in falcon_decode_var() 1300 fb_info.monspecs.vfmax; in falcon_decode_var() 1306 } else if (vfreq > fb_info.monspecs.vfmax && doubleline) { in falcon_decode_var() [all …]
|
D | au1200fb.c | 325 struct fb_monspecs monspecs; /* FB monitor specs */ member 364 .monspecs = { 392 .monspecs = { 419 .monspecs = { 446 .monspecs = { 473 .monspecs = { 500 .monspecs = { 527 .monspecs = { 557 .monspecs = { 587 .monspecs = { [all …]
|
D | smscufx.c | 1151 if (info->monspecs.modedb) in ufx_free_framebuffer() 1152 fb_destroy_modedb(info->monspecs.modedb); in ufx_free_framebuffer() 1509 memset(&info->monspecs, 0, sizeof(info->monspecs)); in ufx_setup_modes() 1518 fb_edid_to_monspecs(edid, &info->monspecs); in ufx_setup_modes() 1520 if (info->monspecs.modedb_len > 0) { in ufx_setup_modes() 1528 if (info->monspecs.modedb_len == 0) { in ufx_setup_modes() 1532 fb_edid_to_monspecs(dev->edid, &info->monspecs); in ufx_setup_modes() 1533 if (info->monspecs.modedb_len > 0) in ufx_setup_modes() 1539 if (info->monspecs.modedb_len == 0) { in ufx_setup_modes() 1541 fb_edid_to_monspecs(default_edid, &info->monspecs); in ufx_setup_modes() [all …]
|
D | udlfb.c | 1009 if (info->monspecs.modedb) in dlfb_ops_destroy() 1010 fb_destroy_modedb(info->monspecs.modedb); in dlfb_ops_destroy() 1308 memset(&info->monspecs, 0, sizeof(info->monspecs)); in dlfb_setup_modes() 1320 fb_edid_to_monspecs(edid, &info->monspecs); in dlfb_setup_modes() 1322 if (info->monspecs.modedb_len > 0) { in dlfb_setup_modes() 1330 if (info->monspecs.modedb_len == 0) { in dlfb_setup_modes() 1334 fb_edid_to_monspecs(dlfb->edid, &info->monspecs); in dlfb_setup_modes() 1335 if (info->monspecs.modedb_len > 0) in dlfb_setup_modes() 1341 if (info->monspecs.modedb_len == 0) { in dlfb_setup_modes() 1343 fb_edid_to_monspecs(default_edid, &info->monspecs); in dlfb_setup_modes() [all …]
|
D | hgafb.c | 579 info->monspecs.hfmin = 0; in hgafb_probe() 580 info->monspecs.hfmax = 0; in hgafb_probe() 581 info->monspecs.vfmin = 10000; in hgafb_probe() 582 info->monspecs.vfmax = 10000; in hgafb_probe() 583 info->monspecs.dpms = 0; in hgafb_probe()
|
D | pvr2fb.c | 878 fb_info->monspecs.hfmin = 30000; in pvr2fb_dc_init() 879 fb_info->monspecs.hfmax = 70000; in pvr2fb_dc_init() 880 fb_info->monspecs.vfmin = 60; in pvr2fb_dc_init() 881 fb_info->monspecs.vfmax = 60; in pvr2fb_dc_init() 884 fb_info->monspecs.hfmin = 15469; in pvr2fb_dc_init() 885 fb_info->monspecs.hfmax = 15781; in pvr2fb_dc_init() 886 fb_info->monspecs.vfmin = 49; in pvr2fb_dc_init() 887 fb_info->monspecs.vfmax = 51; in pvr2fb_dc_init()
|
D | i740fb.c | 717 if (info->monspecs.hfmax && info->monspecs.vfmax && in i740fb_check_var() 718 info->monspecs.dclkmax && fb_validate_mode(var, info) < 0) in i740fb_check_var() 1084 fb_edid_to_monspecs(edid, &info->monspecs); in i740fb_probe() 1086 if (!info->monspecs.modedb) in i740fb_probe() 1093 info->monspecs.modedb, in i740fb_probe() 1094 info->monspecs.modedb_len, in i740fb_probe() 1096 m = fb_find_best_display(&info->monspecs, in i740fb_probe() 1113 info->monspecs.modedb, in i740fb_probe() 1114 info->monspecs.modedb_len, in i740fb_probe() 1123 fb_destroy_modedb(info->monspecs.modedb); in i740fb_probe() [all …]
|
D | neofb.c | 1769 info->monspecs.modedb = kmalloc(sizeof(struct fb_videomode), GFP_KERNEL); in neo_scan_monitor() 1770 if (!info->monspecs.modedb) in neo_scan_monitor() 1772 info->monspecs.modedb_len = 1; 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() [all …]
|
D | s3fb.c | 1289 fb_edid_to_monspecs(edid, &info->monspecs); in s3_pci_probe() 1291 if (!info->monspecs.modedb) in s3_pci_probe() 1296 fb_videomode_to_modelist(info->monspecs.modedb, in s3_pci_probe() 1297 info->monspecs.modedb_len, in s3_pci_probe() 1299 m = fb_find_best_display(&info->monspecs, &info->modelist); in s3_pci_probe() 1316 info->monspecs.modedb, info->monspecs.modedb_len, in s3_pci_probe() 1321 fb_destroy_modedb(info->monspecs.modedb); in s3_pci_probe() 1322 info->monspecs.modedb = NULL; in s3_pci_probe() 1327 fb_destroy_modedb(info->monspecs.modedb); in s3_pci_probe() 1328 info->monspecs.modedb = NULL; in s3_pci_probe()
|
D | tridentfb.c | 1643 fb_edid_to_monspecs(edid, &info->monspecs); in trident_pci_probe() 1645 if (!info->monspecs.modedb) in trident_pci_probe() 1650 fb_videomode_to_modelist(info->monspecs.modedb, in trident_pci_probe() 1651 info->monspecs.modedb_len, in trident_pci_probe() 1653 m = fb_find_best_display(&info->monspecs, in trident_pci_probe() 1672 info->monspecs.modedb, in trident_pci_probe() 1673 info->monspecs.modedb_len, in trident_pci_probe() 1679 fb_destroy_modedb(info->monspecs.modedb); in trident_pci_probe() 1680 info->monspecs.modedb = NULL; in trident_pci_probe() 1685 fb_destroy_modedb(info->monspecs.modedb); in trident_pci_probe() [all …]
|
D | amba-clcd.c | 495 fb->fb.monspecs.hfmin = 0; in clcdfb_register() 496 fb->fb.monspecs.hfmax = 100000; in clcdfb_register() 497 fb->fb.monspecs.vfmin = 0; in clcdfb_register() 498 fb->fb.monspecs.vfmax = 400; in clcdfb_register() 499 fb->fb.monspecs.dclkmin = 1000000; in clcdfb_register() 500 fb->fb.monspecs.dclkmax = 100000000; in clcdfb_register()
|
D | fsl-diu-fb.c | 1488 fb_edid_to_monspecs(data->edid_data, &info->monspecs); in install_fb() 1489 fb_videomode_to_modelist(info->monspecs.modedb, in install_fb() 1490 info->monspecs.modedb_len, in install_fb() 1492 db = info->monspecs.modedb; in install_fb() 1493 dbsize = info->monspecs.modedb_len; in install_fb() 1520 if (!has_default_mode && info->monspecs.modedb) { in install_fb() 1521 struct fb_monspecs *specs = &info->monspecs; in install_fb()
|
D | sa1100fb.c | 1055 static const struct fb_monspecs monspecs = { variable 1092 fbi->fb.monspecs = monspecs; in sa1100fb_init_fbinfo()
|
D | sm501fb.c | 1766 fb_edid_to_monspecs(info->edid_data, &fb->monspecs); in sm501fb_init_fb() 1767 fb_videomode_to_modelist(fb->monspecs.modedb, in sm501fb_init_fb() 1768 fb->monspecs.modedb_len, in sm501fb_init_fb() 1785 fb->monspecs.modedb, in sm501fb_init_fb() 1786 fb->monspecs.modedb_len, in sm501fb_init_fb()
|
/linux-6.6.21/drivers/video/fbdev/core/ |
D | fbmon.c | 1231 if (!info || !info->monspecs.hfmax || !info->monspecs.vfmax || in fb_get_mode() 1232 !info->monspecs.dclkmax || in fb_get_mode() 1233 info->monspecs.hfmax < info->monspecs.hfmin || in fb_get_mode() 1234 info->monspecs.vfmax < info->monspecs.vfmin || in fb_get_mode() 1235 info->monspecs.dclkmax < info->monspecs.dclkmin) { in fb_get_mode() 1240 hfmin = info->monspecs.hfmin; in fb_get_mode() 1241 hfmax = info->monspecs.hfmax; in fb_get_mode() 1242 vfmin = info->monspecs.vfmin; in fb_get_mode() 1243 vfmax = info->monspecs.vfmax; in fb_get_mode() 1244 dclkmin = info->monspecs.dclkmin; in fb_get_mode() [all …]
|
D | modedb.c | 770 info->monspecs.vfmin && info->monspecs.vfmax && in fb_find_mode() 771 info->monspecs.hfmin && info->monspecs.hfmax && in fb_find_mode() 772 info->monspecs.dclkmax) { in fb_find_mode()
|
/linux-6.6.21/drivers/video/fbdev/i810/ |
D | i810_main.c | 1033 info->monspecs.dclkmax = 234000000; in i810_check_params() 1036 info->monspecs.dclkmax = 229000000; in i810_check_params() 1040 info->monspecs.dclkmax = 204000000; in i810_check_params() 1044 info->monspecs.dclkmin = 15000000; in i810_check_params() 1050 if (!mode_valid && info->monspecs.gtf && in i810_check_params() 1054 if (!mode_valid && info->monspecs.modedb_len) { in i810_check_params() 1064 if (!mode_valid && info->monspecs.modedb_len == 0) { in i810_check_params() 1066 int default_sync = (info->monspecs.hfmin-HFMIN) in i810_check_params() 1067 |(info->monspecs.hfmax-HFMAX) in i810_check_params() 1068 |(info->monspecs.vfmin-VFMIN) in i810_check_params() [all …]
|
/linux-6.6.21/drivers/video/fbdev/aty/ |
D | radeon_monitor.c | 829 fb_edid_to_monspecs(rinfo->mon1_EDID, &info->monspecs); in radeon_check_modes() 830 fb_videomode_to_modelist(info->monspecs.modedb, in radeon_check_modes() 831 info->monspecs.modedb_len, in radeon_check_modes() 833 rinfo->mon1_modedb = info->monspecs.modedb; in radeon_check_modes() 834 rinfo->mon1_dbsize = info->monspecs.modedb_len; in radeon_check_modes() 881 info->monspecs.modedb, in radeon_check_modes() 882 info->monspecs.modedb_len, NULL, 8) != 0) in radeon_check_modes() 896 info->monspecs.modedb, in radeon_check_modes() 897 info->monspecs.modedb_len, NULL, 8) != 0) in radeon_check_modes() 905 if (!has_default_mode && info->monspecs.modedb != NULL) { in radeon_check_modes() [all …]
|
/linux-6.6.21/drivers/media/test-drivers/vivid/ |
D | vivid-osd.c | 318 dev->fb_info.monspecs.hfmin = 8000; in vivid_fb_init_vidmode() 319 dev->fb_info.monspecs.hfmax = 70000; in vivid_fb_init_vidmode() 320 dev->fb_info.monspecs.vfmin = 10; in vivid_fb_init_vidmode() 321 dev->fb_info.monspecs.vfmax = 100; in vivid_fb_init_vidmode()
|
/linux-6.6.21/drivers/video/fbdev/nvidia/ |
D | nvidia.c | 820 if (!info->monspecs.hfmax || !info->monspecs.vfmax || in nvidiafb_check_var() 821 !info->monspecs.dclkmax || !fb_validate_mode(var, info)) in nvidiafb_check_var() 825 if (!mode_valid && info->monspecs.gtf) { in nvidiafb_check_var() 840 if (!mode_valid && info->monspecs.modedb_len) in nvidiafb_check_var() 1108 struct fb_monspecs *specs = &info->monspecs; in nvidia_set_fbinfo() 1120 fb_videomode_to_modelist(info->monspecs.modedb, in nvidia_set_fbinfo() 1121 info->monspecs.modedb_len, &info->modelist); in nvidia_set_fbinfo() 1160 fb_destroy_modedb(info->monspecs.modedb); in nvidia_set_fbinfo() 1161 info->monspecs.modedb = NULL; in nvidia_set_fbinfo() 1422 fb_destroy_modedb(info->monspecs.modedb); in nvidiafb_probe() [all …]
|
/linux-6.6.21/drivers/video/fbdev/riva/ |
D | fbdev.c | 1138 if (!info->monspecs.vfmax || !info->monspecs.hfmax || in rivafb_check_var() 1139 !info->monspecs.dclkmax || !fb_validate_mode(var, info)) in rivafb_check_var() 1144 if (!mode_valid && info->monspecs.gtf) { in rivafb_check_var() 1157 if (!mode_valid && info->monspecs.modedb_len) in rivafb_check_var() 1780 struct fb_monspecs *specs = &info->monspecs; in riva_update_default_var() 1793 if (info->monspecs.misc & FB_MISC_1ST_DETAIL) { in riva_update_default_var() 1832 fb_edid_to_monspecs(par->EDID, &info->monspecs); in riva_get_edidinfo() 1833 fb_videomode_to_modelist(info->monspecs.modedb, info->monspecs.modedb_len, in riva_get_edidinfo() 1838 if (info->monspecs.input & FB_DISP_DDI) in riva_get_edidinfo() 2028 fb_destroy_modedb(info->monspecs.modedb); in rivafb_probe() [all …]
|
/linux-6.6.21/drivers/video/fbdev/savage/ |
D | savagefb_driver.c | 907 if (!info->monspecs.hfmax || !info->monspecs.vfmax || in savagefb_check_var() 908 !info->monspecs.dclkmax || !fb_validate_mode(var, info)) in savagefb_check_var() 912 if (!mode_valid && info->monspecs.gtf) { in savagefb_check_var() 927 if (!mode_valid && info->monspecs.modedb_len) in savagefb_check_var() 2224 fb_edid_to_monspecs(edid, &info->monspecs); in savagefb_probe() 2226 fb_videomode_to_modelist(info->monspecs.modedb, in savagefb_probe() 2227 info->monspecs.modedb_len, in savagefb_probe() 2250 info->monspecs.modedb, info->monspecs.modedb_len, in savagefb_probe() 2252 } else if (info->monspecs.modedb != NULL) { in savagefb_probe() 2255 mode = fb_find_best_display(&info->monspecs, &info->modelist); in savagefb_probe() [all …]
|
/linux-6.6.21/drivers/media/pci/ivtv/ |
D | ivtvfb.c | 1058 oi->ivtvfb_info.monspecs.hfmin = 8000; in ivtvfb_init_vidmode() 1059 oi->ivtvfb_info.monspecs.hfmax = 70000; in ivtvfb_init_vidmode() 1060 oi->ivtvfb_info.monspecs.vfmin = 10; in ivtvfb_init_vidmode() 1061 oi->ivtvfb_info.monspecs.vfmax = 100; in ivtvfb_init_vidmode()
|