tag | line | file | source code |
bpp | 628 | arch/m68k/amiga/amifb.c | u_short bpp; /* vmode */ |
bpp | 1104 | arch/m68k/amiga/amifb.c | static struct fb_cmap *get_default_colormap(int bpp); |
bpp | 3164 | arch/m68k/amiga/amifb.c | if (hw2ddfstrt(par->ddfstrt) >= (par->bpp-1)*64) |
bpp | 3215 | arch/m68k/amiga/amifb.c | par->bpp = var->bits_per_pixel; |
bpp | 3216 | arch/m68k/amiga/amifb.c | if (par->bpp > 8) |
bpp | 3220 | arch/m68k/amiga/amifb.c | if (par->bpp < 1) |
bpp | 3221 | arch/m68k/amiga/amifb.c | par->bpp = 1; |
bpp | 3223 | arch/m68k/amiga/amifb.c | par->bpp = par->bpp <= 6 ? 6 : 8; |
bpp | 3279 | arch/m68k/amiga/amifb.c | if (par->vxres*par->vyres*par->bpp > videomemorysize<<3) |
bpp | 3394 | arch/m68k/amiga/amifb.c | par->next_line = par->bpp*par->next_plane; |
bpp | 3409 | arch/m68k/amiga/amifb.c | if (par->bpp == 8) |
bpp | 3412 | arch/m68k/amiga/amifb.c | par->bplcon0 |= par->bpp<<12; |
bpp | 3465 | arch/m68k/amiga/amifb.c | var->bits_per_pixel = par->bpp; |
bpp | 3631 | arch/m68k/amiga/amifb.c | if (hw2ddfstrt(par->ddfstrt) < (par->bpp-1)*64 || xoffset || |
bpp | 4037 | arch/m68k/amiga/amifb.c | for (i = 0, p = bplpt0; i < par->bpp; i++, p += par->next_plane) { |
bpp | 4066 | arch/m68k/amiga/amifb.c | for (i = 0, p = bplpt0; i < par->bpp; i++, p += par->next_plane) { |
bpp | 4221 | arch/m68k/amiga/amifb.c | static struct fb_cmap *get_default_colormap(int bpp) |
bpp | 4223 | arch/m68k/amiga/amifb.c | switch (bpp) { |
bpp | 115 | arch/m68k/atari/atafb.c | short bpp; |
bpp | 529 | arch/m68k/atari/atafb.c | int bpp=var->bits_per_pixel; |
bpp | 533 | arch/m68k/atari/atafb.c | if (bpp > 1 || xres > sttt_xres*2 || yres >tt_yres*2) |
bpp | 538 | arch/m68k/atari/atafb.c | bpp=1; |
bpp | 540 | arch/m68k/atari/atafb.c | if (bpp > 8 || xres > sttt_xres || yres > tt_yres) |
bpp | 542 | arch/m68k/atari/atafb.c | if (bpp > 4) { |
bpp | 548 | arch/m68k/atari/atafb.c | bpp=8; |
bpp | 550 | arch/m68k/atari/atafb.c | else if (bpp > 2) { |
bpp | 557 | arch/m68k/atari/atafb.c | bpp=4; |
bpp | 563 | arch/m68k/atari/atafb.c | bpp=4; |
bpp | 566 | arch/m68k/atari/atafb.c | else if (bpp > 1) { |
bpp | 572 | arch/m68k/atari/atafb.c | bpp=2; |
bpp | 581 | arch/m68k/atari/atafb.c | bpp=1; |
bpp | 588 | arch/m68k/atari/atafb.c | linelen=xres*bpp/8; |
bpp | 845 | arch/m68k/atari/atafb.c | int bpp = var->bits_per_pixel; |
bpp | 884 | arch/m68k/atari/atafb.c | if (!xres || !yres || !bpp) |
bpp | 887 | arch/m68k/atari/atafb.c | if (mon_type == F_MON_SM && bpp != 1) { |
bpp | 890 | arch/m68k/atari/atafb.c | else if (bpp <= 1) { |
bpp | 891 | arch/m68k/atari/atafb.c | bpp = 1; |
bpp | 895 | arch/m68k/atari/atafb.c | else if (bpp <= 2) { |
bpp | 896 | arch/m68k/atari/atafb.c | bpp = 2; |
bpp | 900 | arch/m68k/atari/atafb.c | else if (bpp <= 4) { |
bpp | 901 | arch/m68k/atari/atafb.c | bpp = 4; |
bpp | 905 | arch/m68k/atari/atafb.c | else if (bpp <= 8) { |
bpp | 906 | arch/m68k/atari/atafb.c | bpp = 8; |
bpp | 909 | arch/m68k/atari/atafb.c | else if (bpp <= 16) { |
bpp | 910 | arch/m68k/atari/atafb.c | bpp = 16; /* packed pixel mode */ |
bpp | 915 | arch/m68k/atari/atafb.c | par->hw.falcon.bpp = bpp; |
bpp | 921 | arch/m68k/atari/atafb.c | if (bpp > myvar->bits_per_pixel || |
bpp | 932 | arch/m68k/atari/atafb.c | else if (xres <= 640 && bpp != 16) |
bpp | 944 | arch/m68k/atari/atafb.c | par->hw.falcon.ste_mode = bpp==2; |
bpp | 945 | arch/m68k/atari/atafb.c | par->hw.falcon.mono = bpp==1; |
bpp | 956 | arch/m68k/atari/atafb.c | else if (bpp == 1) |
bpp | 967 | arch/m68k/atari/atafb.c | else if (bpp == 1) |
bpp | 975 | arch/m68k/atari/atafb.c | par->hw.falcon.line_width = bpp * xres / 16; |
bpp | 976 | arch/m68k/atari/atafb.c | par->hw.falcon.line_offset = bpp * (xres_virtual - xres) / 16; |
bpp | 1010 | arch/m68k/atari/atafb.c | if (bpp == 16) |
bpp | 1085 | arch/m68k/atari/atafb.c | if (pclock->f / plen / 8 * bpp > 32000000L) |
bpp | 1158 | arch/m68k/atari/atafb.c | align = 128 / bpp; |
bpp | 1159 | arch/m68k/atari/atafb.c | hde_off = ((128 / bpp + 2) * plen); |
bpp | 1161 | arch/m68k/atari/atafb.c | hdb_off = (64 + base_off + (128 / bpp + 2) * plen) + prescale; |
bpp | 1163 | arch/m68k/atari/atafb.c | hdb_off = (base_off + (128 / bpp + 18) * plen) + prescale; |
bpp | 1264 | arch/m68k/atari/atafb.c | linelen = xres_virtual * bpp / 8; |
bpp | 1731 | arch/m68k/atari/atafb.c | int bpp=var->bits_per_pixel; |
bpp | 1735 | arch/m68k/atari/atafb.c | if (bpp > 1 || xres > sttt_xres || yres > st_yres) |
bpp | 1740 | arch/m68k/atari/atafb.c | bpp=1; |
bpp | 1742 | arch/m68k/atari/atafb.c | if (bpp > 4 || xres > sttt_xres || yres > st_yres) |
bpp | 1744 | arch/m68k/atari/atafb.c | if (bpp > 2) { |
bpp | 1750 | arch/m68k/atari/atafb.c | bpp=4; |
bpp | 1752 | arch/m68k/atari/atafb.c | else if (bpp > 1) { |
bpp | 1758 | arch/m68k/atari/atafb.c | bpp=2; |
bpp | 1767 | arch/m68k/atari/atafb.c | linelen=xres*bpp/8; |
bpp | 2374 | arch/m68k/atari/atafb.c | get_default_colormap(int bpp) |
bpp | 2376 | arch/m68k/atari/atafb.c | if (bpp == 1) |
bpp | 2378 | arch/m68k/atari/atafb.c | if (bpp == 2) |