Lines Matching refs:blue
30 unsigned *blue, unsigned *transp, struct fb_info* info) { in matroxfb_dh_getcolreg() argument
35 *blue = m2info->palette[regno].blue; in matroxfb_dh_getcolreg()
43 unsigned blue, unsigned transp, struct fb_info* info) { in matroxfb_dh_setcolreg() argument
50 m2info->palette[regno].blue = blue; in matroxfb_dh_setcolreg()
56 red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8; in matroxfb_dh_setcolreg()
60 blue = CNVT_TOHW(blue, p->var.blue.length); in matroxfb_dh_setcolreg()
69 (blue << p->var.blue.offset) | in matroxfb_dh_setcolreg()
78 (blue << p->var.blue.offset) | in matroxfb_dh_setcolreg()
285 var->blue.offset = 0; in matroxfb_dh_decode_var()
286 var->blue.length = 5; in matroxfb_dh_decode_var()
295 var->blue.offset = 0; in matroxfb_dh_decode_var()
296 var->blue.length = 5; in matroxfb_dh_decode_var()
305 var->blue.offset = 0; in matroxfb_dh_decode_var()
306 var->blue.length = 8; in matroxfb_dh_decode_var()
438 memcmp(&p->var.blue, &var->blue, sizeof(var->blue)); in matroxfb_dh_set_var()