Searched refs:clut (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/video/fbdev/ |
H A D | cg14.c | 194 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 D | grvga.c | 36 u32 clut; /* 0x20 */ member 214 &par->regs->clut); in grvga_setcolreg()
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | fbmem.c | 202 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 D | sti_cursor.c | 69 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 D | newport_con.c | 100 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 D | linux_logo.h | 32 const unsigned char *clut; /* LINUX_LOGO_CLUT224 only */ member
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | prom_init.c | 2398 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()
|