Lines Matching refs:yres

582 	int yres = var->yres;  in tt_decode_var()  local
588 if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2) in tt_decode_var()
592 yres = tt_yres * 2; in tt_decode_var()
595 if (bpp > 8 || xres > sttt_xres || yres > tt_yres) in tt_decode_var()
598 if (xres > sttt_xres / 2 || yres > tt_yres) in tt_decode_var()
602 yres = tt_yres; in tt_decode_var()
605 if (xres > sttt_xres || yres > tt_yres) in tt_decode_var()
607 if (xres > sttt_xres / 2 || yres > st_yres / 2) { in tt_decode_var()
610 yres = tt_yres; in tt_decode_var()
615 yres = st_yres / 2; in tt_decode_var()
619 if (xres > sttt_xres || yres > st_yres / 2) in tt_decode_var()
623 yres = st_yres / 2; in tt_decode_var()
625 } else if (var->xres > sttt_xres || var->yres > st_yres) { in tt_decode_var()
630 yres = st_yres; in tt_decode_var()
636 else if (yres_virtual < yres) in tt_decode_var()
637 yres_virtual = yres; in tt_decode_var()
645 if (yres * linelen > screen_len && screen_len) in tt_decode_var()
647 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var()
684 var->yres = st_yres / 2; in tt_encode_var()
690 var->yres = st_yres / 2; in tt_encode_var()
696 var->yres = st_yres; in tt_encode_var()
702 var->yres = tt_yres; in tt_encode_var()
708 var->yres = tt_yres; in tt_encode_var()
715 var->yres = tt_yres * 2; in tt_encode_var()
725 var->yres_virtual = var->yres; in tt_encode_var()
734 var->yres_virtual = 2 * var->yres; in tt_encode_var()
736 var->yres_virtual = var->yres + hwscroll * 16; in tt_encode_var()
885 int yres = var->yres; in falcon_decode_var() local
924 if (!xres || !yres || !bpp) in falcon_decode_var()
958 var->yres > myvar->yres) in falcon_decode_var()
969 if (yres <= 200) in falcon_decode_var()
970 yres = 200; in falcon_decode_var()
971 else if (yres <= 240) in falcon_decode_var()
972 yres = 240; in falcon_decode_var()
973 else if (yres <= 400) in falcon_decode_var()
974 yres = 400; in falcon_decode_var()
994 if (yres >= 400) in falcon_decode_var()
995 yres = (yres + 15) & ~15; in falcon_decode_var()
997 yres = (yres + 7) & ~7; in falcon_decode_var()
1008 else if (yres_virtual < yres) in falcon_decode_var()
1009 yres_virtual = yres; in falcon_decode_var()
1019 if (xres != 640 && yres != 400) in falcon_decode_var()
1037 if (yres > 240) in falcon_decode_var()
1267 par->VDE = yres; in falcon_decode_var()
1299 (hfreq * 2) / (par->VFT + 1 + 4 * lines - 2 * yres) > in falcon_decode_var()
1336 if (yres * linelen > screen_len && screen_len) in falcon_decode_var()
1338 if (var->yoffset + yres > yres_virtual && yres_virtual) in falcon_decode_var()
1383 var->yres = hw->vde - hw->vdb; in falcon_encode_var()
1385 var->yres >>= 1; in falcon_encode_var()
1387 var->yres >>= 1; in falcon_encode_var()
1447 var->yres_virtual = 2 * var->yres; in falcon_encode_var()
1449 var->yres_virtual = var->yres + hwscroll * 16; in falcon_encode_var()
1802 int yres = var->yres; in stste_decode_var() local
1808 if (bpp > 1 || xres > sttt_xres || yres > st_yres) in stste_decode_var()
1812 yres = st_yres; in stste_decode_var()
1815 if (bpp > 4 || xres > sttt_xres || yres > st_yres) in stste_decode_var()
1818 if (xres > sttt_xres / 2 || yres > st_yres / 2) in stste_decode_var()
1822 yres = st_yres / 2; in stste_decode_var()
1825 if (xres > sttt_xres || yres > st_yres / 2) in stste_decode_var()
1829 yres = st_yres / 2; in stste_decode_var()
1836 else if (yres_virtual < yres) in stste_decode_var()
1837 yres_virtual = yres; in stste_decode_var()
1845 if (yres * linelen > screen_len && screen_len) in stste_decode_var()
1847 if (var->yoffset + yres > yres_virtual && yres_virtual) in stste_decode_var()
1884 var->yres = st_yres / 2; in stste_encode_var()
1889 var->yres = st_yres / 2; in stste_encode_var()
1894 var->yres = st_yres; in stste_encode_var()
1907 var->yres_virtual = var->yres; in stste_encode_var()
1916 var->yres_virtual = 2 * var->yres; in stste_encode_var()
1918 var->yres_virtual = var->yres + hwscroll * 16; in stste_encode_var()
2122 var->yres > myvar->yres || in ext_decode_var()
2154 var->yres = external_yres; in ext_encode_var()
2162 var->yres_virtual = var->yres; in ext_encode_var()
2236 myvar->yres = external_yres; in ext_detect()
2723 int xres, xres_virtual, yres, depth, planes; in atafb_setup_ext() local
2747 yres = simple_strtoul(p, NULL, 10); in atafb_setup_ext()
2748 if (yres <= 0) in atafb_setup_ext()
2780 len = xres * yres * depth / 8; in atafb_setup_ext()
2810 if (xres_virtual * yres * depth / 8 > len) in atafb_setup_ext()
2811 len = xres_virtual * yres * depth / 8; in atafb_setup_ext()
2816 external_yres = yres; in atafb_setup_ext()
2916 int xres, yres, depth, temp; in atafb_setup_user() local
2925 yres = simple_strtoul(p, NULL, 10); in atafb_setup_user()
2934 atafb_predefined[default_par - 1].yres = yres; in atafb_setup_user()
3133 fb_info.var.yres, fb_info.var.bits_per_pixel); in atafb_probe()
3135 (fb_info.var.yres != fb_info.var.yres_virtual)) in atafb_probe()