Home
last modified time | relevance | path

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

/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()
/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()
375 cursor->clut = dma_alloc_wc(dev, size, &cursor->clut_paddr, in sti_cursor_create()
378 if (!cursor->clut) { in sti_cursor_create()
409 dma_free_wc(dev, size, cursor->clut, cursor->clut_paddr); in sti_cursor_create()
/drivers/video/console/
Dnewport_con.c104 const unsigned char *clut; in newport_show_logo() local
110 clut = logo->clut; in newport_show_logo()
116 newport_cmap_setrgb(npregs, clut[0], clut[1], clut[2]); in newport_show_logo()
117 clut += 3; in newport_show_logo()
/drivers/video/fbdev/core/
Dfbmem.c201 const unsigned char *clut = logo->clut; in fb_set_logocmap() local
218 palette_cmap.red[j] = clut[0] << 8 | clut[0]; in fb_set_logocmap()
219 palette_cmap.green[j] = clut[1] << 8 | clut[1]; in fb_set_logocmap()
220 palette_cmap.blue[j] = clut[2] << 8 | clut[2]; in fb_set_logocmap()
221 clut += 3; in fb_set_logocmap()
235 const unsigned char *clut = logo->clut; in fb_set_logo_truepalette() local
250 palette[i+32] = (safe_shift((clut[0] & redmask), redshift) | in fb_set_logo_truepalette()
251 safe_shift((clut[1] & greenmask), greenshift) | in fb_set_logo_truepalette()
252 safe_shift((clut[2] & bluemask), blueshift)); in fb_set_logo_truepalette()
253 clut += 3; in fb_set_logo_truepalette()
/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()