Lines Matching refs:blue
96 static int offb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in offb_setcolreg() argument
105 u32 cb = blue >> (16 - info->var.blue.length); in offb_setcolreg()
113 (cb << info->var.blue.offset); in offb_setcolreg()
128 blue >>= 8; in offb_setcolreg()
138 writeb(blue, par->cmap_data); in offb_setcolreg()
149 (red << 16 | green << 8 | blue)); in offb_setcolreg()
157 out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue)); in offb_setcolreg()
162 out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue)); in offb_setcolreg()
166 (red << 16 | green << 8 | blue)); in offb_setcolreg()
172 writel(((red) << 22) | ((green) << 12) | ((blue) << 2), in offb_setcolreg()
176 writel(((red) << 22) | ((green) << 12) | ((blue) << 2), in offb_setcolreg()
455 var->blue.offset = 0; in offb_init_fb()
456 var->blue.length = 8; in offb_init_fb()
466 var->blue.offset = 0; in offb_init_fb()
467 var->blue.length = 5; in offb_init_fb()
477 var->blue.offset = 0; in offb_init_fb()
478 var->blue.length = 5; in offb_init_fb()
488 var->blue.offset = 0; in offb_init_fb()
489 var->blue.length = 8; in offb_init_fb()
494 var->red.msb_right = var->green.msb_right = var->blue.msb_right = in offb_init_fb()