Lines Matching refs:blue
74 static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
182 var->blue.offset = 0; in vfb_check_var()
183 var->blue.length = 8; in vfb_check_var()
193 var->blue.offset = 10; in vfb_check_var()
194 var->blue.length = 5; in vfb_check_var()
202 var->blue.offset = 11; in vfb_check_var()
203 var->blue.length = 5; in vfb_check_var()
213 var->blue.offset = 16; in vfb_check_var()
214 var->blue.length = 8; in vfb_check_var()
223 var->blue.offset = 16; in vfb_check_var()
224 var->blue.length = 8; in vfb_check_var()
231 var->blue.msb_right = 0; in vfb_check_var()
269 static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in vfb_setcolreg() argument
281 red = green = blue = in vfb_setcolreg()
282 (red * 77 + green * 151 + blue * 28) >> 8; in vfb_setcolreg()
315 blue = CNVT_TOHW(blue, info->var.blue.length); in vfb_setcolreg()
321 blue = CNVT_TOHW(blue, 8); in vfb_setcolreg()
336 (blue << info->var.blue.offset) | in vfb_setcolreg()