Lines Matching refs:red
59 .red = { 0, 8, 0 },
90 static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
189 var->red.offset = 0; in mc68x328fb_check_var()
190 var->red.length = 1; in mc68x328fb_check_var()
199 var->red.offset = 0; in mc68x328fb_check_var()
200 var->red.length = 8; in mc68x328fb_check_var()
210 var->red.offset = 0; in mc68x328fb_check_var()
211 var->red.length = 5; in mc68x328fb_check_var()
219 var->red.offset = 0; in mc68x328fb_check_var()
220 var->red.length = 5; in mc68x328fb_check_var()
230 var->red.offset = 0; in mc68x328fb_check_var()
231 var->red.length = 8; in mc68x328fb_check_var()
240 var->red.offset = 0; in mc68x328fb_check_var()
241 var->red.length = 8; in mc68x328fb_check_var()
250 var->red.msb_right = 0; in mc68x328fb_check_var()
275 static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in mc68x328fb_setcolreg() argument
287 red = green = blue = in mc68x328fb_setcolreg()
288 (red * 77 + green * 151 + blue * 28) >> 8; in mc68x328fb_setcolreg()
316 red = CNVT_TOHW(red, info->var.red.length); in mc68x328fb_setcolreg()
322 red = CNVT_TOHW(red, 8); /* expect 8 bit DAC */ in mc68x328fb_setcolreg()
337 v = (red << info->var.red.offset) | in mc68x328fb_setcolreg()
446 fb_info.var.red.length = fb_info.var.green.length = fb_info.var.blue.length = 1; in mc68x328fb_init()
447 fb_info.var.red.offset = fb_info.var.green.offset = fb_info.var.blue.offset = 0; in mc68x328fb_init()