Lines Matching refs:bits_per_pixel
412 switch (var->bits_per_pixel) { in set_color_bitfields()
485 fix->visual = (var->bits_per_pixel <= 8) ? in it8181fb_encode_fix()
523 switch (var->bits_per_pixel) { in it8181fb_decode_var()
525 par->var.bits_per_pixel = 8; in it8181fb_decode_var()
528 par->var.bits_per_pixel = 16; in it8181fb_decode_var()
531 par->var.bits_per_pixel = 24; in it8181fb_decode_var()
534 par->var.bits_per_pixel = 32; in it8181fb_decode_var()
537 dbg("color depth %d bpp not supported", var->bits_per_pixel); in it8181fb_decode_var()
550 par->cmap_len = (par->var.bits_per_pixel == 8) ? 256 : 16; in it8181fb_decode_var()
556 par->var.xres_virtual * (par->var.bits_per_pixel>>3); in it8181fb_decode_var()
560 par->var.bits_per_pixel); in it8181fb_decode_var()
613 switch (par->var.bits_per_pixel) { in it8181fb_set_disp()
853 dbg("%dx%dx%d", par->var.xres, par->var.yres, par->var.bits_per_pixel); in it8181fb_set_par()
885 (par->var.bits_per_pixel == 8 || par->var.bits_per_pixel == 16)) { in it8181fb_set_par()
914 (par->var.bits_per_pixel == 8 || par->var.bits_per_pixel == 16)) { in it8181fb_set_par()
945 if (par->var.bits_per_pixel == 8) { in it8181fb_set_par()
957 if (par->var.bits_per_pixel == 8) in it8181fb_set_par()
959 else if (par->var.bits_per_pixel == 16) in it8181fb_set_par()
963 if (par->var.bits_per_pixel == 8) in it8181fb_set_par()
965 else if (par->var.bits_per_pixel == 16) in it8181fb_set_par()
975 (par->var.bits_per_pixel == 8 || in it8181fb_set_par()
976 par->var.bits_per_pixel == 16)) { in it8181fb_set_par()
1018 (par->var.bits_per_pixel == 8 || in it8181fb_set_par()
1019 par->var.bits_per_pixel == 16)) { in it8181fb_set_par()
1142 switch (par->var.bits_per_pixel) { in it8181fb_setcolreg()
1248 var.bits_per_pixel = default_bpp; in it8181fb_init()