Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dmdfld_device.c209 pipe->palette[i] = PSB_RVDC32(map->palette + (i << 2)); in mdfld_save_display_registers()
338 PSB_WVDC32(pipe->palette[i], map->palette + (i << 2)); in mdfld_restore_display_registers()
400 PSB_WVDC32(pipe->palette[i], map->palette + (i << 2)); in mdfld_restore_display_registers()
460 .palette = PALETTE_A,
482 .palette = PALETTE_B,
505 .palette = PALETTE_C,
Doaktrail_device.c224 p->palette[i] = PSB_RVDC32(PALETTE_A + (i << 2)); in oaktrail_save_display_registers()
355 PSB_WVDC32(p->palette[i], PALETTE_A + (i << 2)); in oaktrail_restore_display_registers()
476 .palette = PALETTE_A,
500 .palette = PALETTE_B,
Dpsb_device.c273 .palette = PALETTE_A,
297 .palette = PALETTE_B,
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dacornfb.h36 union palette { union
52 union palette palette[VIDC_PALETTE_SIZE]; member
Ds3c-fb.c97 unsigned short palette[S3C_FB_MAX_WIN]; member
168 struct s3c_fb_palette palette; member
265 if (sfb->variant.palette[win->index] != 0) { in s3c_fb_check_var()
704 palreg = sfb->regs + sfb->variant.palette[win->index]; in s3c_fb_update_palette()
769 val = chan_to_field(red, &win->palette.r); in s3c_fb_setcolreg()
770 val |= chan_to_field(green, &win->palette.g); in s3c_fb_setcolreg()
771 val |= chan_to_field(blue, &win->palette.b); in s3c_fb_setcolreg()
1218 win->palette.r.offset = 11; in s3c_fb_probe_win()
1219 win->palette.r.length = 5; in s3c_fb_probe_win()
1220 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/samples/vfio-mdev/
Dmdpy-fb.c55 u32 palette[PSEUDO_PALETTE_SIZE]; member
174 info->pseudo_palette = par->palette; in mdpy_fb_probe()
/kernel/linux/linux-5.10/drivers/video/fbdev/riva/
Drivafb.h47 u32 palette[16]; /* for Riva128 */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/video/
Dkyro.h18 u32 palette[16]; member
/kernel/linux/linux-5.10/include/linux/
Dfsl-diu-fb.h140 __be32 palette; member
/kernel/linux/linux-5.10/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