Lines Matching refs:red
164 info->var.red.offset = 0; in au1100fb_setmode()
165 info->var.red.length = info->var.bits_per_pixel; in au1100fb_setmode()
166 info->var.red.msb_right = 0; in au1100fb_setmode()
186 info->var.red = rgb_bitfields[index][0]; in au1100fb_setmode()
248 int au1100fb_fb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned tra… in au1100fb_fb_setcolreg() argument
262 red = green = blue = in au1100fb_fb_setcolreg()
263 (19595 * red + 38470 * green + 7471 * blue) >> 16; in au1100fb_fb_setcolreg()
273 red >>= (16 - fbi->var.red.length); in au1100fb_fb_setcolreg()
277 value = (red << fbi->var.red.offset) | in au1100fb_fb_setcolreg()
284 value = (red & 0xF800)|((green >> 5) & 0x07E0)|((blue >> 11) & 0x001F); in au1100fb_fb_setcolreg()
289 value = (((panel_swap_rgb(fbdev->panel) ? blue : red) >> 12) & 0x000F) | in au1100fb_fb_setcolreg()
291 (((panel_swap_rgb(fbdev->panel) ? red : blue) >> 4) & 0x0F00); in au1100fb_fb_setcolreg()