Lines Matching refs:blue
64 struct { u_char red, green, blue, pad; } palette[256]; member
124 static int offb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue,
126 static int offb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
482 var->blue.offset = 0; in offb_init_fb()
483 var->blue.length = 8; in offb_init_fb()
493 var->blue.offset = 0; in offb_init_fb()
494 var->blue.length = 5; in offb_init_fb()
504 var->blue.offset = 0; in offb_init_fb()
505 var->blue.length = 8; in offb_init_fb()
510 var->red.msb_right = var->green.msb_right = var->blue.msb_right = var->transp.msb_right = 0; in offb_init_fb()
527 disp->cmap.blue = NULL; in offb_init_fb()
596 info->palette[i].blue = default_blu[j]; in offb_init_fb()
725 static int offb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, in offb_getcolreg() argument
735 *blue = (info2->palette[regno].blue<<8) | info2->palette[regno].blue; in offb_getcolreg()
747 static int offb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in offb_setcolreg() argument
757 blue >>= 8; in offb_setcolreg()
761 info2->palette[regno].blue = blue; in offb_setcolreg()
771 *info2->cmap_data = blue; in offb_setcolreg()
782 (red << 16 | green << 8 | blue)); in offb_setcolreg()
791 (red << 16 | green << 8 | blue)); in offb_setcolreg()
797 (red << 16 | green << 8 | blue)); in offb_setcolreg()
801 (red << 16 | green << 8 | blue)); in offb_setcolreg()