
NAME
fb_copy_cmap - copy a colormap
SYNOPSIS
void fb_copy_cmap (struct fb_cmap *from, struct fb_cmap *to, int
fsfromto);
ARGUMENTS
from frame buffer colormap structure
to frame buffer colormap structure
fsfromto determine copy method
DESCRIPTION
Copy contents of colormap from from to to.
0
memcpy function
1
copy_from_user function to copy from userspace
2
copy_to_user function to copy to userspace