Lines Matching refs:bits_per_pixel
376 oldbpp = display->var.bits_per_pixel; in pvr2fb_set_var()
380 oldbpp != var->bits_per_pixel) { in pvr2fb_set_var()
394 switch (var->bits_per_pixel) { in pvr2fb_set_var()
420 if (oldbpp != var->bits_per_pixel) { in pvr2fb_set_var()
473 fb_copy_cmap(fb_default_cmap(1<<fb_display[con].var.bits_per_pixel), in pvr2fb_get_cmap()
487 1<<fb_display[con].var.bits_per_pixel, in pvr2fb_set_cmap()
532 fb_set_cmap(fb_default_cmap(1<<fb_display[con].var.bits_per_pixel), in do_install_cmap()
543 switch (var->bits_per_pixel) { in set_color_bitfields()
669 if ((par->bpp = var->bits_per_pixel) <= 16) in pvr2_decode_var()
671 else if ((par->bpp = var->bits_per_pixel) <= 24) in pvr2_decode_var()
673 else if ((par->bpp = var->bits_per_pixel) <= 32) in pvr2_decode_var()
768 line_length = get_line_length(var->xres_virtual, var->bits_per_pixel); in pvr2_decode_var()
790 var->bits_per_pixel = par->bpp; in pvr2_encode_var()
1072 modememused = get_line_length(var.xres_virtual, var.bits_per_pixel); in pvr2fb_init()
1078 GET_FB_IDX(fb_info.node), var.xres, var.yres, var.bits_per_pixel, in pvr2fb_init()
1079 get_line_length(var.xres, var.bits_per_pixel), in pvr2fb_init()