Lines Matching refs:var
213 if (fb->info.var.bits_per_pixel == 32) in SETUP_FB()
219 if (fb->info.var.bits_per_pixel == 32) in SETUP_FB()
257 if (fb->info.var.bits_per_pixel == 32) { in FINISH_IMAGE_COLORMAP_ACCESS()
506 SET_ATTR_SIZE(fb, fb->info.var.xres, fb->info.var.yres); in ngleSetupAttrPlanes()
529 for (y = 0; y < fb->info.var.yres; ++y) in rattlerSetupPlanes()
531 0xff, fb->info.var.xres * fb->info.var.bits_per_pixel/8); in rattlerSetupPlanes()
571 if (fb->var.bits_per_pixel == 8) {
610 if (fb->info.var.bits_per_pixel == 8) in setHyperLutBltCtl()
691 packed_len = (fb->info.var.xres << 16) | fb->info.var.yres; in ngleResetAttrPlanes()
741 packed_len = (fb->info.var.xres << 16) | fb->info.var.yres; in ngleClearOverlayPlanes()
763 if (fb->info.var.bits_per_pixel == 32) in hyperResetPlanes()
893 hyperbowl = (fb->info.var.bits_per_pixel == 32) ? in SETUP_HCRX()
942 if (unlikely(fb->info.var.grayscale)) { in stifb_setcolreg()
954 struct fb_var_screeninfo *var = &fb->info.var; in stifb_setcolreg() local
957 regno << var->red.offset | in stifb_setcolreg()
958 regno << var->green.offset | in stifb_setcolreg()
959 regno << var->blue.offset; in stifb_setcolreg()
1022 if (fb->info.var.bits_per_pixel == 32) { in stifb_copyarea()
1080 if (fb->info.var.bits_per_pixel == 32) in stifb_init_display()
1090 if (fb->info.var.bits_per_pixel == 32) in stifb_init_display()
1121 struct fb_var_screeninfo *var; in stifb_init_fb() local
1138 var = &info->var; in stifb_init_fb()
1191 var->grayscale = 1; in stifb_init_fb()
1198 var->grayscale = 1; in stifb_init_fb()
1270 var->red.length = var->green.length = var->blue.length = 1; in stifb_init_fb()
1275 var->red.length = var->green.length = var->blue.length = 8; in stifb_init_fb()
1280 var->red.length = var->green.length = var->blue.length = var->transp.length = 8; in stifb_init_fb()
1281 var->blue.offset = 0; in stifb_init_fb()
1282 var->green.offset = 8; in stifb_init_fb()
1283 var->red.offset = 16; in stifb_init_fb()
1284 var->transp.offset = 24; in stifb_init_fb()
1290 var->xres = var->xres_virtual = xres; in stifb_init_fb()
1291 var->yres = var->yres_virtual = yres; in stifb_init_fb()
1292 var->bits_per_pixel = bpp; in stifb_init_fb()
1325 var->xres, in stifb_init_fb()
1326 var->yres, in stifb_init_fb()
1327 var->bits_per_pixel, in stifb_init_fb()