/drivers/video/fbdev/ |
D | s3c-fb.c | 98 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 …]
|
D | acornfb.h | 36 union palette { union 52 union palette palette[VIDC_PALETTE_SIZE]; member
|
D | cyber2000fb.c | 75 } palette[NR_PALETTE]; member 301 cfb->palette[regno].red = red; in cyber2000fb_setcolreg() 302 cfb->palette[regno].green = green; in cyber2000fb_setcolreg() 303 cfb->palette[regno].blue = blue; in cyber2000fb_setcolreg() 327 cfb->palette[regno << 2].green = green; in cyber2000fb_setcolreg() 334 cyber2000fb_writeb(cfb->palette[regno >> 1].red, in cyber2000fb_setcolreg() 337 cyber2000fb_writeb(cfb->palette[regno >> 1].blue, in cyber2000fb_setcolreg() 340 green = cfb->palette[regno << 3].green; in cyber2000fb_setcolreg() 346 cfb->palette[regno << 3].red = red; in cyber2000fb_setcolreg() 347 cfb->palette[regno << 3].green = green; in cyber2000fb_setcolreg() [all …]
|
D | au1100fb.c | 238 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()
|
D | platinumfb.c | 53 } 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()
|
D | acornfb.c | 268 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()
|
D | da8xx-fb.c | 597 unsigned short *palette = (unsigned short *) par->v_palette_base; in fb_setcolreg() local 635 palette[regno] = pal; in fb_setcolreg() 647 if (palette[regno] != pal) { in fb_setcolreg() 649 palette[regno] = pal; in fb_setcolreg() 668 if (palette[0] != 0x4000) { in fb_setcolreg() 670 palette[0] = 0x4000; in fb_setcolreg()
|
D | xilinxfb.c | 201 u32 *palette = fbi->pseudo_palette; in xilinx_fb_setcolreg() local 221 palette[regno] = (red << RED_SHIFT) | (green << GREEN_SHIFT) | in xilinx_fb_setcolreg()
|
/drivers/video/fbdev/omap/ |
D | lcdc.c | 385 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()
|
/drivers/gpu/drm/nouveau/ |
D | nvc0_fbcon.c | 112 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()
|
D | nv50_fbcon.c | 112 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()
|
/drivers/media/test-drivers/vivid/ |
D | vivid-osd.c | 198 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()
|
/drivers/video/fbdev/core/ |
D | fbmem.c | 233 u32 *palette) in fb_set_logo_truepalette() argument 254 palette[i+32] = (safe_shift((clut[0] & redmask), redshift) | in fb_set_logo_truepalette() 263 u32 *palette) in fb_set_logo_directpalette() argument 273 palette[i] = i << redshift | i << greenshift | i << blueshift; in fb_set_logo_directpalette() 461 u32 *palette = NULL, *saved_pseudo_palette = NULL; in fb_show_logo_line() local 478 palette = kmalloc(256 * 4, GFP_KERNEL); in fb_show_logo_line() 479 if (palette == NULL) in fb_show_logo_line() 483 fb_set_logo_truepalette(info, logo, palette); in fb_show_logo_line() 485 fb_set_logo_directpalette(info, logo, palette); in fb_show_logo_line() 488 info->pseudo_palette = palette; in fb_show_logo_line() [all …]
|
D | sysimgblt.c | 60 u32 *palette = (u32 *) p->pseudo_palette; in color_imageblit() local 79 color = palette[*src]; in color_imageblit()
|
D | cfbimgblt.c | 85 u32 *palette = (u32 *) p->pseudo_palette; in color_imageblit() local 105 color = palette[*src]; in color_imageblit()
|
/drivers/gpu/drm/gma500/ |
D | oaktrail_device.c | 166 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,
|
D | psb_device.c | 220 .palette = PALETTE_A, 244 .palette = PALETTE_B,
|
D | gma_display.c | 148 int palreg = map->palette; in gma_crtc_load_lut() 171 dev_priv->regs.pipe[0].palette[i] = in gma_crtc_load_lut() 608 palette_reg = map->palette; in gma_crtc_save() 670 palette_reg = map->palette; in gma_crtc_restore()
|
/drivers/hid/ |
D | hid-picolcd_fb.c | 505 u32 *palette; in picolcd_init_framebuffer() local 521 palette = info->par; in picolcd_init_framebuffer() 524 palette[i] = i > 0 && i < 16 ? 0xff : 0; in picolcd_init_framebuffer() 525 info->pseudo_palette = palette; in picolcd_init_framebuffer()
|
/drivers/staging/media/deprecated/saa7146/common/ |
D | saa7146_hlp.c | 8 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()
|
/drivers/video/fbdev/riva/ |
D | rivafb.h | 47 u32 palette[16]; /* for Riva128 */ member
|
/drivers/gpu/drm/ingenic/ |
D | ingenic-drm-drv.c | 63 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() 1220 ARRAY_SIZE(priv->dma_hwdescs->palette)); in ingenic_drm_bind()
|
/drivers/video/fbdev/kyro/ |
D | fbdev.c | 548 par->palette[regno] = in kyrofb_setcolreg() 555 par->palette[regno] = in kyrofb_setcolreg() 718 info->pseudo_palette = currentpar->palette; in kyrofb_probe()
|
/drivers/staging/media/deprecated/stkwebcam/ |
D | stk-sensor.c | 521 switch (dev->vsettings.palette) { in stk_sensor_configure() 554 if (dev->vsettings.palette == V4L2_PIX_FMT_SBGGR8 in stk_sensor_configure()
|
D | stk-webcam.h | 45 __u32 palette; member
|