Lines Matching +full:18 +full:bpp

125 			short bpp;  member
221 2, 130, 66, 194, 34, 162, 98, 226, 18, 146, 82, 210, 50, 178, 114, 242,
497 "vga", 60, 640, 480, 39721, 42, 18, 31, 11, 100, 3,
501 "vga70", 70, 640, 400, 39721, 42, 18, 31, 11, 100, 3,
511 "falh", 60, 896, 608, 32000, 18, 42, 31, 1, 96,3,
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()
830 25175000, 39721, 18, 0, 42, 0x0, VCO_CLOCK25
832 32000000, 31250, 18, 0, 42, 0x0, 0
834 0, 0, 18, 0, 42, 0x1, 0
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()
1042 right_margin = 18; 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()
1466 hdb_off = (base_off + (128 / var->bits_per_pixel + 18) * plen) 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()