Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/drivers/tty/vt/
Dvt.c4528 unsigned char colormap[3*16]; in con_set_cmap() local
4530 if (copy_from_user(colormap, arg, sizeof(colormap))) in con_set_cmap()
4535 default_red[i] = colormap[k++]; in con_set_cmap()
4536 default_grn[i] = colormap[k++]; in con_set_cmap()
4537 default_blu[i] = colormap[k++]; in con_set_cmap()
4557 unsigned char colormap[3*16]; in con_get_cmap() local
4561 colormap[k++] = default_red[i]; in con_get_cmap()
4562 colormap[k++] = default_grn[i]; in con_get_cmap()
4563 colormap[k++] = default_blu[i]; in con_get_cmap()
4567 if (copy_to_user(arg, colormap, sizeof(colormap))) in con_get_cmap()