Lines Matching refs:green
59 __u8 red, green, blue; member
142 static int chipsfb_getcolreg(u_int regno, u_int *red, u_int *green,
144 static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
260 p->palette[i].green = inb(0x3c9); in chipsfb_blank()
278 outb(p->palette[i].green, 0x3c9); in chipsfb_blank()
284 static int chipsfb_getcolreg(u_int regno, u_int *red, u_int *green, in chipsfb_getcolreg() argument
292 *green = (p->palette[regno].green<<8) | p->palette[regno].green; in chipsfb_getcolreg()
298 static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in chipsfb_setcolreg() argument
306 green >>= 8; in chipsfb_setcolreg()
309 p->palette[regno].green = green; in chipsfb_setcolreg()
314 outb(green, 0x3c9); in chipsfb_setcolreg()
320 | ((green & 0xf8) << 2) | ((blue & 0xf8) >> 3); in chipsfb_setcolreg()
356 var->green.offset = 5; in chips_set_bitdepth()
358 var->red.length = var->green.length = var->blue.length = 5; in chips_set_bitdepth()
377 var->red.offset = var->green.offset = var->blue.offset = 0; in chips_set_bitdepth()
378 var->red.length = var->green.length = var->blue.length = 8; in chips_set_bitdepth()
558 p->var.red.length = p->var.green.length = p->var.blue.length = 8; in init_chips()
568 p->disp.cmap.green = NULL; in init_chips()
594 p->palette[i].green = default_grn[j]; in init_chips()