Lines Matching refs:green
103 static struct { u_short blue, green, red, pad; } palette[256]; member
419 par->var.red.offset = par->var.green.offset = par->var.blue.offset = in vga16fb_decode_var()
421 par->var.red.length = par->var.green.length = par->var.blue.length = in vga16fb_decode_var()
545 static void ega16_setpalette(int regno, unsigned red, unsigned green, unsigned blue) in ega16_setpalette() argument
550 val = map[red>>14] | ((map[green>>14]) << 1) | ((map[blue>>14]) << 2); in ega16_setpalette()
558 static int vga16_getcolreg(unsigned regno, unsigned *red, unsigned *green, in vga16_getcolreg() argument
571 *green = palette[regno].green; in vga16_getcolreg()
577 static void vga16_setpalette(int regno, unsigned red, unsigned green, unsigned blue) in vga16_setpalette() argument
581 outb(green >> 10, dac_val); in vga16_setpalette()
585 static int vga16_setcolreg(unsigned regno, unsigned red, unsigned green, in vga16_setcolreg() argument
602 palette[regno].green = green; in vga16_setcolreg()
611 red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8; in vga16_setcolreg()
614 vga16_setpalette(regno,red,green,blue); in vga16_setcolreg()
616 ega16_setpalette(regno,red,green,blue); in vga16_setcolreg()
913 vga16fb_defined.green.length = i; in vga16fb_init()
918 palette[i].green = default_grn[j]; in vga16fb_init()