Searched refs:palette_cmap (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/video/fbdev/core/
H A Dfbmem.c201 struct fb_cmap palette_cmap; fb_set_logocmap() local
208 palette_cmap.start = 0; fb_set_logocmap()
209 palette_cmap.len = 16; fb_set_logocmap()
210 palette_cmap.red = palette_red; fb_set_logocmap()
211 palette_cmap.green = palette_green; fb_set_logocmap()
212 palette_cmap.blue = palette_blue; fb_set_logocmap()
213 palette_cmap.transp = NULL; fb_set_logocmap()
217 /* palette_cmap provides space for only 16 colors at once */ fb_set_logocmap()
220 palette_cmap.start = 32 + i; fb_set_logocmap()
221 palette_cmap.len = n; fb_set_logocmap()
223 palette_cmap.red[j] = clut[0] << 8 | clut[0]; fb_set_logocmap()
224 palette_cmap.green[j] = clut[1] << 8 | clut[1]; fb_set_logocmap()
225 palette_cmap.blue[j] = clut[2] << 8 | clut[2]; fb_set_logocmap()
228 fb_set_cmap(&palette_cmap, info); fb_set_logocmap()
/linux-4.4.14/drivers/video/console/
H A Dfbcon.c2651 static struct fb_cmap palette_cmap = { variable in typeref:struct:fb_cmap
2678 palette_cmap.len = 16; fbcon_set_palette()
2679 palette_cmap.start = 0; fbcon_set_palette()
2685 fb_copy_cmap(fb_default_cmap(1 << depth), &palette_cmap); fbcon_set_palette()
2687 return fb_set_cmap(&palette_cmap, info); fbcon_set_palette()

Completed in 207 milliseconds