Lines Matching refs:red
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,
259 p->palette[i].red = inb(0x3c9); in chipsfb_blank()
277 outb(p->palette[i].red, 0x3c9); in chipsfb_blank()
284 static int chipsfb_getcolreg(u_int regno, u_int *red, u_int *green, in chipsfb_getcolreg() argument
291 *red = (p->palette[regno].red<<8) | p->palette[regno].red; in chipsfb_getcolreg()
298 static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in chipsfb_setcolreg() argument
305 red >>= 8; in chipsfb_setcolreg()
308 p->palette[regno].red = red; in chipsfb_setcolreg()
313 outb(red, 0x3c9); in chipsfb_setcolreg()
319 p->fbcon_cfb16_cmap[regno] = ((red & 0xf8) << 7) in chipsfb_setcolreg()
355 var->red.offset = 10; 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()
567 p->disp.cmap.red = NULL; in init_chips()
593 p->palette[i].red = default_red[j]; in init_chips()