Lines Matching +full:24 +full:bpp
209 static u32 i740_calc_fifo(struct i740fb_par *par, u32 freq, int bpp) in i740_calc_fifo() argument
221 switch (bpp) { in i740_calc_fifo()
270 case 24: in i740_calc_fifo()
403 u32 bpp, base, dacspeed24, mem, freq; in i740fb_decode_var() local
409 dev_dbg(info->device, " xoff: %i, yoff: %i, bpp: %i, graysc: %i\n", in i740fb_decode_var()
421 bpp = var->bits_per_pixel; in i740fb_decode_var()
422 switch (bpp) { in i740fb_decode_var()
424 bpp = 8; in i740fb_decode_var()
426 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 8bpp)\n", in i740fb_decode_var()
432 bpp = 15; in i740fb_decode_var()
436 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 15/16bpp)\n", in i740fb_decode_var()
441 case 17 ... 24: in i740fb_decode_var()
442 bpp = 24; in i740fb_decode_var()
445 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 24bpp)\n", in i740fb_decode_var()
451 bpp = 32; in i740fb_decode_var()
453 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 32bpp)\n", in i740fb_decode_var()
488 mem = vxres * vyres * ((bpp + 1) / 8); in i740fb_decode_var()
583 switch (bpp) { in i740fb_decode_var()
599 case 24: in i740fb_decode_var()
642 /* Set the overscan color to 0. (NOTE: This only affects >8bpp mode) */ in i740fb_decode_var()
658 i740_calc_fifo(par, 1000000 / var->pixclock, bpp); in i740fb_decode_var()
692 case 24: in i740fb_check_var()
699 var->transp.offset = 24; in i740fb_check_var()
874 dev_dbg(info->device, "setcolreg: regno: %i, red=%d, green=%d, blue=%d, transp=%d, bpp=%d\n", in i740fb_setcolreg()
921 case 24: in i740fb_pan_display()
924 * address register in 24bpp mode, so... in i740fb_pan_display()