Home
last modified time | relevance | path

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

/linux-6.1.9/Documentation/fb/
Dcmap_xfbdev.rst39 colormap. For example, Xfbdev hits the following:
41 xc-011010/programs/Xserver/dix/colormap.c::
Dinternals.rst38 Device independent colormap information. You can get and set the colormap
Dapi.rst124 Pixel values are encoded as indices into a colormap that stores red, green and
125 blue components. The colormap is read-only for FB_VISUAL_STATIC_PSEUDOCOLOR
/linux-6.1.9/drivers/tty/vt/
Dvt.c4518 unsigned char colormap[3*16]; in con_set_cmap() local
4520 if (copy_from_user(colormap, arg, sizeof(colormap))) in con_set_cmap()
4525 default_red[i] = colormap[k++]; in con_set_cmap()
4526 default_grn[i] = colormap[k++]; in con_set_cmap()
4527 default_blu[i] = colormap[k++]; in con_set_cmap()
4547 unsigned char colormap[3*16]; in con_get_cmap() local
4551 colormap[k++] = default_red[i]; in con_get_cmap()
4552 colormap[k++] = default_grn[i]; in con_get_cmap()
4553 colormap[k++] = default_blu[i]; in con_get_cmap()
4557 if (copy_to_user(arg, colormap, sizeof(colormap))) in con_get_cmap()