Lines Matching refs:green
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,
506 var->green.offset = 0; in set_color_bitfields()
507 var->green.length = 8; in set_color_bitfields()
516 var->green.offset = 5; in set_color_bitfields()
517 var->green.length = 6; in set_color_bitfields()
526 var->green.offset = 8; in set_color_bitfields()
527 var->green.length = 8; in set_color_bitfields()
536 var->green.offset = 8; in set_color_bitfields()
537 var->green.length = 8; in set_color_bitfields()
545 var->green.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
562 *green = (palette[regno].green<<8) | palette[regno].green; in vfb_getcolreg()
575 static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in vfb_setcolreg() argument
581 green >>= 8; in vfb_setcolreg()
584 palette[regno].green = green; in vfb_setcolreg()