Lines Matching full:blue
49 var->green.length <= 6 && var->blue.length <= 5) { in determine_best_pix_fmt()
51 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt()
58 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt()
69 var->green.length <= 8 && var->blue.length <= 8) { in determine_best_pix_fmt()
71 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt()
78 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt()
83 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt()
100 var->blue.offset = 0; var->blue.length = 5; in set_pix_fmt()
107 var->blue.offset = 11; var->blue.length = 5; in set_pix_fmt()
114 var->blue.offset = 0; var->blue.length = 5; in set_pix_fmt()
121 var->blue.offset = 10; var->blue.length = 5; in set_pix_fmt()
128 var->blue.offset = 0; var->blue.length = 8; in set_pix_fmt()
135 var->blue.offset = 16; var->blue.length = 8; in set_pix_fmt()
142 var->blue.offset = 0; var->blue.length = 8; in set_pix_fmt()
149 var->blue.offset = 16; var->blue.length = 8; in set_pix_fmt()
156 var->blue.offset = 0; var->blue.length = 8; in set_pix_fmt()
315 * Check red and blue pixel swap. in set_dma_control0()
475 static u32 to_rgb(u16 red, u16 green, u16 blue) in to_rgb() argument
479 blue >>= 8; in to_rgb()
481 return (red << 16) | (green << 8) | blue; in to_rgb()
486 unsigned int blue, unsigned int trans, struct fb_info *info) in pxa168fb_setcolreg() argument
492 red = green = blue = (19595 * red + 38470 * green + in pxa168fb_setcolreg()
493 7471 * blue) >> 16; in pxa168fb_setcolreg()
498 val |= chan_to_field(blue , &info->var.blue); in pxa168fb_setcolreg()
503 val = to_rgb(red, green, blue); in pxa168fb_setcolreg()