Home
last modified time | relevance | path

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

1234

/linux/drivers/video/fbdev/core/
H A Dfb_logo.c52 u32 *palette) in fb_set_logo_truepalette() argument
75 palette[i+32] = (safe_shift((clut[0] & redmask), redshift) | in fb_set_logo_truepalette()
84 u32 *palette) in fb_set_logo_directpalette() argument
94 palette[i] = i << redshift | i << greenshift | i << blueshift; in fb_set_logo_directpalette()
282 u32 *palette = NULL, *saved_pseudo_palette = NULL; in fb_show_logo_line() local
299 palette = kmalloc(256 * 4, GFP_KERNEL); in fb_show_logo_line()
300 if (palette == NULL) in fb_show_logo_line()
304 fb_set_logo_truepalette(info, logo, palette); in fb_show_logo_line()
306 fb_set_logo_directpalette(info, logo, palette); in fb_show_logo_line()
309 info->pseudo_palette = palette; in fb_show_logo_line()
[all …]
/linux/drivers/video/fbdev/
H A 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()
1217 win->palette.r.offset = 11; in s3c_fb_probe_win()
1218 win->palette.r.length = 5; in s3c_fb_probe_win()
1219 win->palette.g.offset = 5; in s3c_fb_probe_win()
[all …]
H A Dacornfb.h36 union palette { union
52 union palette palette[VIDC_PALETTE_SIZE]; member
H A Dcyber2000fb.c74 } palette[NR_PALETTE]; member
293 cfb->palette[regno].red = red; in cyber2000fb_setcolreg()
294 cfb->palette[regno].green = green; in cyber2000fb_setcolreg()
295 cfb->palette[regno].blue = blue; in cyber2000fb_setcolreg()
319 cfb->palette[regno << 2].green = green; in cyber2000fb_setcolreg()
326 cyber2000fb_writeb(cfb->palette[regno >> 1].red, in cyber2000fb_setcolreg()
329 cyber2000fb_writeb(cfb->palette[regno >> 1].blue, in cyber2000fb_setcolreg()
332 green = cfb->palette[regno << 3].green; in cyber2000fb_setcolreg()
338 cfb->palette[regno << 3].red = red; in cyber2000fb_setcolreg()
339 cfb->palette[regno << 3].green = green; in cyber2000fb_setcolreg()
[all …]
H A Dau1100fb.c238 u32 *palette; in au1100fb_fb_setcolreg() local
242 palette = fbdev->regs->lcd_palettebase; in au1100fb_fb_setcolreg()
258 palette = (u32*)fbi->pseudo_palette; in au1100fb_fb_setcolreg()
286 palette[regno] = value; in au1100fb_fb_setcolreg()
H A Dplatinumfb.c53 } palette[256]; member
193 pinfo->palette[regno].red = red; in platinumfb_setcolreg()
194 pinfo->palette[regno].green = green; in platinumfb_setcolreg()
195 pinfo->palette[regno].blue = blue; in platinumfb_setcolreg()
H A 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/drivers/video/fbdev/omap/
H A Dlcdc.c385 u16 *palette; in load_palette() local
387 palette = (u16 *)lcdc.palette_virt; in load_palette()
389 *(u16 *)palette &= 0x0fff; in load_palette()
390 *(u16 *)palette |= lcdc.palette_code; in load_palette()
416 u16 *palette; in omap_lcdc_setcolreg() local
421 palette = (u16 *)lcdc.palette_virt; in omap_lcdc_setcolreg()
423 palette[regno] &= ~0x0fff; in omap_lcdc_setcolreg()
424 palette[regno] |= ((red >> 12) << 8) | ((green >> 12) << 4 ) | in omap_lcdc_setcolreg()
/linux/Documentation/userspace-api/media/v4l/
H A 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/Documentation/fb/
H A Dvt8623fb.rst18 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
19 * 8 bpp pseudocolor mode (with 18bit palette)
H A Darkfb.rst19 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
20 * 8 bpp pseudocolor mode (with 18bit palette)
H A Ds3fb.rst26 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
27 * 8 bpp pseudocolor mode (with 18bit palette)
H A Dvesafb.rst115 some parameters. vesafb can use it for palette changes and
153 vgapal Use the standard vga registers for palette changes.
155 pmipal Use the protected mode interface for palette changes.
/linux/drivers/media/common/saa7146/
H A 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()
344 static void saa7146_set_output_format(struct saa7146_dev *dev, unsigned long palette) in saa7146_set_output_format() argument
349 calculate_output_format_register(dev,palette,&clip_format); in saa7146_set_output_format()
/linux/drivers/media/test-drivers/vivid/
H A 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/drivers/gpu/drm/gma500/
H A Doaktrail_device.c166 p->palette[i] = PSB_RVDC32(PALETTE_A + (i << 2)); in oaktrail_save_display_registers()
297 PSB_WVDC32(p->palette[i], PALETTE_A + (i << 2)); in oaktrail_restore_display_registers()
418 .palette = PALETTE_A,
442 .palette = PALETTE_B,
H A Dpsb_device.c220 .palette = PALETTE_A,
244 .palette = PALETTE_B,
H A Dgma_display.c150 int palreg = map->palette; in gma_crtc_load_lut()
173 dev_priv->regs.pipe[0].palette[i] = in gma_crtc_load_lut()
610 palette_reg = map->palette; in gma_crtc_save()
672 palette_reg = map->palette; in gma_crtc_restore()
/linux/samples/vfio-mdev/
H A Dmdpy-fb.c55 u32 palette[PSEUDO_PALETTE_SIZE]; member
163 info->pseudo_palette = par->palette; in mdpy_fb_probe()
/linux/drivers/hid/
H A Dhid-picolcd_fb.c468 u32 *palette; in picolcd_init_framebuffer() local
484 palette = info->par; in picolcd_init_framebuffer()
487 palette[i] = i > 0 && i < 16 ? 0xff : 0; in picolcd_init_framebuffer()
488 info->pseudo_palette = palette; in picolcd_init_framebuffer()
/linux/drivers/video/fbdev/riva/
H A Drivafb.h47 u32 palette[16]; /* for Riva128 */ member
/linux/include/video/
H A Dkyro.h18 u32 palette[16]; member
/linux/include/linux/
H A Dfsl-diu-fb.h140 __be32 palette; member
/linux/Documentation/userspace-api/media/dvb/
H A Dlegacy_dvb_osd.rst23 An appropriate palette of colors has to be set up.
150 - | Set palette entry <num> to <r,g,b>, <mix> and <trans> apply
165 - | Set a number of entries in the palette.
371 - Number of the color in the palette.
/linux/drivers/gpu/drm/ingenic/
H A Dingenic-drm-drv.c63 u16 palette[256] __aligned(16); member
345 drm_color_lut_size(crtc_state->gamma_lut) != ARRAY_SIZE(priv->dma_hwdescs->palette)) { in ingenic_drm_crtc_atomic_check()
648 for (i = 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); i++) { in ingenic_drm_update_palette()
653 priv->dma_hwdescs->palette[i] = color; in ingenic_drm_update_palette()
1065 + offsetof(struct ingenic_dma_hwdescs, palette); in ingenic_drm_configure_hwdesc_palette()
1067 | (sizeof(priv->dma_hwdescs->palette) / 4); in ingenic_drm_configure_hwdesc_palette()
1228 ARRAY_SIZE(priv->dma_hwdescs->palette)); in ingenic_drm_bind()

1234