Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/gpu/drm/gma500/
Dmdfld_device.c208 pipe->palette[i] = PSB_RVDC32(map->palette + (i << 2)); in mdfld_save_display_registers()
337 PSB_WVDC32(pipe->palette[i], map->palette + (i << 2)); in mdfld_restore_display_registers()
399 PSB_WVDC32(pipe->palette[i], map->palette + (i << 2)); in mdfld_restore_display_registers()
459 .palette = PALETTE_A,
481 .palette = PALETTE_B,
504 .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,
/Linux-v5.4/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.c75 } 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 …]
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.c269 union palette pal; in acornfb_setcolreg()
289 current_par.palette[regno] = pal; in acornfb_setcolreg()
297 pal.vidc20.red = current_par.palette[i & 31].vidc20.red; in acornfb_setcolreg()
298 pal.vidc20.green = current_par.palette[(i >> 1) & 31].vidc20.green; in acornfb_setcolreg()
299 pal.vidc20.blue = current_par.palette[(i >> 2) & 31].vidc20.blue; in acornfb_setcolreg()
/Linux-v5.4/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()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dpixfmt-indexed.rst17 entry ARGB palette. It is intended for
19 the palette, this must be done with ioctls of the Linux framebuffer API.
/Linux-v5.4/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)
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnv50_fbcon.c101 uint32_t *palette = info->pseudo_palette; in nv50_fbcon_imageblit() local
114 OUT_RING(chan, palette[image->bg_color] | mask); in nv50_fbcon_imageblit()
115 OUT_RING(chan, palette[image->fg_color] | mask); in nv50_fbcon_imageblit()
Dnvc0_fbcon.c101 uint32_t *palette = info->pseudo_palette; in nvc0_fbcon_imageblit() local
114 OUT_RING (chan, palette[image->bg_color] | mask); in nvc0_fbcon_imageblit()
115 OUT_RING (chan, palette[image->fg_color] | mask); in nvc0_fbcon_imageblit()
/Linux-v5.4/drivers/media/platform/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()
/Linux-v5.4/samples/vfio-mdev/
Dmdpy-fb.c55 u32 palette[PSEUDO_PALETTE_SIZE]; member
169 info->pseudo_palette = par->palette; in mdpy_fb_probe()
/Linux-v5.4/drivers/video/fbdev/riva/
Drivafb.h47 u32 palette[16]; /* for Riva128 */ member
/Linux-v5.4/drivers/video/fbdev/core/
Dfbmem.c229 u32 *palette) in fb_set_logo_truepalette() argument
250 palette[i+32] = (safe_shift((clut[0] & redmask), redshift) | in fb_set_logo_truepalette()
259 u32 *palette) in fb_set_logo_directpalette() argument
269 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 …]
Dsysimgblt.c60 u32 *palette = (u32 *) p->pseudo_palette; in color_imageblit() local
79 color = palette[*src]; in color_imageblit()
/Linux-v5.4/drivers/hid/
Dhid-picolcd_fb.c505 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()
/Linux-v5.4/include/video/
Dkyro.h18 u32 palette[16]; member
/Linux-v5.4/include/linux/
Dfsl-diu-fb.h140 __be32 palette; member
/Linux-v5.4/drivers/media/usb/usbvision/
Dusbvision-video.c689 usbvision->palette.bytes_per_pixel; in vidioc_querybuf()
718 frame->v4l2_format = usbvision->palette; in vidioc_qbuf()
809 vf->fmt.pix.pixelformat = usbvision->palette.format; in vidioc_g_fmt_vid_cap()
811 usbvision->curwidth * usbvision->palette.bytes_per_pixel; in vidioc_g_fmt_vid_cap()
829 usbvision->palette = usbvision_v4l2_format[format_idx]; in vidioc_try_fmt_vid_cap()
840 usbvision->palette.bytes_per_pixel; in vidioc_try_fmt_vid_cap()
919 frame->v4l2_format = usbvision->palette; in usbvision_read()
1363 usbvision->palette = usbvision_v4l2_format[2]; /* V4L2_PIX_FMT_RGB24; */ in usbvision_configure_video()

1234