Lines Matching refs:blue
39 static struct { u_char red, green, blue, pad; } palette[256]; member
80 u_int *blue, u_int *transp, struct fb_info *info);
81 static int tx3912fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
208 var->blue.offset = 0; in tx3912fb_set_var()
209 var->blue.length = 2; in tx3912fb_set_var()
215 var->blue.msb_right = 0; in tx3912fb_set_var()
479 u_int *blue, u_int *transp, struct fb_info *info) in tx3912fb_getcolreg() argument
496 *blue = grey; in tx3912fb_getcolreg()
501 *blue = (palette[regno].blue<<8) | palette[regno].blue; in tx3912fb_getcolreg()
511 static int tx3912fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in tx3912fb_setcolreg() argument
521 | ((blue & 0xc000) >> 14); in tx3912fb_setcolreg()
526 blue >>= 8; in tx3912fb_setcolreg()
529 palette[regno].blue = blue; in tx3912fb_setcolreg()