/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | acornfb.c | 57 static struct fb_monspecs monspecs[NR_MONTYPES] = { variable 413 struct fb_monspecs *monspecs) in acornfb_validate_timing() 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() 767 fb_info.monspecs.hfmin = simple_strtoul(p, &p, 0); in acornfb_parse_mon() 769 fb_info.monspecs.hfmax = simple_strtoul(p + 1, &p, 0); in acornfb_parse_mon() 771 fb_info.monspecs in acornfb_parse_mon() 412 acornfb_validate_timing(struct fb_var_screeninfo *var, struct fb_monspecs *monspecs) acornfb_validate_timing() argument [all...] |
H A D | uvesafb.c | 600 if (info->monspecs.gtf) { in uvesafb_is_valid_mode() 655 fb_edid_to_monspecs(task->buf, &info->monspecs); in uvesafb_vbe_getedid() 657 if (info->monspecs.vfmax && info->monspecs.hfmax) { in uvesafb_vbe_getedid() 662 if (info->monspecs.dclkmax == 0) in uvesafb_vbe_getedid() 663 info->monspecs.dclkmax = 300 * 1000000; in uvesafb_vbe_getedid() 664 info->monspecs.gtf = 1; in uvesafb_vbe_getedid() 680 memset(&info->monspecs, 0, sizeof(info->monspecs)); in uvesafb_vbe_getmonspecs() 688 info->monspecs in uvesafb_vbe_getmonspecs() [all...] |
H A D | atafb.c | 1090 fb_info.monspecs.hfmin < f25.f) in falcon_decode_var() 1093 f32.left) * fb_info.monspecs.hfmin < f32.f) in falcon_decode_var() 1096 fext.left) * fb_info.monspecs.hfmin < fext.f && in falcon_decode_var() 1267 if (hfreq > fb_info.monspecs.hfmax && mon_type != F_MON_VGA) { in falcon_decode_var() 1274 if (hfreq > fb_info.monspecs.hfmax || hfreq < fb_info.monspecs.hfmin) in falcon_decode_var() 1305 if (vfreq > fb_info.monspecs.vfmax && !doubleline && !interlace) { in falcon_decode_var() 1309 } else if (vfreq < fb_info.monspecs.vfmin && !interlace && !doubleline) { in falcon_decode_var() 1313 } else if (vfreq < fb_info.monspecs.vfmin && doubleline) { in falcon_decode_var() 1319 fb_info.monspecs in falcon_decode_var() [all...] |
H A D | smscufx.c | 1150 if (info->monspecs.modedb) in ufx_free_framebuffer() 1151 fb_destroy_modedb(info->monspecs.modedb); in ufx_free_framebuffer() 1485 * fb_info.monspecs is full parsed EDID info, including monspecs.modedb 1489 * monspecs is NULL, and fb_var_screeninfo is set to safe VESA mode 1508 memset(&info->monspecs, 0, sizeof(info->monspecs)); in ufx_setup_modes() 1517 fb_edid_to_monspecs(edid, &info->monspecs); in ufx_setup_modes() 1519 if (info->monspecs.modedb_len > 0) { in ufx_setup_modes() 1527 if (info->monspecs in ufx_setup_modes() [all...] |
H A D | i740fb.c | 716 if (info->monspecs.hfmax && info->monspecs.vfmax && in i740fb_check_var() 717 info->monspecs.dclkmax && fb_validate_mode(var, info) < 0) in i740fb_check_var() 1081 fb_edid_to_monspecs(edid, &info->monspecs); in i740fb_probe() 1083 if (!info->monspecs.modedb) in i740fb_probe() 1090 info->monspecs.modedb, in i740fb_probe() 1091 info->monspecs.modedb_len, in i740fb_probe() 1093 m = fb_find_best_display(&info->monspecs, in i740fb_probe() 1110 info->monspecs.modedb, in i740fb_probe() 1111 info->monspecs in i740fb_probe() [all...] |
H A 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...] |
H A D | udlfb.c | 1008 if (info->monspecs.modedb) in dlfb_ops_destroy() 1009 fb_destroy_modedb(info->monspecs.modedb); in dlfb_ops_destroy() 1276 * fb_info.monspecs is full parsed EDID info, including monspecs.modedb 1280 * monspecs is NULL, and fb_var_screeninfo is set to safe VESA mode 1307 memset(&info->monspecs, 0, sizeof(info->monspecs)); in dlfb_setup_modes() 1319 fb_edid_to_monspecs(edid, &info->monspecs); in dlfb_setup_modes() 1321 if (info->monspecs.modedb_len > 0) { in dlfb_setup_modes() 1329 if (info->monspecs in dlfb_setup_modes() [all...] |
H A 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()
|
H A D | pvr2fb.c | 874 fb_info->monspecs.hfmin = 30000; in pvr2fb_dc_init() 875 fb_info->monspecs.hfmax = 70000; in pvr2fb_dc_init() 876 fb_info->monspecs.vfmin = 60; in pvr2fb_dc_init() 877 fb_info->monspecs.vfmax = 60; in pvr2fb_dc_init() 880 fb_info->monspecs.hfmin = 15469; in pvr2fb_dc_init() 881 fb_info->monspecs.hfmax = 15781; in pvr2fb_dc_init() 882 fb_info->monspecs.vfmin = 49; in pvr2fb_dc_init() 883 fb_info->monspecs.vfmax = 51; in pvr2fb_dc_init()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | acornfb.c | 57 static struct fb_monspecs monspecs[NR_MONTYPES] = { variable 413 struct fb_monspecs *monspecs) in acornfb_validate_timing() 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 in acornfb_parse_mon() 412 acornfb_validate_timing(struct fb_var_screeninfo *var, struct fb_monspecs *monspecs) acornfb_validate_timing() argument [all...] |
H A 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 in uvesafb_vbe_getmonspecs() [all...] |
H A 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 in falcon_decode_var() [all...] |
H A D | smscufx.c | 1151 if (info->monspecs.modedb) in ufx_free_framebuffer() 1152 fb_destroy_modedb(info->monspecs.modedb); in ufx_free_framebuffer() 1486 * fb_info.monspecs is full parsed EDID info, including monspecs.modedb 1490 * monspecs is NULL, and fb_var_screeninfo is set to safe VESA mode 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 in ufx_setup_modes() [all...] |
H A 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 in i740fb_probe() [all...] |
H A 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...] |
H A D | udlfb.c | 1009 if (info->monspecs.modedb) in dlfb_ops_destroy() 1010 fb_destroy_modedb(info->monspecs.modedb); in dlfb_ops_destroy() 1277 * fb_info.monspecs is full parsed EDID info, including monspecs.modedb 1281 * monspecs is NULL, and fb_var_screeninfo is set to safe VESA mode 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 in dlfb_setup_modes() [all...] |
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
H A D | fbmon.c | 1213 * A valid info->monspecs, otherwise 'safe numbers' will be used. 1228 * If monspecs are invalid, use values that are enough in fb_get_mode() 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 in fb_get_mode() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
H A D | fbmon.c | 1213 * A valid info->monspecs, otherwise 'safe numbers' will be used. 1228 * If monspecs are invalid, use values that are enough in fb_get_mode() 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 in fb_get_mode() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
H A D | radeon_monitor.c | 831 fb_edid_to_monspecs(rinfo->mon1_EDID, &info->monspecs); in radeon_check_modes() 832 fb_videomode_to_modelist(info->monspecs.modedb, in radeon_check_modes() 833 info->monspecs.modedb_len, in radeon_check_modes() 835 rinfo->mon1_modedb = info->monspecs.modedb; in radeon_check_modes() 836 rinfo->mon1_dbsize = info->monspecs.modedb_len; in radeon_check_modes() 883 info->monspecs.modedb, in radeon_check_modes() 884 info->monspecs.modedb_len, NULL, 8) != 0) in radeon_check_modes() 898 info->monspecs.modedb, in radeon_check_modes() 899 info->monspecs.modedb_len, NULL, 8) != 0) in radeon_check_modes() 907 if (!has_default_mode && info->monspecs in radeon_check_modes() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/ |
H A 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 in radeon_check_modes() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/i810/ |
H A D | i810_main.c | 1032 info->monspecs.dclkmax = 234000000; in i810_check_params() 1035 info->monspecs.dclkmax = 229000000; in i810_check_params() 1039 info->monspecs.dclkmax = 204000000; in i810_check_params() 1043 info->monspecs.dclkmin = 15000000; in i810_check_params() 1049 if (!mode_valid && info->monspecs.gtf && in i810_check_params() 1053 if (!mode_valid && info->monspecs.modedb_len) { in i810_check_params() 1063 if (!mode_valid && info->monspecs.modedb_len == 0) { in i810_check_params() 1065 int default_sync = (info->monspecs.hfmin-HFMIN) in i810_check_params() 1066 |(info->monspecs.hfmax-HFMAX) in i810_check_params() 1067 |(info->monspecs in i810_check_params() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/i810/ |
H A 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 in i810_check_params() [all...] |
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-osd.c | 321 dev->fb_info.monspecs.hfmin = 8000; in vivid_fb_init_vidmode() 322 dev->fb_info.monspecs.hfmax = 70000; in vivid_fb_init_vidmode() 323 dev->fb_info.monspecs.vfmin = 10; in vivid_fb_init_vidmode() 324 dev->fb_info.monspecs.vfmax = 100; in vivid_fb_init_vidmode()
|