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()
1736 int m = info->var.bits_per_pixel; in cirrusfb_fillrect()
1762 info->var.bits_per_pixel, in cirrusfb_fillrect()
1775 int m = info->var.bits_per_pixel; in cirrusfb_copyarea()
1802 cirrusfb_BitBLT(cinfo->regbase, info->var.bits_per_pixel, in cirrusfb_copyarea()
1814 unsigned char op = (info->var.bits_per_pixel == 24) ? 0xc : 0x4; in cirrusfb_imageblit()
1826 int m = info->var.bits_per_pixel; in cirrusfb_imageblit()
1829 if (info->var.bits_per_pixel == 8) { in cirrusfb_imageblit()
1836 if (info->var.bits_per_pixel == 24) { in cirrusfb_imageblit()
1839 info->var.bits_per_pixel, in cirrusfb_imageblit()
1847 info->var.bits_per_pixel, in cirrusfb_imageblit()
1995 if (var->bits_per_pixel == 16) in cirrusfb_set_fbinfo()
1997 if (var->bits_per_pixel == 32) in cirrusfb_set_fbinfo()
2008 if (var->bits_per_pixel == 1) in cirrusfb_set_fbinfo()
2658 static void cirrusfb_BitBLT(u8 __iomem *regbase, int bits_per_pixel, in cirrusfb_BitBLT() argument
2702 static void cirrusfb_RectFill(u8 __iomem *regbase, int bits_per_pixel, in cirrusfb_RectFill() argument
2718 if (bits_per_pixel >= 16) { in cirrusfb_RectFill()
2723 if (bits_per_pixel >= 24) { in cirrusfb_RectFill()
2728 if (bits_per_pixel == 32) { in cirrusfb_RectFill()