Lines Matching full:blue
26 var->green.length == 4 && var->blue.length == 4) { in var_to_pixfmt()
27 if (var->green.offset >= var->blue.offset) in var_to_pixfmt()
37 var->green.length == 2 && var->blue.length == 2) { in var_to_pixfmt()
38 if (var->green.offset >= var->blue.offset) in var_to_pixfmt()
48 var->green.length == 16 && var->blue.length == 16) { in var_to_pixfmt()
51 else if (var->green.offset >= var->blue.offset) in var_to_pixfmt()
61 var->green.length <= 6 && var->blue.length <= 5) { in var_to_pixfmt()
63 if (var->red.offset >= var->blue.offset) in var_to_pixfmt()
74 var->green.length <= 8 && var->blue.length <= 8) { in var_to_pixfmt()
76 if (var->red.offset >= var->blue.offset) in var_to_pixfmt()
83 if (var->red.offset >= var->blue.offset) in var_to_pixfmt()
88 if (var->red.offset >= var->blue.offset) in var_to_pixfmt()
105 var->blue.offset = 0; var->blue.length = 5; in pixfmt_to_var()
112 var->blue.offset = 11; var->blue.length = 5; in pixfmt_to_var()
119 var->blue.offset = 0; var->blue.length = 8; in pixfmt_to_var()
126 var->blue.offset = 16; var->blue.length = 8; in pixfmt_to_var()
133 var->blue.offset = 0; var->blue.length = 8; in pixfmt_to_var()
140 var->blue.offset = 16; var->blue.length = 8; in pixfmt_to_var()
147 var->blue.offset = 0; var->blue.length = 8; in pixfmt_to_var()
154 var->blue.offset = 16; var->blue.length = 8; in pixfmt_to_var()
161 var->blue.offset = 0; var->blue.length = 2; in pixfmt_to_var()
168 var->blue.offset = 2; var->blue.length = 2; in pixfmt_to_var()
175 var->blue.offset = 0; var->blue.length = 4; in pixfmt_to_var()
182 var->blue.offset = 4; var->blue.length = 4; in pixfmt_to_var()
189 var->blue.offset = 0; var->blue.length = 16; in pixfmt_to_var()
196 var->blue.offset = 4; var->blue.length = 16; in pixfmt_to_var()
203 var->blue.offset = 8; var->blue.length = 16; in pixfmt_to_var()
210 var->blue.offset = 0; var->blue.length = 8; in pixfmt_to_var()
302 static u32 to_rgb(u16 red, u16 green, u16 blue) in to_rgb() argument
306 blue >>= 8; in to_rgb()
308 return (red << 16) | (green << 8) | blue; in to_rgb()
312 unsigned int green, unsigned int blue, in mmpfb_setcolreg() argument
321 val |= chan_to_field(blue , &info->var.blue); in mmpfb_setcolreg()
326 val = to_rgb(red, green, blue); in mmpfb_setcolreg()