Lines Matching refs:red
64 .len=2, .red=red2, .green=green2, .blue=blue2
67 .len=8, .red=red8, .green=green8, .blue=blue8
70 .len=4, .red=red4, .green=green4, .blue=blue4
73 .len=16, .red=red16, .green=green16, .blue=blue16
104 cmap->red = kzalloc(size, flags); in fb_alloc_cmap_gfp()
105 if (!cmap->red) in fb_alloc_cmap_gfp()
149 kfree(cmap->red); in fb_dealloc_cmap()
154 cmap->red = cmap->green = cmap->blue = cmap->transp = NULL; in fb_dealloc_cmap()
183 memcpy(to->red+tooff, from->red+fromoff, size); in fb_copy_cmap()
208 if (copy_to_user(to->red+tooff, from->red+fromoff, size)) in fb_cmap_to_user()
234 u16 *red, *green, *blue, *transp; in fb_set_cmap() local
237 red = cmap->red; in fb_set_cmap()
250 hred = *red++; in fb_set_cmap()
280 if (copy_from_user(umap.red, cmap->red, size) || in fb_set_user_cmap()