Lines Matching refs:red
39 static struct { u_char red, green, blue, pad; } palette[256]; member
79 static int tx3912fb_getcolreg(u_int regno, u_int *red, u_int *green,
81 static int tx3912fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
204 var->red.offset = 5; in tx3912fb_set_var()
205 var->red.length = 3; in tx3912fb_set_var()
213 var->red.msb_right = 0; in tx3912fb_set_var()
478 static int tx3912fb_getcolreg(u_int regno, u_int *red, u_int *green, in tx3912fb_getcolreg() argument
494 *red = grey; in tx3912fb_getcolreg()
499 *red = (palette[regno].red<<8) | palette[regno].red; in tx3912fb_getcolreg()
511 static int tx3912fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in tx3912fb_setcolreg() argument
519 fbcon_cmap.cfb8[regno] = ((red & 0xe000) >> 8) in tx3912fb_setcolreg()
524 red >>= 8; in tx3912fb_setcolreg()
527 palette[regno].red = red; in tx3912fb_setcolreg()