palette 923 drivers/gpu/drm/drm_fb_helper.c u32 *palette = (u32 *)info->pseudo_palette; palette 947 drivers/gpu/drm/drm_fb_helper.c palette[cmap->start + i] = value; palette 539 drivers/gpu/drm/gma500/cdv_device.c .palette = PALETTE_A, palette 564 drivers/gpu/drm/gma500/cdv_device.c .palette = PALETTE_B, palette 142 drivers/gpu/drm/gma500/gma_display.c int palreg = map->palette; palette 165 drivers/gpu/drm/gma500/gma_display.c dev_priv->regs.pipe[0].palette[i] = palette 559 drivers/gpu/drm/gma500/gma_display.c palette_reg = map->palette; palette 621 drivers/gpu/drm/gma500/gma_display.c palette_reg = map->palette; palette 208 drivers/gpu/drm/gma500/mdfld_device.c pipe->palette[i] = PSB_RVDC32(map->palette + (i << 2)); palette 337 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->palette[i], map->palette + (i << 2)); palette 399 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->palette[i], map->palette + (i << 2)); palette 459 drivers/gpu/drm/gma500/mdfld_device.c .palette = PALETTE_A, palette 481 drivers/gpu/drm/gma500/mdfld_device.c .palette = PALETTE_B, palette 504 drivers/gpu/drm/gma500/mdfld_device.c .palette = PALETTE_C, palette 224 drivers/gpu/drm/gma500/oaktrail_device.c p->palette[i] = PSB_RVDC32(PALETTE_A + (i << 2)); palette 355 drivers/gpu/drm/gma500/oaktrail_device.c PSB_WVDC32(p->palette[i], PALETTE_A + (i << 2)); palette 476 drivers/gpu/drm/gma500/oaktrail_device.c .palette = PALETTE_A, palette 500 drivers/gpu/drm/gma500/oaktrail_device.c .palette = PALETTE_B, palette 802 drivers/gpu/drm/gma500/oaktrail_hdmi.c pipeb->palette[i] = PSB_RVDC32(PALETTE_B + (i << 2)); palette 856 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(pipeb->palette[i], PALETTE_B + (i << 2)); palette 273 drivers/gpu/drm/gma500/psb_device.c .palette = PALETTE_A, palette 297 drivers/gpu/drm/gma500/psb_device.c .palette = PALETTE_B, palette 287 drivers/gpu/drm/gma500/psb_drv.h u32 palette; palette 321 drivers/gpu/drm/gma500/psb_drv.h u32 palette[256]; palette 101 drivers/gpu/drm/nouveau/nv50_fbcon.c uint32_t *palette = info->pseudo_palette; palette 114 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, palette[image->bg_color] | mask); palette 115 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, palette[image->fg_color] | mask); palette 101 drivers/gpu/drm/nouveau/nvc0_fbcon.c uint32_t *palette = info->pseudo_palette; palette 114 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, palette[image->bg_color] | mask); palette 115 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, palette[image->fg_color] | mask); palette 833 drivers/gpu/drm/qxl/qxl_dev.h QXLPHYSICAL palette; palette 222 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.palette = 0; palette 505 drivers/hid/hid-picolcd_fb.c u32 *palette; palette 521 drivers/hid/hid-picolcd_fb.c palette = info->par; palette 524 drivers/hid/hid-picolcd_fb.c palette[i] = i > 0 && i < 16 ? 0xff : 0; palette 525 drivers/hid/hid-picolcd_fb.c info->pseudo_palette = palette; palette 8 drivers/media/common/saa7146/saa7146_hlp.c static void calculate_output_format_register(struct saa7146_dev* saa, u32 palette, u32* clip_format) palette 13 drivers/media/common/saa7146/saa7146_hlp.c *clip_format |= (( ((palette&0xf00)>>8) << 30) | ((palette&0x00f) << 24) | (((palette&0x0f0)>>4) << 16)); palette 615 drivers/media/common/saa7146/saa7146_hlp.c static void saa7146_set_output_format(struct saa7146_dev *dev, unsigned long palette) palette 620 drivers/media/common/saa7146/saa7146_hlp.c calculate_output_format_register(dev,palette,&clip_format); palette 861 drivers/media/pci/ivtv/ivtvfb.c u32 color, *palette; palette 877 drivers/media/pci/ivtv/ivtvfb.c palette = info->pseudo_palette; palette 897 drivers/media/pci/ivtv/ivtvfb.c palette[regno] = color; palette 874 drivers/media/pci/ngene/ngene.h int palette; palette 198 drivers/media/platform/vivid/vivid-osd.c u32 color, *palette; palette 208 drivers/media/platform/vivid/vivid-osd.c palette = info->pseudo_palette; palette 224 drivers/media/platform/vivid/vivid-osd.c palette[regno] = color; palette 521 drivers/media/usb/stkwebcam/stk-sensor.c switch (dev->vsettings.palette) { palette 554 drivers/media/usb/stkwebcam/stk-sensor.c if (dev->vsettings.palette == V4L2_PIX_FMT_SBGGR8 palette 908 drivers/media/usb/stkwebcam/stk-webcam.c pix_format->pixelformat = dev->vsettings.palette; palette 909 drivers/media/usb/stkwebcam/stk-webcam.c if (dev->vsettings.palette == V4L2_PIX_FMT_SBGGR8) palette 971 drivers/media/usb/stkwebcam/stk-webcam.c if (dev->vsettings.palette == V4L2_PIX_FMT_SBGGR8) palette 1022 drivers/media/usb/stkwebcam/stk-webcam.c dev->vsettings.palette = fmtd->fmt.pix.pixelformat; palette 1351 drivers/media/usb/stkwebcam/stk-webcam.c dev->vsettings.palette = V4L2_PIX_FMT_RGB565; palette 45 drivers/media/usb/stkwebcam/stk-webcam.h __u32 palette; palette 1758 drivers/media/usb/usbvision/usbvision-core.c usbvision->palette.bytes_per_pixel); palette 698 drivers/media/usb/usbvision/usbvision-video.c usbvision->palette.bytes_per_pixel; palette 727 drivers/media/usb/usbvision/usbvision-video.c frame->v4l2_format = usbvision->palette; palette 818 drivers/media/usb/usbvision/usbvision-video.c vf->fmt.pix.pixelformat = usbvision->palette.format; palette 820 drivers/media/usb/usbvision/usbvision-video.c usbvision->curwidth * usbvision->palette.bytes_per_pixel; palette 838 drivers/media/usb/usbvision/usbvision-video.c usbvision->palette = usbvision_v4l2_format[format_idx]; palette 849 drivers/media/usb/usbvision/usbvision-video.c usbvision->palette.bytes_per_pixel; palette 928 drivers/media/usb/usbvision/usbvision-video.c frame->v4l2_format = usbvision->palette; palette 1380 drivers/media/usb/usbvision/usbvision-video.c usbvision->palette = usbvision_v4l2_format[2]; /* V4L2_PIX_FMT_RGB24; */ palette 412 drivers/media/usb/usbvision/usbvision.h struct usbvision_v4l2_format_st palette; palette 269 drivers/video/fbdev/acornfb.c union palette pal; palette 289 drivers/video/fbdev/acornfb.c current_par.palette[regno] = pal; palette 297 drivers/video/fbdev/acornfb.c pal.vidc20.red = current_par.palette[i & 31].vidc20.red; palette 298 drivers/video/fbdev/acornfb.c pal.vidc20.green = current_par.palette[(i >> 1) & 31].vidc20.green; palette 299 drivers/video/fbdev/acornfb.c pal.vidc20.blue = current_par.palette[(i >> 2) & 31].vidc20.blue; palette 52 drivers/video/fbdev/acornfb.h union palette palette[VIDC_PALETTE_SIZE]; palette 131 drivers/video/fbdev/aty/atyfb.h struct { u8 red, green, blue; } palette[256]; palette 2857 drivers/video/fbdev/aty/atyfb_base.c par->palette[regno].red = red; palette 2858 drivers/video/fbdev/aty/atyfb_base.c par->palette[regno].green = green; palette 2859 drivers/video/fbdev/aty/atyfb_base.c par->palette[regno].blue = blue; palette 2889 drivers/video/fbdev/aty/atyfb_base.c par->palette[regno << 1].green, palette 2891 drivers/video/fbdev/aty/atyfb_base.c red = par->palette[regno >> 1].red; palette 2892 drivers/video/fbdev/aty/atyfb_base.c blue = par->palette[regno >> 1].blue; palette 1182 drivers/video/fbdev/aty/radeon_base.c rinfo->palette[regno].red = red; palette 1183 drivers/video/fbdev/aty/radeon_base.c rinfo->palette[regno].green = green; palette 1184 drivers/video/fbdev/aty/radeon_base.c rinfo->palette[regno].blue = blue; palette 1206 drivers/video/fbdev/aty/radeon_base.c (rinfo->palette[regno>>1].red << 16) | palette 1208 drivers/video/fbdev/aty/radeon_base.c (rinfo->palette[regno>>1].blue)); palette 1209 drivers/video/fbdev/aty/radeon_base.c green = rinfo->palette[regno<<1].green; palette 314 drivers/video/fbdev/aty/radeonfb.h palette[256]; palette 238 drivers/video/fbdev/au1100fb.c u32 *palette; palette 242 drivers/video/fbdev/au1100fb.c palette = fbdev->regs->lcd_pallettebase; palette 258 drivers/video/fbdev/au1100fb.c palette = (u32*)fbi->pseudo_palette; palette 286 drivers/video/fbdev/au1100fb.c palette[regno] = value; palette 1145 drivers/video/fbdev/au1200fb.c volatile u32 *palette = lcd->palette; palette 1162 drivers/video/fbdev/au1200fb.c palette = (u32*) fbi->pseudo_palette; palette 1189 drivers/video/fbdev/au1200fb.c palette[regno] = value; palette 79 drivers/video/fbdev/au1200fb.h volatile uint32 palette[(0x0800-0x0400)/4]; palette 85 drivers/video/fbdev/core/cfbimgblt.c u32 *palette = (u32 *) p->pseudo_palette; palette 105 drivers/video/fbdev/core/cfbimgblt.c color = palette[*src]; palette 229 drivers/video/fbdev/core/fbmem.c u32 *palette) palette 250 drivers/video/fbdev/core/fbmem.c palette[i+32] = (safe_shift((clut[0] & redmask), redshift) | palette 259 drivers/video/fbdev/core/fbmem.c u32 *palette) palette 269 drivers/video/fbdev/core/fbmem.c palette[i] = i << redshift | i << greenshift | i << blueshift; palette 461 drivers/video/fbdev/core/fbmem.c u32 *palette = NULL, *saved_pseudo_palette = NULL; palette 478 drivers/video/fbdev/core/fbmem.c palette = kmalloc(256 * 4, GFP_KERNEL); palette 479 drivers/video/fbdev/core/fbmem.c if (palette == NULL) palette 483 drivers/video/fbdev/core/fbmem.c fb_set_logo_truepalette(info, logo, palette); palette 485 drivers/video/fbdev/core/fbmem.c fb_set_logo_directpalette(info, logo, palette); palette 488 drivers/video/fbdev/core/fbmem.c info->pseudo_palette = palette; palette 495 drivers/video/fbdev/core/fbmem.c kfree(palette); palette 534 drivers/video/fbdev/core/fbmem.c kfree(palette); palette 60 drivers/video/fbdev/core/sysimgblt.c u32 *palette = (u32 *) p->pseudo_palette; palette 79 drivers/video/fbdev/core/sysimgblt.c color = palette[*src]; palette 75 drivers/video/fbdev/cyber2000fb.c } palette[NR_PALETTE]; palette 301 drivers/video/fbdev/cyber2000fb.c cfb->palette[regno].red = red; palette 302 drivers/video/fbdev/cyber2000fb.c cfb->palette[regno].green = green; palette 303 drivers/video/fbdev/cyber2000fb.c cfb->palette[regno].blue = blue; palette 327 drivers/video/fbdev/cyber2000fb.c cfb->palette[regno << 2].green = green; palette 334 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writeb(cfb->palette[regno >> 1].red, palette 337 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writeb(cfb->palette[regno >> 1].blue, palette 340 drivers/video/fbdev/cyber2000fb.c green = cfb->palette[regno << 3].green; palette 346 drivers/video/fbdev/cyber2000fb.c cfb->palette[regno << 3].red = red; palette 347 drivers/video/fbdev/cyber2000fb.c cfb->palette[regno << 3].green = green; palette 348 drivers/video/fbdev/cyber2000fb.c cfb->palette[regno << 3].blue = blue; palette 362 drivers/video/fbdev/cyber2000fb.c cfb->palette[regno << 4].red = red; palette 363 drivers/video/fbdev/cyber2000fb.c cfb->palette[regno << 4].green = green; palette 364 drivers/video/fbdev/cyber2000fb.c cfb->palette[regno << 4].blue = blue; palette 1047 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writeb(cfb->palette[i].red, 0x3c9, cfb); palette 1048 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writeb(cfb->palette[i].green, 0x3c9, cfb); palette 1049 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writeb(cfb->palette[i].blue, 0x3c9, cfb); palette 597 drivers/video/fbdev/da8xx-fb.c unsigned short *palette = (unsigned short *) par->v_palette_base; palette 635 drivers/video/fbdev/da8xx-fb.c palette[regno] = pal; palette 647 drivers/video/fbdev/da8xx-fb.c if (palette[regno] != pal) { palette 649 drivers/video/fbdev/da8xx-fb.c palette[regno] = pal; palette 668 drivers/video/fbdev/da8xx-fb.c if (palette[0] != 0x4000) { palette 670 drivers/video/fbdev/da8xx-fb.c palette[0] = 0x4000; palette 448 drivers/video/fbdev/fsl-diu-fb.c hw->palette, hw->cursor, hw->curs_pos, hw->diu_mode, palette 321 drivers/video/fbdev/imsttfb.c __u32 palette[16]; palette 903 drivers/video/fbdev/imsttfb.c par->palette[regno] = palette 908 drivers/video/fbdev/imsttfb.c par->palette[regno] = palette 913 drivers/video/fbdev/imsttfb.c par->palette[regno] = (i << 16) |i; palette 1524 drivers/video/fbdev/imsttfb.c info->pseudo_palette = par->palette; palette 537 drivers/video/fbdev/kyro/fbdev.c par->palette[regno] = palette 544 drivers/video/fbdev/kyro/fbdev.c par->palette[regno] = palette 703 drivers/video/fbdev/kyro/fbdev.c info->pseudo_palette = currentpar->palette; palette 536 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define CFG_CSB_256x24(palette) ((palette)<<14) /* Palette */ palette 2011 drivers/video/fbdev/neofb.c info->pseudo_palette = par->palette; palette 383 drivers/video/fbdev/omap/lcdc.c u16 *palette; palette 385 drivers/video/fbdev/omap/lcdc.c palette = (u16 *)lcdc.palette_virt; palette 387 drivers/video/fbdev/omap/lcdc.c *(u16 *)palette &= 0x0fff; palette 388 drivers/video/fbdev/omap/lcdc.c *(u16 *)palette |= lcdc.palette_code; palette 414 drivers/video/fbdev/omap/lcdc.c u16 *palette; palette 419 drivers/video/fbdev/omap/lcdc.c palette = (u16 *)lcdc.palette_virt; palette 421 drivers/video/fbdev/omap/lcdc.c palette[regno] &= ~0x0fff; palette 422 drivers/video/fbdev/omap/lcdc.c palette[regno] |= ((red >> 12) << 8) | ((green >> 12) << 4 ) | palette 53 drivers/video/fbdev/platinumfb.c } palette[256]; palette 195 drivers/video/fbdev/platinumfb.c pinfo->palette[regno].red = red; palette 196 drivers/video/fbdev/platinumfb.c pinfo->palette[regno].green = green; palette 197 drivers/video/fbdev/platinumfb.c pinfo->palette[regno].blue = blue; palette 95 drivers/video/fbdev/pm2fb.c u32 palette[16]; palette 944 drivers/video/fbdev/pm2fb.c par->palette[regno] = v; palette 1176 drivers/video/fbdev/pm2fb.c fgx = par->palette[image->fg_color]; palette 1177 drivers/video/fbdev/pm2fb.c bgx = par->palette[image->bg_color]; palette 1648 drivers/video/fbdev/pm2fb.c info->pseudo_palette = default_par->palette; palette 71 drivers/video/fbdev/pm3fb.c u32 palette[16]; palette 531 drivers/video/fbdev/pm3fb.c fgx = par->palette[image->fg_color]; palette 532 drivers/video/fbdev/pm3fb.c bgx = par->palette[image->bg_color]; palette 1387 drivers/video/fbdev/pm3fb.c info->pseudo_palette = par->palette; palette 144 drivers/video/fbdev/pvr2fb.c u32 palette[16]; palette 796 drivers/video/fbdev/pvr2fb.c fb_info->pseudo_palette = currentpar->palette; palette 311 drivers/video/fbdev/pxa168fb.h #define CFG_CSB_256x24(palette) ((palette) << 14) /* Palette */ palette 525 drivers/video/fbdev/pxafb.c fbi->palette_cpu = (u16 *)&fbi->dma_buff->palette[0]; palette 61 drivers/video/fbdev/pxafb.h unsigned char palette[PAL_MAX * PALETTE_SIZE]; palette 1328 drivers/video/fbdev/riva/fbdev.c par->palette[regno] = ((red & 0xf800) >> 1) | palette 1333 drivers/video/fbdev/riva/fbdev.c par->palette[regno] = ((red & 0xff00) << 8) | palette 1406 drivers/video/fbdev/riva/fbdev.c color = par->palette[rect->color]; palette 1516 drivers/video/fbdev/riva/fbdev.c fgx = par->palette[image->fg_color]; palette 1517 drivers/video/fbdev/riva/fbdev.c bgx = par->palette[image->bg_color]; palette 47 drivers/video/fbdev/riva/rivafb.h u32 palette[16]; /* for Riva128 */ palette 97 drivers/video/fbdev/s3c-fb.c unsigned short palette[S3C_FB_MAX_WIN]; palette 168 drivers/video/fbdev/s3c-fb.c struct s3c_fb_palette palette; palette 265 drivers/video/fbdev/s3c-fb.c if (sfb->variant.palette[win->index] != 0) { palette 704 drivers/video/fbdev/s3c-fb.c palreg = sfb->regs + sfb->variant.palette[win->index]; palette 769 drivers/video/fbdev/s3c-fb.c val = chan_to_field(red, &win->palette.r); palette 770 drivers/video/fbdev/s3c-fb.c val |= chan_to_field(green, &win->palette.g); palette 771 drivers/video/fbdev/s3c-fb.c val |= chan_to_field(blue, &win->palette.b); palette 1218 drivers/video/fbdev/s3c-fb.c win->palette.r.offset = 11; palette 1219 drivers/video/fbdev/s3c-fb.c win->palette.r.length = 5; palette 1220 drivers/video/fbdev/s3c-fb.c win->palette.g.offset = 5; palette 1221 drivers/video/fbdev/s3c-fb.c win->palette.g.length = 6; palette 1222 drivers/video/fbdev/s3c-fb.c win->palette.b.offset = 0; palette 1223 drivers/video/fbdev/s3c-fb.c win->palette.b.length = 5; palette 1227 drivers/video/fbdev/s3c-fb.c win->palette.r.offset = 16; palette 1228 drivers/video/fbdev/s3c-fb.c win->palette.r.length = 8; palette 1229 drivers/video/fbdev/s3c-fb.c win->palette.g.offset = 8; palette 1230 drivers/video/fbdev/s3c-fb.c win->palette.g.length = 8; palette 1231 drivers/video/fbdev/s3c-fb.c win->palette.b.offset = 0; palette 1232 drivers/video/fbdev/s3c-fb.c win->palette.b.length = 8; palette 1725 drivers/video/fbdev/s3c-fb.c .palette = { palette 1759 drivers/video/fbdev/s3c-fb.c .palette = { palette 242 drivers/video/fbdev/savage/savagefb.h } palette[NR_PALETTE]; palette 1212 drivers/video/fbdev/savage/savagefb_driver.c par->palette[regno].red = red; palette 1213 drivers/video/fbdev/savage/savagefb_driver.c par->palette[regno].green = green; palette 1214 drivers/video/fbdev/savage/savagefb_driver.c par->palette[regno].blue = blue; palette 1215 drivers/video/fbdev/savage/savagefb_driver.c par->palette[regno].transp = transp; palette 101 drivers/video/fbdev/sh7760fb.c u32 *palette = info->pseudo_palette; palette 113 drivers/video/fbdev/sh7760fb.c palette[regno] = (red << info->var.red.offset) | palette 1631 drivers/video/fbdev/sh_mobile_lcdcfb.c u32 *palette = info->pseudo_palette; palette 1643 drivers/video/fbdev/sh_mobile_lcdcfb.c palette[regno] = (red << info->var.red.offset) | palette 173 drivers/video/fbdev/simplefb.c u32 palette[PSEUDO_PALETTE_SIZE]; palette 467 drivers/video/fbdev/simplefb.c info->pseudo_palette = par->palette; palette 276 drivers/video/fbdev/sm501fb.c unsigned long palette) palette 283 drivers/video/fbdev/sm501fb.c smc501_writel(value, fbi->regs + palette + offset); palette 688 drivers/video/fbdev/sstfb.c par->palette[regno] = col; palette 1399 drivers/video/fbdev/sstfb.c info->pseudo_palette = par->palette; palette 776 drivers/video/fbdev/tdfxfb.c par->palette[regno] = rgbcol; palette 877 drivers/video/fbdev/tdfxfb.c tdfx_outl(par, COLORFORE, par->palette[rect->color]); palette 979 drivers/video/fbdev/tdfxfb.c par->palette[image->fg_color]); palette 981 drivers/video/fbdev/tdfxfb.c par->palette[image->bg_color]); palette 1467 drivers/video/fbdev/tdfxfb.c info->pseudo_palette = default_par->palette; palette 837 drivers/video/fbdev/tgafb.c u32 *palette = ((u32 *)info->pseudo_palette); palette 867 drivers/video/fbdev/tgafb.c color = palette[*data++]; palette 1464 drivers/video/fbdev/tgafb.c info->pseudo_palette = par->palette; palette 201 drivers/video/fbdev/xilinxfb.c u32 *palette = fbi->pseudo_palette; palette 221 drivers/video/fbdev/xilinxfb.c palette[regno] = (red << RED_SHIFT) | (green << GREEN_SHIFT) | palette 140 include/linux/fsl-diu-fb.h __be32 palette; palette 18 include/video/kyro.h u32 palette[16]; palette 180 include/video/neomagic.h u32 palette[16]; palette 338 include/video/sstfb.h u32 palette[16]; palette 197 include/video/tdfx.h u32 palette[16]; palette 219 include/video/tgafb.h u32 palette[16]; palette 55 samples/vfio-mdev/mdpy-fb.c u32 palette[PSEUDO_PALETTE_SIZE]; palette 169 samples/vfio-mdev/mdpy-fb.c info->pseudo_palette = par->palette;