Home
last modified time | relevance | path

Searched refs:clut (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/video/fbdev/
H A Dcg14.c194 struct cg14_clut __iomem *clut; member
249 struct cg14_clut __iomem *clut = par->clut; in cg14_setcolreg() local
262 sbus_writel(val, &clut->c_clut[regno]); in cg14_setcolreg()
455 if (par->clut) in cg14_unmap_regs()
457 par->clut, sizeof(struct cg14_clut)); in cg14_unmap_regs()
502 par->clut = of_ioremap(&op->resource[0], CG14_CLUT1, in cg14_probe()
510 if (!par->regs || !par->clut || !par->cursor || !info->screen_base) in cg14_probe()
H A Dgrvga.c36 u32 clut; /* 0x20 */ member
214 &par->regs->clut); in grvga_setcolreg()
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbmem.c202 const unsigned char *clut = logo->clut; in fb_set_logocmap() local
219 palette_cmap.red[j] = clut[0] << 8 | clut[0]; in fb_set_logocmap()
220 palette_cmap.green[j] = clut[1] << 8 | clut[1]; in fb_set_logocmap()
221 palette_cmap.blue[j] = clut[2] << 8 | clut[2]; in fb_set_logocmap()
222 clut += 3; in fb_set_logocmap()
236 const unsigned char *clut = logo->clut; in fb_set_logo_truepalette() local
251 palette[i+32] = (safe_shift((clut[0] & redmask), redshift) | in fb_set_logo_truepalette()
252 safe_shift((clut[1] & greenmask), greenshift) | in fb_set_logo_truepalette()
253 safe_shift((clut[2] & bluemask), blueshift)); in fb_set_logo_truepalette()
254 clut += 3; in fb_set_logo_truepalette()
/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_cursor.c69 unsigned short *clut; member
104 seq_printf(s, "\tVirt @: %p", cursor->clut); in cursor_dbg_cml()
170 unsigned short *base = cursor->clut; in sti_cursor_init()
378 cursor->clut = dma_alloc_wc(dev, size, &cursor->clut_paddr, in sti_cursor_create()
381 if (!cursor->clut) { in sti_cursor_create()
412 dma_free_wc(dev, size, cursor->clut, cursor->clut_paddr); in sti_cursor_create()
/openbmc/linux/drivers/video/console/
H A Dnewport_con.c100 const unsigned char *clut; in newport_show_logo() local
106 clut = logo->clut; in newport_show_logo()
112 newport_cmap_setrgb(npregs, clut[0], clut[1], clut[2]); in newport_show_logo()
113 clut += 3; in newport_show_logo()
/openbmc/linux/include/linux/
H A Dlinux_logo.h32 const unsigned char *clut; /* LINUX_LOGO_CLUT224 only */ member
/openbmc/linux/arch/powerpc/kernel/
H A Dprom_init.c2398 const unsigned char *clut; in prom_check_displays() local
2432 clut = default_colors; in prom_check_displays()
2433 for (i = 0; i < 16; i++, clut += 3) in prom_check_displays()
2434 if (prom_set_color(ih, i, clut[0], clut[1], in prom_check_displays()
2435 clut[2]) != 0) in prom_check_displays()
2439 clut = PTRRELOC(logo_linux_clut224.clut); in prom_check_displays()
2440 for (i = 0; i < logo_linux_clut224.clutsize; i++, clut += 3) in prom_check_displays()
2441 if (prom_set_color(ih, i + 32, clut[0], clut[1], in prom_check_displays()
2442 clut[2]) != 0) in prom_check_displays()