Home
last modified time | relevance | path

Searched refs:palette (Results 1 – 25 of 84) sorted by relevance

1234

/Linux-v5.15/drivers/video/fbdev/
Dacornfb.h36 union palette { union
52 union palette palette[VIDC_PALETTE_SIZE]; member
Ds3c-fb.c98 unsigned short palette[S3C_FB_MAX_WIN]; member
169 struct s3c_fb_palette palette; member
266 if (sfb->variant.palette[win->index] != 0) { in s3c_fb_check_var()
705 palreg = sfb->regs + sfb->variant.palette[win->index]; in s3c_fb_update_palette()
770 val = chan_to_field(red, &win->palette.r); in s3c_fb_setcolreg()
771 val |= chan_to_field(green, &win->palette.g); in s3c_fb_setcolreg()
772 val |= chan_to_field(blue, &win->palette.b); in s3c_fb_setcolreg()
1219 win->palette.r.offset = 11; in s3c_fb_probe_win()
1220 win->palette.r.length = 5; in s3c_fb_probe_win()
1221 win->palette.g.offset = 5; in s3c_fb_probe_win()
[all …]
Dcyber2000fb.c74 } palette[NR_PALETTE]; member
300 cfb->palette[regno].red = red; in cyber2000fb_setcolreg()
301 cfb->palette[regno].green = green; in cyber2000fb_setcolreg()
302 cfb->palette[regno].blue = blue; in cyber2000fb_setcolreg()
326 cfb->palette[regno << 2].green = green; in cyber2000fb_setcolreg()
333 cyber2000fb_writeb(cfb->palette[regno >> 1].red, in cyber2000fb_setcolreg()
336 cyber2000fb_writeb(cfb->palette[regno >> 1].blue, in cyber2000fb_setcolreg()
339 green = cfb->palette[regno << 3].green; in cyber2000fb_setcolreg()
345 cfb->palette[regno << 3].red = red; in cyber2000fb_setcolreg()
346 cfb->palette[regno << 3].green = green; in cyber2000fb_setcolreg()
[all …]
Dau1100fb.c238 u32 *palette; in au1100fb_fb_setcolreg() local
242 palette = fbdev->regs->lcd_pallettebase; in au1100fb_fb_setcolreg()
258 palette = (u32*)fbi->pseudo_palette; in au1100fb_fb_setcolreg()
286 palette[regno] = value; in au1100fb_fb_setcolreg()
Dplatinumfb.c53 } palette[256]; member
195 pinfo->palette[regno].red = red; in platinumfb_setcolreg()
196 pinfo->palette[regno].green = green; in platinumfb_setcolreg()
197 pinfo->palette[regno].blue = blue; in platinumfb_setcolreg()
Dacornfb.c268 union palette pal; in acornfb_setcolreg()
288 current_par.palette[regno] = pal; in acornfb_setcolreg()
296 pal.vidc20.red = current_par.palette[i & 31].vidc20.red; in acornfb_setcolreg()
297 pal.vidc20.green = current_par.palette[(i >> 1) & 31].vidc20.green; in acornfb_setcolreg()
298 pal.vidc20.blue = current_par.palette[(i >> 2) & 31].vidc20.blue; in acornfb_setcolreg()
/Linux-v5.15/drivers/video/fbdev/omap/
Dlcdc.c383 u16 *palette; in load_palette() local
385 palette = (u16 *)lcdc.palette_virt; in load_palette()
387 *(u16 *)palette &= 0x0fff; in load_palette()
388 *(u16 *)palette |= lcdc.palette_code; in load_palette()
414 u16 *palette; in omap_lcdc_setcolreg() local
419 palette = (u16 *)lcdc.palette_virt; in omap_lcdc_setcolreg()
421 palette[regno] &= ~0x0fff; in omap_lcdc_setcolreg()
422 palette[regno] |= ((red >> 12) << 8) | ((green >> 12) << 4 ) | in omap_lcdc_setcolreg()
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dpixfmt-indexed.rst10 entry ARGB palette. It is intended for
12 the palette, this must be done with ioctls of the Linux framebuffer API.
/Linux-v5.15/Documentation/fb/
Dvt8623fb.rst18 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
19 * 8 bpp pseudocolor mode (with 18bit palette)
Darkfb.rst19 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
20 * 8 bpp pseudocolor mode (with 18bit palette)
Ds3fb.rst26 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
27 * 8 bpp pseudocolor mode (with 18bit palette)
/Linux-v5.15/drivers/gpu/drm/nouveau/
Dnvc0_fbcon.c112 uint32_t *palette = info->pseudo_palette, bg, fg; in nvc0_fbcon_imageblit() local
120 bg = palette[image->bg_color] | mask; in nvc0_fbcon_imageblit()
121 fg = palette[image->fg_color] | mask; in nvc0_fbcon_imageblit()
Dnv50_fbcon.c112 uint32_t *palette = info->pseudo_palette, bg, fg; in nv50_fbcon_imageblit() local
120 bg = palette[image->bg_color] | mask; in nv50_fbcon_imageblit()
121 fg = palette[image->fg_color] | mask; in nv50_fbcon_imageblit()
/Linux-v5.15/drivers/media/test-drivers/vivid/
Dvivid-osd.c198 u32 color, *palette; in vivid_fb_setcolreg() local
208 palette = info->pseudo_palette; in vivid_fb_setcolreg()
224 palette[regno] = color; in vivid_fb_setcolreg()
/Linux-v5.15/samples/vfio-mdev/
Dmdpy-fb.c55 u32 palette[PSEUDO_PALETTE_SIZE]; member
174 info->pseudo_palette = par->palette; in mdpy_fb_probe()
/Linux-v5.15/drivers/video/fbdev/core/
Dfbmem.c230 u32 *palette) in fb_set_logo_truepalette() argument
251 palette[i+32] = (safe_shift((clut[0] & redmask), redshift) | in fb_set_logo_truepalette()
260 u32 *palette) in fb_set_logo_directpalette() argument
270 palette[i] = i << redshift | i << greenshift | i << blueshift; in fb_set_logo_directpalette()
462 u32 *palette = NULL, *saved_pseudo_palette = NULL; in fb_show_logo_line() local
479 palette = kmalloc(256 * 4, GFP_KERNEL); in fb_show_logo_line()
480 if (palette == NULL) in fb_show_logo_line()
484 fb_set_logo_truepalette(info, logo, palette); in fb_show_logo_line()
486 fb_set_logo_directpalette(info, logo, palette); in fb_show_logo_line()
489 info->pseudo_palette = palette; in fb_show_logo_line()
[all …]
Dsysimgblt.c60 u32 *palette = (u32 *) p->pseudo_palette; in color_imageblit() local
79 color = palette[*src]; in color_imageblit()
/Linux-v5.15/drivers/hid/
Dhid-picolcd_fb.c504 u32 *palette; in picolcd_init_framebuffer() local
520 palette = info->par; in picolcd_init_framebuffer()
523 palette[i] = i > 0 && i < 16 ? 0xff : 0; in picolcd_init_framebuffer()
524 info->pseudo_palette = palette; in picolcd_init_framebuffer()
/Linux-v5.15/drivers/gpu/drm/gma500/
Doaktrail_device.c221 p->palette[i] = PSB_RVDC32(PALETTE_A + (i << 2)); in oaktrail_save_display_registers()
352 PSB_WVDC32(p->palette[i], PALETTE_A + (i << 2)); in oaktrail_restore_display_registers()
473 .palette = PALETTE_A,
497 .palette = PALETTE_B,
Dpsb_device.c273 .palette = PALETTE_A,
297 .palette = PALETTE_B,
/Linux-v5.15/drivers/video/fbdev/riva/
Drivafb.h47 u32 palette[16]; /* for Riva128 */ member
/Linux-v5.15/include/video/
Dkyro.h18 u32 palette[16]; member
/Linux-v5.15/drivers/gpu/drm/ingenic/
Dingenic-drm-drv.c55 u16 palette[256] __aligned(16); member
254 drm_color_lut_size(crtc_state->gamma_lut) != ARRAY_SIZE(priv->dma_hwdescs->palette)) { in ingenic_drm_crtc_atomic_check()
546 for (i = 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); i++) { in ingenic_drm_update_palette()
551 priv->dma_hwdescs->palette[i] = color; in ingenic_drm_update_palette()
963 + offsetof(struct ingenic_dma_hwdescs, palette); in ingenic_drm_bind()
965 | (sizeof(priv->dma_hwdescs->palette) / 4); in ingenic_drm_bind()
994 ARRAY_SIZE(priv->dma_hwdescs->palette)); in ingenic_drm_bind()
/Linux-v5.15/include/linux/
Dfsl-diu-fb.h140 __be32 palette; member
/Linux-v5.15/drivers/media/common/saa7146/
Dsaa7146_hlp.c8 static void calculate_output_format_register(struct saa7146_dev* saa, u32 palette, u32* clip_format) in calculate_output_format_register() argument
13 …*clip_format |= (( ((palette&0xf00)>>8) << 30) | ((palette&0x00f) << 24) | (((palette&0x0f0)>>4) … in calculate_output_format_register()
615 static void saa7146_set_output_format(struct saa7146_dev *dev, unsigned long palette) in saa7146_set_output_format() argument
620 calculate_output_format_register(dev,palette,&clip_format); in saa7146_set_output_format()

1234