Lines Matching refs:hres
187 int hres = base[DTD_HA_LO] + ((base[DTD_HABL_HI] & 0xf0) << 4); in show_edid_dtd() local
205 int refr = (pelclk * 10000) / ((hres + hbl) * (vres + vbl)); in show_edid_dtd()
206 int refm = (pelclk * 10000) % ((hres + hbl) * (vres + vbl)); in show_edid_dtd()
207 int refd = (refm * 100) / ((hres + hbl) * (vres + vbl)); in show_edid_dtd()
211 hres, vres, (mdflg & 0x80) ? 'i' : 'p', refr, refd, in show_edid_dtd()
214 fprintf(outfile, "H: start %d, end %d, total %d\n", hres + hso, in show_edid_dtd()
215 hres + hso + hsw, hres + hbl); in show_edid_dtd()
695 int hres, vres; in show_edid() local
702 hres = (hinfo * 8) + 248; in show_edid()
705 vres = (hres * 10) / 16; in show_edid()
708 vres = (hres * 3) / 4; in show_edid()
711 vres = (hres * 4) / 5; in show_edid()
714 vres = (hres * 9) / 16; in show_edid()
720 fprintf(outfile, "%d: %dx%d@%d\n", i, hres, vres, in show_edid()