Home
last modified time | relevance | path

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

123

/drivers/gpu/drm/gma500/
Dmdfld_device.c218 pipe->palette[i] = PSB_RVDC32(map->palette + (i << 2)); in mdfld_save_display_registers()
347 PSB_WVDC32(pipe->palette[i], map->palette + (i << 2)); in mdfld_restore_display_registers()
409 PSB_WVDC32(pipe->palette[i], map->palette + (i << 2)); in mdfld_restore_display_registers()
469 .palette = PALETTE_A,
491 .palette = PALETTE_B,
514 .palette = PALETTE_C,
Doaktrail_device.c234 p->palette[i] = PSB_RVDC32(PALETTE_A + (i << 2)); in oaktrail_save_display_registers()
365 PSB_WVDC32(p->palette[i], PALETTE_A + (i << 2)); in oaktrail_restore_display_registers()
486 .palette = PALETTE_A,
510 .palette = PALETTE_B,
Dpsb_device.c285 .palette = PALETTE_A,
309 .palette = PALETTE_B,
Dgma_display.c145 int palreg = map->palette; in gma_crtc_load_lut()
166 dev_priv->regs.pipe[0].palette[i] = in gma_crtc_load_lut()
590 palette_reg = map->palette; in gma_crtc_save()
652 palette_reg = map->palette; in gma_crtc_restore()
/drivers/video/fbdev/
Ds3c-fb.c100 unsigned short palette[S3C_FB_MAX_WIN]; member
171 struct s3c_fb_palette palette; member
268 if (sfb->variant.palette[win->index] != 0) { in s3c_fb_check_var()
707 palreg = sfb->regs + sfb->variant.palette[win->index]; in s3c_fb_update_palette()
772 val = chan_to_field(red, &win->palette.r); in s3c_fb_setcolreg()
773 val |= chan_to_field(green, &win->palette.g); in s3c_fb_setcolreg()
774 val |= chan_to_field(blue, &win->palette.b); in s3c_fb_setcolreg()
1224 win->palette.r.offset = 11; in s3c_fb_probe_win()
1225 win->palette.r.length = 5; in s3c_fb_probe_win()
1226 win->palette.g.offset = 5; in s3c_fb_probe_win()
[all …]
Dacornfb.h39 union palette { union
55 union palette palette[VIDC_PALETTE_SIZE]; member
Dcyber2000fb.c79 } palette[NR_PALETTE]; member
305 cfb->palette[regno].red = red; in cyber2000fb_setcolreg()
306 cfb->palette[regno].green = green; in cyber2000fb_setcolreg()
307 cfb->palette[regno].blue = blue; in cyber2000fb_setcolreg()
331 cfb->palette[regno << 2].green = green; in cyber2000fb_setcolreg()
338 cyber2000fb_writeb(cfb->palette[regno >> 1].red, in cyber2000fb_setcolreg()
341 cyber2000fb_writeb(cfb->palette[regno >> 1].blue, in cyber2000fb_setcolreg()
344 green = cfb->palette[regno << 3].green; in cyber2000fb_setcolreg()
350 cfb->palette[regno << 3].red = red; in cyber2000fb_setcolreg()
351 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.c55 } palette[256]; member
197 pinfo->palette[regno].red = red; in platinumfb_setcolreg()
198 pinfo->palette[regno].green = green; in platinumfb_setcolreg()
199 pinfo->palette[regno].blue = blue; in platinumfb_setcolreg()
Dacornfb.c272 union palette pal; in acornfb_setcolreg()
292 current_par.palette[regno] = pal; in acornfb_setcolreg()
300 pal.vidc20.red = current_par.palette[ i & 31].vidc20.red; in acornfb_setcolreg()
301 pal.vidc20.green = current_par.palette[(i >> 1) & 31].vidc20.green; in acornfb_setcolreg()
302 pal.vidc20.blue = current_par.palette[(i >> 2) & 31].vidc20.blue; in acornfb_setcolreg()
Dda8xx-fb.c609 unsigned short *palette = (unsigned short *) par->v_palette_base; in fb_setcolreg() local
647 palette[regno] = pal; in fb_setcolreg()
659 if (palette[regno] != pal) { in fb_setcolreg()
661 palette[regno] = pal; in fb_setcolreg()
680 if (palette[0] != 0x4000) { in fb_setcolreg()
682 palette[0] = 0x4000; in fb_setcolreg()
Dau1200fb.h79 volatile uint32 palette[(0x0800-0x0400)/4]; member
365 volatile uint32 palette[(0x0800-0x0400)/4]; member
/drivers/video/fbdev/omap/
Dlcdc.c396 u16 *palette; in load_palette() local
398 palette = (u16 *)lcdc.palette_virt; in load_palette()
400 *(u16 *)palette &= 0x0fff; in load_palette()
401 *(u16 *)palette |= lcdc.palette_code; in load_palette()
427 u16 *palette; in omap_lcdc_setcolreg() local
432 palette = (u16 *)lcdc.palette_virt; in omap_lcdc_setcolreg()
434 palette[regno] &= ~0x0fff; in omap_lcdc_setcolreg()
435 palette[regno] |= ((red >> 12) << 8) | ((green >> 12) << 4 ) | in omap_lcdc_setcolreg()
/drivers/gpu/drm/nouveau/
Dnvc0_fbcon.c100 uint32_t *palette = info->pseudo_palette; in nvc0_fbcon_imageblit() local
113 OUT_RING (chan, palette[image->bg_color] | mask); in nvc0_fbcon_imageblit()
114 OUT_RING (chan, palette[image->fg_color] | mask); in nvc0_fbcon_imageblit()
Dnv50_fbcon.c100 uint32_t *palette = info->pseudo_palette; in nv50_fbcon_imageblit() local
113 OUT_RING(chan, palette[image->bg_color] | mask); in nv50_fbcon_imageblit()
114 OUT_RING(chan, palette[image->fg_color] | mask); in nv50_fbcon_imageblit()
/drivers/media/platform/vivid/
Dvivid-osd.c209 u32 color, *palette; in vivid_fb_setcolreg() local
219 palette = info->pseudo_palette; in vivid_fb_setcolreg()
235 palette[regno] = color; in vivid_fb_setcolreg()
/drivers/video/fbdev/core/
Dfbmem.c234 u32 *palette) in fb_set_logo_truepalette() argument
255 palette[i+32] = (safe_shift((clut[0] & redmask), redshift) | in fb_set_logo_truepalette()
264 u32 *palette) in fb_set_logo_directpalette() argument
274 palette[i] = i << redshift | i << greenshift | i << blueshift; in fb_set_logo_directpalette()
459 u32 *palette = NULL, *saved_pseudo_palette = NULL; in fb_show_logo_line() local
476 palette = kmalloc(256 * 4, GFP_KERNEL); in fb_show_logo_line()
477 if (palette == NULL) in fb_show_logo_line()
481 fb_set_logo_truepalette(info, logo, palette); in fb_show_logo_line()
483 fb_set_logo_directpalette(info, logo, palette); in fb_show_logo_line()
486 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()
Dcfbimgblt.c85 u32 *palette = (u32 *) p->pseudo_palette; in color_imageblit() local
105 color = palette[*src]; in color_imageblit()
/drivers/hid/
Dhid-picolcd_fb.c514 u32 *palette; in picolcd_init_framebuffer() local
532 palette = info->par; in picolcd_init_framebuffer()
535 palette[i] = i > 0 && i < 16 ? 0xff : 0; in picolcd_init_framebuffer()
536 info->pseudo_palette = palette; in picolcd_init_framebuffer()
/drivers/media/usb/usbvision/
Dusbvision-video.c785 usbvision->palette.bytes_per_pixel; in vidioc_querybuf()
814 frame->v4l2_format = usbvision->palette; in vidioc_qbuf()
906 vf->fmt.pix.pixelformat = usbvision->palette.format; in vidioc_g_fmt_vid_cap()
908 usbvision->curwidth * usbvision->palette.bytes_per_pixel; in vidioc_g_fmt_vid_cap()
926 usbvision->palette = usbvision_v4l2_format[format_idx]; in vidioc_try_fmt_vid_cap()
937 usbvision->palette.bytes_per_pixel; in vidioc_try_fmt_vid_cap()
1014 frame->v4l2_format = usbvision->palette; in usbvision_read()
1486 usbvision->palette = usbvision_v4l2_format[2]; /* V4L2_PIX_FMT_RGB24; */ in usbvision_configure_video()
/drivers/media/common/saa7146/
Dsaa7146_hlp.c7 static void calculate_output_format_register(struct saa7146_dev* saa, u32 palette, u32* clip_format) in calculate_output_format_register() argument
12 …*clip_format |= (( ((palette&0xf00)>>8) << 30) | ((palette&0x00f) << 24) | (((palette&0x0f0)>>4) … in calculate_output_format_register()
617 static void saa7146_set_output_format(struct saa7146_dev *dev, unsigned long palette) in saa7146_set_output_format() argument
622 calculate_output_format_register(dev,palette,&clip_format); in saa7146_set_output_format()
/drivers/video/fbdev/riva/
Drivafb.h46 u32 palette[16]; /* for Riva128 */ member
/drivers/media/usb/stkwebcam/
Dstk-sensor.c530 switch (dev->vsettings.palette) { in stk_sensor_configure()
562 if (dev->vsettings.palette == V4L2_PIX_FMT_SBGGR8 in stk_sensor_configure()
/drivers/video/fbdev/kyro/
Dfbdev.c542 par->palette[regno] = in kyrofb_setcolreg()
549 par->palette[regno] = in kyrofb_setcolreg()
711 info->pseudo_palette = currentpar->palette; in kyrofb_probe()

123