Searched refs:monspecs (Results 1 - 25 of 30) sorted by relevance

12

/drivers/video/fbdev/
H A Dacornfb.c61 static struct fb_monspecs monspecs[NR_MONTYPES] = { variable in typeref:struct:fb_monspecs
417 struct fb_monspecs *monspecs)
434 return (vs >= monspecs->vfmin && vs <= monspecs->vfmax &&
435 hs >= monspecs->hfmin && hs <= monspecs->hfmax) ? 0 : -EINVAL;
521 return acornfb_validate_timing(var, &info->monspecs);
771 fb_info.monspecs.hfmin = simple_strtoul(p, &p, 0);
773 fb_info.monspecs.hfmax = simple_strtoul(p + 1, &p, 0);
775 fb_info.monspecs
416 acornfb_validate_timing(struct fb_var_screeninfo *var, struct fb_monspecs *monspecs) argument
[all...]
H A Duvesafb.c604 if (info->monspecs.gtf) {
663 fb_edid_to_monspecs(task->buf, &info->monspecs);
665 if (info->monspecs.vfmax && info->monspecs.hfmax) {
670 if (info->monspecs.dclkmax == 0)
671 info->monspecs.dclkmax = 300 * 1000000;
672 info->monspecs.gtf = 1;
688 memset(&info->monspecs, 0, sizeof(info->monspecs));
696 info->monspecs
[all...]
H A Datafb.c1115 fb_info.monspecs.hfmin < f25.f)
1118 f32.left) * fb_info.monspecs.hfmin < f32.f)
1121 fext.left) * fb_info.monspecs.hfmin < fext.f &&
1292 if (hfreq > fb_info.monspecs.hfmax && mon_type != F_MON_VGA) {
1299 if (hfreq > fb_info.monspecs.hfmax || hfreq < fb_info.monspecs.hfmin)
1330 if (vfreq > fb_info.monspecs.vfmax && !doubleline && !interlace) {
1334 } else if (vfreq < fb_info.monspecs.vfmin && !interlace && !doubleline) {
1338 } else if (vfreq < fb_info.monspecs.vfmin && doubleline) {
1344 fb_info.monspecs
[all...]
H A Dhgafb.c575 info->monspecs.hfmin = 0;
576 info->monspecs.hfmax = 0;
577 info->monspecs.vfmin = 10000;
578 info->monspecs.vfmax = 10000;
579 info->monspecs.dpms = 0;
H A Dsmscufx.c1143 if (info->monspecs.modedb)
1144 fb_destroy_modedb(info->monspecs.modedb);
1487 * fb_info.monspecs is full parsed EDID info, including monspecs.modedb
1491 * monspecs is NULL, and fb_var_screeninfo is set to safe VESA mode
1510 memset(&info->monspecs, 0, sizeof(info->monspecs));
1519 fb_edid_to_monspecs(edid, &info->monspecs);
1521 if (info->monspecs.modedb_len > 0) {
1529 if (info->monspecs
[all...]
H A Dau1200fb.c323 struct fb_monspecs monspecs; /* FB monitor specs */ member in struct:panel_settings
362 .monspecs = {
390 .monspecs = {
417 .monspecs = {
444 .monspecs = {
471 .monspecs = {
498 .monspecs = {
525 .monspecs = {
555 .monspecs = {
585 .monspecs
[all...]
H A Dudlfb.c954 if (info->monspecs.modedb)
955 fb_destroy_modedb(info->monspecs.modedb);
1225 * fb_info.monspecs is full parsed EDID info, including monspecs.modedb
1229 * monspecs is NULL, and fb_var_screeninfo is set to safe VESA mode
1252 memset(&info->monspecs, 0, sizeof(info->monspecs));
1264 fb_edid_to_monspecs(edid, &info->monspecs);
1266 if (info->monspecs.modedb_len > 0) {
1274 if (info->monspecs
[all...]
H A Di740fb.c717 if (info->monspecs.hfmax && info->monspecs.vfmax &&
718 info->monspecs.dclkmax && fb_validate_mode(var, info) < 0)
1084 fb_edid_to_monspecs(edid, &info->monspecs);
1086 if (!info->monspecs.modedb)
1093 info->monspecs.modedb,
1094 info->monspecs.modedb_len,
1096 m = fb_find_best_display(&info->monspecs,
1113 info->monspecs.modedb,
1114 info->monspecs
[all...]
H A Dpvr2fb.c860 fb_info->monspecs.hfmin = 30000;
861 fb_info->monspecs.hfmax = 70000;
862 fb_info->monspecs.vfmin = 60;
863 fb_info->monspecs.vfmax = 60;
866 fb_info->monspecs.hfmin = 15469;
867 fb_info->monspecs.hfmax = 15781;
868 fb_info->monspecs.vfmin = 49;
869 fb_info->monspecs.vfmax = 51;
H A Dneofb.c1781 info->monspecs.modedb = kmalloc(sizeof(struct fb_videomode), GFP_KERNEL);
1782 if (!info->monspecs.modedb)
1784 info->monspecs.modedb_len = 1;
1806 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode));
1812 memcpy(info->monspecs.modedb, &mode800x480, sizeof(struct fb_videomode));
1816 memcpy(info->monspecs.modedb, &vesa_modes[8], sizeof(struct fb_videomode));
1823 memcpy(info->monspecs.modedb, &vesa_modes[13], sizeof(struct fb_videomode));
1830 memcpy(info->monspecs.modedb, &vesa_modes[20], sizeof(struct fb_videomode));
1841 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode));
2076 info->monspecs
[all...]
H A Ds3fb.c1292 fb_edid_to_monspecs(edid, &info->monspecs);
1294 if (!info->monspecs.modedb)
1299 fb_videomode_to_modelist(info->monspecs.modedb,
1300 info->monspecs.modedb_len,
1302 m = fb_find_best_display(&info->monspecs, &info->modelist);
1319 info->monspecs.modedb, info->monspecs.modedb_len,
1324 fb_destroy_modedb(info->monspecs.modedb);
1325 info->monspecs.modedb = NULL;
1330 fb_destroy_modedb(info->monspecs
[all...]
H A Damba-clcd.c508 fb->fb.monspecs.hfmin = 0;
509 fb->fb.monspecs.hfmax = 100000;
510 fb->fb.monspecs.vfmin = 0;
511 fb->fb.monspecs.vfmax = 400;
512 fb->fb.monspecs.dclkmin = 1000000;
513 fb->fb.monspecs.dclkmax = 100000000;
H A Datmel_lcdfb.c1191 struct fb_monspecs *monspecs; local
1195 monspecs = pdata->default_monspecs;
1198 for (i = 0; i < monspecs->modedb_len; i++)
1199 fb_add_videomode(&monspecs->modedb[i], &info->modelist);
1204 memcpy(&info->monspecs, pdata->default_monspecs, sizeof(info->monspecs));
H A Dfsl-diu-fb.c1495 fb_edid_to_monspecs(data->edid_data, &info->monspecs);
1496 fb_videomode_to_modelist(info->monspecs.modedb,
1497 info->monspecs.modedb_len,
1499 db = info->monspecs.modedb;
1500 dbsize = info->monspecs.modedb_len;
1527 if (!has_default_mode && info->monspecs.modedb) {
1528 struct fb_monspecs *specs = &info->monspecs;
H A Dsa1100fb.c1114 /* Fake monspecs to fill in fbinfo structure */
1115 static struct fb_monspecs monspecs = { variable in typeref:struct:fb_monspecs
1155 fbi->fb.monspecs = monspecs;
H A Dsm501fb.c1759 fb_edid_to_monspecs(info->edid_data, &fb->monspecs);
1760 fb_videomode_to_modelist(fb->monspecs.modedb,
1761 fb->monspecs.modedb_len,
1778 fb->monspecs.modedb,
1779 fb->monspecs.modedb_len,
/drivers/video/fbdev/core/
H A Dfbmon.c1289 * A valid info->monspecs, otherwise 'safe numbers' will be used.
1304 * If monspecs are invalid, use values that are enough
1307 if (!info || !info->monspecs.hfmax || !info->monspecs.vfmax ||
1308 !info->monspecs.dclkmax ||
1309 info->monspecs.hfmax < info->monspecs.hfmin ||
1310 info->monspecs.vfmax < info->monspecs.vfmin ||
1311 info->monspecs
[all...]
H A Dmodedb.c690 * a valid monspecs structure, we look for the mode with
696 info->monspecs.vfmin && info->monspecs.vfmax &&
697 info->monspecs.hfmin && info->monspecs.hfmax &&
698 info->monspecs.dclkmax) {
/drivers/video/fbdev/aty/
H A Dradeon_monitor.c830 fb_edid_to_monspecs(rinfo->mon1_EDID, &info->monspecs);
831 fb_videomode_to_modelist(info->monspecs.modedb,
832 info->monspecs.modedb_len,
834 rinfo->mon1_modedb = info->monspecs.modedb;
835 rinfo->mon1_dbsize = info->monspecs.modedb_len;
882 info->monspecs.modedb,
883 info->monspecs.modedb_len, NULL, 8) != 0)
897 info->monspecs.modedb,
898 info->monspecs.modedb_len, NULL, 8) != 0)
906 if (!has_default_mode && info->monspecs
[all...]
/drivers/video/fbdev/i810/
H A Di810_main.c1031 info->monspecs.dclkmax = 234000000;
1034 info->monspecs.dclkmax = 229000000;
1038 info->monspecs.dclkmax = 204000000;
1042 info->monspecs.dclkmin = 15000000;
1048 if (!mode_valid && info->monspecs.gtf &&
1052 if (!mode_valid && info->monspecs.modedb_len) {
1062 if (!mode_valid && info->monspecs.modedb_len == 0) {
1064 int default_sync = (info->monspecs.hfmin-HFMIN)
1065 |(info->monspecs.hfmax-HFMAX)
1066 |(info->monspecs
[all...]
/drivers/media/platform/vivid/
H A Dvivid-osd.c333 dev->fb_info.monspecs.hfmin = 8000;
334 dev->fb_info.monspecs.hfmax = 70000;
335 dev->fb_info.monspecs.vfmin = 10;
336 dev->fb_info.monspecs.vfmax = 100;
/drivers/video/fbdev/nvidia/
H A Dnvidia.c829 if (!info->monspecs.hfmax || !info->monspecs.vfmax ||
830 !info->monspecs.dclkmax || !fb_validate_mode(var, info))
834 if (!mode_valid && info->monspecs.gtf) {
849 if (!mode_valid && info->monspecs.modedb_len)
1110 struct fb_monspecs *specs = &info->monspecs;
1122 fb_videomode_to_modelist(info->monspecs.modedb,
1123 info->monspecs.modedb_len, &info->modelist);
1162 fb_destroy_modedb(info->monspecs.modedb);
1163 info->monspecs
[all...]
/drivers/video/fbdev/riva/
H A Dfbdev.c1153 if (!info->monspecs.vfmax || !info->monspecs.hfmax ||
1154 !info->monspecs.dclkmax || !fb_validate_mode(var, info))
1159 if (!mode_valid && info->monspecs.gtf) {
1172 if (!mode_valid && info->monspecs.modedb_len)
1798 struct fb_monspecs *specs = &info->monspecs;
1811 if (info->monspecs.misc & FB_MISC_1ST_DETAIL) {
1847 fb_edid_to_monspecs(par->EDID, &info->monspecs);
1848 fb_videomode_to_modelist(info->monspecs.modedb, info->monspecs
[all...]
/drivers/media/pci/ivtv/
H A Divtvfb.c1074 oi->ivtvfb_info.monspecs.hfmin = 8000;
1075 oi->ivtvfb_info.monspecs.hfmax = 70000;
1076 oi->ivtvfb_info.monspecs.vfmin = 10;
1077 oi->ivtvfb_info.monspecs.vfmax = 100;
/drivers/video/fbdev/savage/
H A Dsavagefb_driver.c908 if (!info->monspecs.hfmax || !info->monspecs.vfmax ||
909 !info->monspecs.dclkmax || !fb_validate_mode(var, info))
913 if (!mode_valid && info->monspecs.gtf) {
928 if (!mode_valid && info->monspecs.modedb_len)
2227 fb_edid_to_monspecs(par->edid, &info->monspecs);
2229 fb_videomode_to_modelist(info->monspecs.modedb,
2230 info->monspecs.modedb_len,
2253 info->monspecs.modedb, info->monspecs
[all...]

Completed in 2179 milliseconds

12