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()
538 switch (var->bits_per_pixel) { in cirrusfb_check_var()
573 "Unsupported bpp size: %d\n", var->bits_per_pixel); in cirrusfb_check_var()
577 pixels = info->screen_size * 8 / var->bits_per_pixel; in cirrusfb_check_var()
595 var->bits_per_pixel); in cirrusfb_check_var()
674 var->xres, var->yres, var->bits_per_pixel); in cirrusfb_set_par_foo()
676 switch (var->bits_per_pixel) { in cirrusfb_set_par_foo()
690 var->bits_per_pixel >> 3; in cirrusfb_set_par_foo()
838 if (var->bits_per_pixel == 24) in cirrusfb_set_par_foo()
941 if (var->bits_per_pixel == 1) { in cirrusfb_set_par_foo()
1018 else if (var->bits_per_pixel == 8) { in cirrusfb_set_par_foo()
1087 else if (var->bits_per_pixel == 16) { in cirrusfb_set_par_foo()
1146 else if (var->bits_per_pixel == 24) { in cirrusfb_set_par_foo()
1203 var->bits_per_pixel); in cirrusfb_set_par_foo()
1302 if (info->var.bits_per_pixel == 8) in cirrusfb_setcolreg()
1327 xoffset = var->xoffset * info->var.bits_per_pixel / 8; in cirrusfb_pan_display()
1331 if (info->var.bits_per_pixel == 1) { in cirrusfb_pan_display()
1372 if (info->var.bits_per_pixel == 1) in cirrusfb_pan_display()
1737 int m = info->var.bits_per_pixel; in cirrusfb_fillrect()
1763 info->var.bits_per_pixel, in cirrusfb_fillrect()
1776 int m = info->var.bits_per_pixel; in cirrusfb_copyarea()
1803 cirrusfb_BitBLT(cinfo->regbase, info->var.bits_per_pixel, in cirrusfb_copyarea()
1815 unsigned char op = (info->var.bits_per_pixel == 24) ? 0xc : 0x4; in cirrusfb_imageblit()
1827 int m = info->var.bits_per_pixel; in cirrusfb_imageblit()
1830 if (info->var.bits_per_pixel == 8) { in cirrusfb_imageblit()
1837 if (info->var.bits_per_pixel == 24) { in cirrusfb_imageblit()
1840 info->var.bits_per_pixel, in cirrusfb_imageblit()
1848 info->var.bits_per_pixel, in cirrusfb_imageblit()
1997 if (var->bits_per_pixel == 16) in cirrusfb_set_fbinfo()
1999 if (var->bits_per_pixel == 32) in cirrusfb_set_fbinfo()
2010 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()