Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/video/fbdev/
Dcg14.c193 struct cg14_clut __iomem *clut; member
248 struct cg14_clut __iomem *clut = par->clut; in cg14_setcolreg() local
261 sbus_writel(val, &clut->c_clut[regno]); in cg14_setcolreg()
454 if (par->clut) in cg14_unmap_regs()
456 par->clut, sizeof(struct cg14_clut)); in cg14_unmap_regs()
501 par->clut = of_ioremap(&op->resource[0], CG14_CLUT1, in cg14_probe()
509 if (!par->regs || !par->clut || !par->cursor || !info->screen_base) in cg14_probe()
Dgrvga.c37 u32 clut; /* 0x20 */ member
215 &par->regs->clut); in grvga_setcolreg()
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_cursor.c68 unsigned short *clut; member
103 seq_printf(s, "\tVirt @: %p", cursor->clut); in cursor_dbg_cml()
169 unsigned short *base = cursor->clut; in sti_cursor_init()
377 cursor->clut = dma_alloc_wc(dev, size, &cursor->clut_paddr, in sti_cursor_create()
380 if (!cursor->clut) { in sti_cursor_create()
411 dma_free_wc(dev, size, cursor->clut, cursor->clut_paddr); in sti_cursor_create()
/kernel/linux/linux-5.10/drivers/video/console/
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()
/kernel/linux/linux-5.10/include/media/davinci/
Dvpbe_osd.h258 enum osd_clut clut; member
299 enum osd_clut clut; member
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
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()
/kernel/linux/linux-5.10/include/linux/
Dlinux_logo.h32 const unsigned char *clut; /* LINUX_LOGO_CLUT224 only */ member
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dprom_init.c2367 const unsigned char *clut; in prom_check_displays() local
2401 clut = default_colors; in prom_check_displays()
2402 for (i = 0; i < 16; i++, clut += 3) in prom_check_displays()
2403 if (prom_set_color(ih, i, clut[0], clut[1], in prom_check_displays()
2404 clut[2]) != 0) in prom_check_displays()
2408 clut = PTRRELOC(logo_linux_clut224.clut); in prom_check_displays()
2409 for (i = 0; i < logo_linux_clut224.clutsize; i++, clut += 3) in prom_check_displays()
2410 if (prom_set_color(ih, i + 32, clut[0], clut[1], in prom_check_displays()
2411 clut[2]) != 0) in prom_check_displays()
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
Dvpbe_osd.c391 enum osd_clut clut) in _osd_set_osd_clut() argument
397 if (clut == RAM_CLUT) in _osd_set_osd_clut()
402 if (clut == RAM_CLUT) in _osd_set_osd_clut()
1271 osdwin_state->clut); in osd_set_layer_config()
1399 osdwin_state->clut = RAM_CLUT; in osd_init_layer()
1400 _osd_set_osd_clut(sd, osdwin, osdwin_state->clut); in osd_init_layer()