Lines Matching refs:red
90 static int vesa_setpalette(int regno, unsigned red, unsigned green, in vesa_setpalette() argument
101 outb_p(red >> shift, dac_val); in vesa_setpalette()
112 struct { u_char blue, green, red, pad; } entry; in vesa_setpalette() member
114 entry.red = red >> shift; in vesa_setpalette()
134 static int vesafb_setcolreg(unsigned regno, unsigned red, unsigned green, in vesafb_setcolreg() argument
151 err = vesa_setpalette(regno,red,green,blue); in vesafb_setcolreg()
155 if (info->var.red.offset == 10) { in vesafb_setcolreg()
158 ((red & 0xf800) >> 1) | in vesafb_setcolreg()
164 ((red & 0xf800) ) | in vesafb_setcolreg()
171 red >>= 8; in vesafb_setcolreg()
175 (red << info->var.red.offset) | in vesafb_setcolreg()
396 vesafb_defined.red.offset = si->red_pos; in vesafb_probe()
397 vesafb_defined.red.length = si->red_size; in vesafb_probe()
407 vesafb_defined.red.length = in vesafb_probe()