Home
last modified time | relevance | path

Searched refs:colormap (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/Documentation/fb/
Dcmap_xfbdev.txt35 colormap. For example, Xfbdev hits the following:
37 xc-011010/programs/Xserver/dix/colormap.c:
Dinternals.txt32 Device independent colormap information. You can get and set the colormap
Dapi.txt123 Pixel values are encoded as indices into a colormap that stores red, green and
124 blue components. The colormap is read-only for FB_VISUAL_STATIC_PSEUDOCOLOR
/Linux-v4.19/drivers/tty/vt/
Dvt.c4323 unsigned char colormap[3*16]; in con_set_cmap() local
4325 if (copy_from_user(colormap, arg, sizeof(colormap))) in con_set_cmap()
4330 default_red[i] = colormap[k++]; in con_set_cmap()
4331 default_grn[i] = colormap[k++]; in con_set_cmap()
4332 default_blu[i] = colormap[k++]; in con_set_cmap()
4352 unsigned char colormap[3*16]; in con_get_cmap() local
4356 colormap[k++] = default_red[i]; in con_get_cmap()
4357 colormap[k++] = default_grn[i]; in con_get_cmap()
4358 colormap[k++] = default_blu[i]; in con_get_cmap()
4362 if (copy_to_user(arg, colormap, sizeof(colormap))) in con_get_cmap()