Lines Matching refs:red
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,
478 var->red.offset = 0; in offb_init_fb()
479 var->red.length = 8; in offb_init_fb()
489 var->red.offset = 10; in offb_init_fb()
490 var->red.length = 5; in offb_init_fb()
500 var->red.offset = 16; in offb_init_fb()
501 var->red.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()
525 disp->cmap.red = NULL; in offb_init_fb()
594 info->palette[i].red = default_red[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
733 *red = (info2->palette[regno].red<<8) | info2->palette[regno].red; in offb_getcolreg()
747 static int offb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in offb_setcolreg() argument
755 red >>= 8; in offb_setcolreg()
759 info2->palette[regno].red = red; in offb_setcolreg()
767 *info2->cmap_data = red; 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()