Lines Matching refs:green
99 if (cmap->green) in fb_alloc_cmap()
100 kfree(cmap->green); in fb_alloc_cmap()
105 cmap->red = cmap->green = cmap->blue = cmap->transp = NULL; in fb_alloc_cmap()
111 if (!(cmap->green = kmalloc(size, GFP_ATOMIC))) in fb_alloc_cmap()
162 memcpy(to->green+tooff, from->green+fromoff, size); in fb_copy_cmap()
169 copy_from_user(to->green+tooff, from->green+fromoff, size); in fb_copy_cmap()
176 copy_to_user(to->green+tooff, from->green+fromoff, size); in fb_copy_cmap()
204 u16 *red, *green, *blue, *transp; in fb_get_cmap() local
208 green = cmap->green; in fb_get_cmap()
219 *green = hgreen; in fb_get_cmap()
225 put_user(hgreen, green); in fb_get_cmap()
231 green++; in fb_get_cmap()
258 u16 *red, *green, *blue, *transp; in fb_set_cmap() local
262 green = cmap->green; in fb_set_cmap()
272 hgreen = *green; in fb_set_cmap()
277 get_user(hgreen, green); in fb_set_cmap()
285 green++; in fb_set_cmap()