Lines Matching refs:red
49 static struct { u_char red, green, blue, pad; } palette[256]; member
112 static int vfb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue,
114 static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
504 var->red.offset = 0; in set_color_bitfields()
505 var->red.length = 8; in set_color_bitfields()
514 var->red.offset = 0; in set_color_bitfields()
515 var->red.length = 5; in set_color_bitfields()
524 var->red.offset = 0; in set_color_bitfields()
525 var->red.length = 8; in set_color_bitfields()
534 var->red.offset = 0; in set_color_bitfields()
535 var->red.length = 8; in set_color_bitfields()
544 var->red.msb_right = 0; in set_color_bitfields()
556 static int vfb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, in vfb_getcolreg() argument
561 *red = (palette[regno].red<<8) | palette[regno].red; in vfb_getcolreg()
575 static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in vfb_setcolreg() argument
580 red >>= 8; in vfb_setcolreg()
583 palette[regno].red = red; in vfb_setcolreg()