Lines Matching refs:bits_per_pixel
396 static void cirrusfb_BitBLT(u8 __iomem *regbase, int bits_per_pixel,
401 static void cirrusfb_RectFill(u8 __iomem *regbase, int bits_per_pixel,
478 unsigned maxclockidx = var->bits_per_pixel >> 3; in cirrusfb_check_pixclock()
500 if (var->bits_per_pixel == 8) { in cirrusfb_check_pixclock()
522 var->bits_per_pixel == 16) { in cirrusfb_check_pixclock()
534 unsigned pixels = info->screen_size * 8 / var->bits_per_pixel; in cirrusfb_check_var()
537 switch (var->bits_per_pixel) { in cirrusfb_check_var()
572 "Unsupported bpp size: %d\n", var->bits_per_pixel); in cirrusfb_check_var()
593 var->bits_per_pixel); in cirrusfb_check_var()
672 var->xres, var->yres, var->bits_per_pixel); in cirrusfb_set_par_foo()
674 switch (var->bits_per_pixel) { in cirrusfb_set_par_foo()
688 var->bits_per_pixel >> 3; in cirrusfb_set_par_foo()
836 if (var->bits_per_pixel == 24) in cirrusfb_set_par_foo()
939 if (var->bits_per_pixel == 1) { in cirrusfb_set_par_foo()
1016 else if (var->bits_per_pixel == 8) { in cirrusfb_set_par_foo()
1085 else if (var->bits_per_pixel == 16) { in cirrusfb_set_par_foo()
1144 else if (var->bits_per_pixel == 24) { in cirrusfb_set_par_foo()
1201 var->bits_per_pixel); in cirrusfb_set_par_foo()
1300 if (info->var.bits_per_pixel == 8) in cirrusfb_setcolreg()
1325 xoffset = var->xoffset * info->var.bits_per_pixel / 8; in cirrusfb_pan_display()
1329 if (info->var.bits_per_pixel == 1) { in cirrusfb_pan_display()
1370 if (info->var.bits_per_pixel == 1) in cirrusfb_pan_display()
1735 int m = info->var.bits_per_pixel; in cirrusfb_fillrect()
1761 info->var.bits_per_pixel, in cirrusfb_fillrect()
1774 int m = info->var.bits_per_pixel; in cirrusfb_copyarea()
1801 cirrusfb_BitBLT(cinfo->regbase, info->var.bits_per_pixel, in cirrusfb_copyarea()
1813 unsigned char op = (info->var.bits_per_pixel == 24) ? 0xc : 0x4; in cirrusfb_imageblit()
1825 int m = info->var.bits_per_pixel; in cirrusfb_imageblit()
1828 if (info->var.bits_per_pixel == 8) { in cirrusfb_imageblit()
1835 if (info->var.bits_per_pixel == 24) { in cirrusfb_imageblit()
1838 info->var.bits_per_pixel, in cirrusfb_imageblit()
1846 info->var.bits_per_pixel, in cirrusfb_imageblit()
1994 if (var->bits_per_pixel == 16) in cirrusfb_set_fbinfo()
1996 if (var->bits_per_pixel == 32) in cirrusfb_set_fbinfo()
2007 if (var->bits_per_pixel == 1) in cirrusfb_set_fbinfo()
2654 static void cirrusfb_BitBLT(u8 __iomem *regbase, int bits_per_pixel, in cirrusfb_BitBLT() argument
2698 static void cirrusfb_RectFill(u8 __iomem *regbase, int bits_per_pixel, in cirrusfb_RectFill() argument
2714 if (bits_per_pixel >= 16) { in cirrusfb_RectFill()
2719 if (bits_per_pixel >= 24) { in cirrusfb_RectFill()
2724 if (bits_per_pixel == 32) { in cirrusfb_RectFill()