Lines Matching refs:blue
59 __u8 red, green, blue; member
143 u_int *blue, u_int *transp, struct fb_info *info);
144 static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
261 p->palette[i].blue = inb(0x3c9); in chipsfb_blank()
279 outb(p->palette[i].blue, 0x3c9); in chipsfb_blank()
285 u_int *blue, u_int *transp, struct fb_info *info) in chipsfb_getcolreg() argument
293 *blue = (p->palette[regno].blue<<8) | p->palette[regno].blue; in chipsfb_getcolreg()
298 static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in chipsfb_setcolreg() argument
307 blue >>= 8; in chipsfb_setcolreg()
310 p->palette[regno].blue = blue; in chipsfb_setcolreg()
315 outb(blue, 0x3c9); in chipsfb_setcolreg()
320 | ((green & 0xf8) << 2) | ((blue & 0xf8) >> 3); in chipsfb_setcolreg()
357 var->blue.offset = 0; 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()
569 p->disp.cmap.blue = NULL; in init_chips()
595 p->palette[i].blue = default_blu[j]; in init_chips()