Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/tty/vt/
Dvt.c4519 unsigned char colormap[3*16]; in con_set_cmap() local
4521 if (copy_from_user(colormap, arg, sizeof(colormap))) in con_set_cmap()
4526 default_red[i] = colormap[k++]; in con_set_cmap()
4527 default_grn[i] = colormap[k++]; in con_set_cmap()
4528 default_blu[i] = colormap[k++]; in con_set_cmap()
4548 unsigned char colormap[3*16]; in con_get_cmap() local
4552 colormap[k++] = default_red[i]; in con_get_cmap()
4553 colormap[k++] = default_grn[i]; in con_get_cmap()
4554 colormap[k++] = default_blu[i]; in con_get_cmap()
4558 if (copy_to_user(arg, colormap, sizeof(colormap))) in con_get_cmap()