#include <linux/string.h>
#include <linux/module.h>
#include <linux/fb.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
Go to the source code of this file.
fb_alloc_cmap - allocate a colormap : frame buffer colormap structure : length of : boolean, 1 if there is transparency, 0 otherwise : flags for kmalloc memory allocation
Allocates memory for a colormap . is the number of entries in the palette.
Returns negative errno on error, or zero on success.
Definition at line 92 of file fbcmap.c.
fb_copy_cmap - copy a colormap : frame buffer colormap structure : frame buffer colormap structure
Copy contents of colormap from to .
Definition at line 164 of file fbcmap.c.
fb_dealloc_cmap - deallocate a colormap : frame buffer colormap structure
Deallocates a colormap that was previously allocated with fb_alloc_cmap().
Definition at line 145 of file fbcmap.c.
fb_default_cmap - get default colormap : size of palette for a depth
Gets the default colormap for a specific screen depth. is the size of the palette for a particular screen depth.
Returns pointer to a frame buffer colormap structure.
Definition at line 312 of file fbcmap.c.
fb_invert_cmaps - invert all defaults colormaps
Invert all default colormaps.
Definition at line 331 of file fbcmap.c.
fb_set_cmap - set the colormap : frame buffer colormap structure : frame buffer info structure
Sets the colormap for a screen of device .
Returns negative errno on error, or zero on success.
Definition at line 227 of file fbcmap.c.