Lines Matching refs:green
87 static int vesa_setpalette(int regno, unsigned red, unsigned green, in vesa_setpalette() argument
99 outb_p(green >> shift, dac_val); in vesa_setpalette()
109 struct { u_char blue, green, red, pad; } entry; in vesa_setpalette() member
112 entry.green = green >> shift; in vesa_setpalette()
131 static int vesafb_setcolreg(unsigned regno, unsigned red, unsigned green, in vesafb_setcolreg() argument
148 err = vesa_setpalette(regno,red,green,blue); in vesafb_setcolreg()
156 ((green & 0xf800) >> 6) | in vesafb_setcolreg()
162 ((green & 0xfc00) >> 5) | in vesafb_setcolreg()
169 green >>= 8; in vesafb_setcolreg()
173 (green << info->var.green.offset) | in vesafb_setcolreg()
381 vesafb_defined.green.offset = screen_info.green_pos; in vesafb_probe()
382 vesafb_defined.green.length = screen_info.green_size; in vesafb_probe()
389 depth = vesafb_defined.green.length; in vesafb_probe()
391 vesafb_defined.green.length = in vesafb_probe()