Lines Matching +full:30 +full:bpp
125 short bpp; member
224 14, 142, 78, 206, 46, 174, 110, 238, 30, 158, 94, 222, 62, 190, 126, 254,
479 "tt-low", 60, 320, 480, 31041, 120, 100, 8, 16, 140, 30,
483 "tt-mid", 60, 640, 480, 31041, 120, 100, 8, 16, 140, 30,
583 int bpp = var->bits_per_pixel; in tt_decode_var() local
588 if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2) in tt_decode_var()
593 bpp = 1; in tt_decode_var()
595 if (bpp > 8 || xres > sttt_xres || yres > tt_yres) in tt_decode_var()
597 if (bpp > 4) { in tt_decode_var()
603 bpp = 8; in tt_decode_var()
604 } else if (bpp > 2) { in tt_decode_var()
611 bpp = 4; in tt_decode_var()
616 bpp = 4; in tt_decode_var()
618 } else if (bpp > 1) { in tt_decode_var()
624 bpp = 2; in tt_decode_var()
631 bpp = 1; in tt_decode_var()
642 linelen = xres * bpp / 8; in tt_decode_var()
670 var->vsync_len = 30; in tt_encode_var()
883 int bpp = var->bits_per_pixel; in falcon_decode_var() local
924 if (!xres || !yres || !bpp) in falcon_decode_var()
927 if (mon_type == F_MON_SM && bpp != 1) in falcon_decode_var()
930 if (bpp <= 1) { in falcon_decode_var()
931 bpp = 1; in falcon_decode_var()
934 } else if (bpp <= 2) { in falcon_decode_var()
935 bpp = 2; in falcon_decode_var()
938 } else if (bpp <= 4) { in falcon_decode_var()
939 bpp = 4; in falcon_decode_var()
942 } else if (bpp <= 8) { in falcon_decode_var()
943 bpp = 8; in falcon_decode_var()
945 } else if (bpp <= 16) { in falcon_decode_var()
946 bpp = 16; /* packed pixel mode */ in falcon_decode_var()
950 par->hw.falcon.bpp = bpp; in falcon_decode_var()
956 if (bpp > myvar->bits_per_pixel || in falcon_decode_var()
967 else if (xres <= 640 && bpp != 16) in falcon_decode_var()
977 par->hw.falcon.ste_mode = bpp == 2; in falcon_decode_var()
978 par->hw.falcon.mono = bpp == 1; in falcon_decode_var()
990 else if (bpp == 1) in falcon_decode_var()
1001 else if (bpp == 1) in falcon_decode_var()
1011 par->hw.falcon.line_width = bpp * xres / 16; in falcon_decode_var()
1012 par->hw.falcon.line_offset = bpp * (xres_virtual - xres) / 16; in falcon_decode_var()
1065 if (bpp == 16) in falcon_decode_var()
1141 if (pclock->f / plen / 8 * bpp > 32000000L) in falcon_decode_var()
1186 * (this must be a multiple of plen*128/bpp, on VGA pixels in falcon_decode_var()
1210 align = 128 / bpp; in falcon_decode_var()
1211 hde_off = ((128 / bpp + 2) * plen); in falcon_decode_var()
1213 hdb_off = (64 + base_off + (128 / bpp + 2) * plen) + prescale; in falcon_decode_var()
1215 hdb_off = (base_off + (128 / bpp + 18) * plen) + prescale; in falcon_decode_var()
1333 linelen = xres_virtual * bpp / 8; in falcon_decode_var()
1390 * to get bpp, we must examine f_shift and st_shift. in falcon_encode_var()
1638 int bpp = info->var.bits_per_pixel; in falcon_pan_display() local
1640 if (bpp == 1) in falcon_pan_display()
1642 if (bpp != 16) in falcon_pan_display()
1648 par->hw.falcon.line_offset = bpp * in falcon_pan_display()
1651 par->hw.falcon.line_offset -= bpp; in falcon_pan_display()
1655 (var->yoffset * info->var.xres_virtual + xoffset) * bpp / 8; in falcon_pan_display()
1803 int bpp = var->bits_per_pixel; in stste_decode_var() local
1808 if (bpp > 1 || xres > sttt_xres || yres > st_yres) in stste_decode_var()
1813 bpp = 1; in stste_decode_var()
1815 if (bpp > 4 || xres > sttt_xres || yres > st_yres) in stste_decode_var()
1817 if (bpp > 2) { in stste_decode_var()
1823 bpp = 4; in stste_decode_var()
1824 } else if (bpp > 1) { in stste_decode_var()
1830 bpp = 2; in stste_decode_var()
1842 linelen = xres * bpp / 8; in stste_decode_var()
1871 var->vsync_len = 30; in stste_encode_var()
2024 #define LINE_DELAY (mono_moni ? 30 : 70)
2146 var->vsync_len = 30; in ext_encode_var()