Lines Matching refs:bits_per_pixel
397 static void cirrusfb_BitBLT(u8 __iomem *regbase, int bits_per_pixel,
402 static void cirrusfb_RectFill(u8 __iomem *regbase, int bits_per_pixel,
479 unsigned maxclockidx = var->bits_per_pixel >> 3; in cirrusfb_check_pixclock()
501 if (var->bits_per_pixel == 8) { in cirrusfb_check_pixclock()
523 var->bits_per_pixel == 16) { in cirrusfb_check_pixclock()
535 unsigned pixels = info->screen_size * 8 / var->bits_per_pixel; in cirrusfb_check_var()
538 switch (var->bits_per_pixel) { in cirrusfb_check_var()
573 "Unsupported bpp size: %d\n", var->bits_per_pixel); in cirrusfb_check_var()
594 var->bits_per_pixel); in cirrusfb_check_var()
673 var->xres, var->yres, var->bits_per_pixel); in cirrusfb_set_par_foo()
675 switch (var->bits_per_pixel) { in cirrusfb_set_par_foo()
689 var->bits_per_pixel >> 3; in cirrusfb_set_par_foo()
837 if (var->bits_per_pixel == 24) in cirrusfb_set_par_foo()
940 if (var->bits_per_pixel == 1) { in cirrusfb_set_par_foo()
1017 else if (var->bits_per_pixel == 8) { in cirrusfb_set_par_foo()
1086 else if (var->bits_per_pixel == 16) { in cirrusfb_set_par_foo()
1145 else if (var->bits_per_pixel == 24) { in cirrusfb_set_par_foo()
1202 var->bits_per_pixel); in cirrusfb_set_par_foo()
1301 if (info->var.bits_per_pixel == 8) in cirrusfb_setcolreg()
1326 xoffset = var->xoffset * info->var.bits_per_pixel / 8; in cirrusfb_pan_display()
1330 if (info->var.bits_per_pixel == 1) { in cirrusfb_pan_display()
1371 if (info->var.bits_per_pixel == 1) in cirrusfb_pan_display()
1734 int m = info->var.bits_per_pixel; in cirrusfb_fillrect()
1760 info->var.bits_per_pixel, in cirrusfb_fillrect()
1773 int m = info->var.bits_per_pixel; in cirrusfb_copyarea()
1800 cirrusfb_BitBLT(cinfo->regbase, info->var.bits_per_pixel, in cirrusfb_copyarea()
1812 unsigned char op = (info->var.bits_per_pixel == 24) ? 0xc : 0x4; in cirrusfb_imageblit()
1824 int m = info->var.bits_per_pixel; in cirrusfb_imageblit()
1827 if (info->var.bits_per_pixel == 8) { in cirrusfb_imageblit()
1834 if (info->var.bits_per_pixel == 24) { in cirrusfb_imageblit()
1837 info->var.bits_per_pixel, in cirrusfb_imageblit()
1845 info->var.bits_per_pixel, in cirrusfb_imageblit()
1993 if (var->bits_per_pixel == 16) in cirrusfb_set_fbinfo()
1995 if (var->bits_per_pixel == 32) in cirrusfb_set_fbinfo()
2006 if (var->bits_per_pixel == 1) in cirrusfb_set_fbinfo()
2656 static void cirrusfb_BitBLT(u8 __iomem *regbase, int bits_per_pixel, in cirrusfb_BitBLT() argument
2700 static void cirrusfb_RectFill(u8 __iomem *regbase, int bits_per_pixel, in cirrusfb_RectFill() argument
2716 if (bits_per_pixel >= 16) { in cirrusfb_RectFill()
2721 if (bits_per_pixel >= 24) { in cirrusfb_RectFill()
2726 if (bits_per_pixel == 32) { in cirrusfb_RectFill()