• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/

Lines Matching refs:palette

80  * @palette: Address of palette memory, or 0 if none.
96 unsigned short palette[S3C_FB_MAX_WIN];
107 * @palette_sz: Size of palette in entries.
108 * @palette_16bpp: Set if palette is 16bits wide.
136 * struct s3c_fb_palette - palette information
155 * @palette_buffer: Buffer/cache to hold palette entries.
158 * @palette: The bitfields for changing r/g/b into a hardware palette entry.
164 struct s3c_fb_palette palette;
258 if (sfb->variant.palette[win->index] != 0) {
650 * s3c_fb_update_palette() - set or schedule a palette update.
653 * @reg: The palette index being changed.
654 * @value: The computed palette value.
656 * Change the value of a palette register, either by directly writing to
657 * the palette (this requires the palette RAM to be disconnected from the
661 * the palette entry directly.
671 palreg = sfb->regs + sfb->variant.palette[win->index];
698 * s3c_fb_setcolreg() - framebuffer layer request to change palette.
699 * @regno: The palette index to change.
700 * @red: The red field for the palette data.
701 * @green: The green field for the palette data.
702 * @blue: The blue field for the palette data.
703 * @trans: The transparency (alpha) field for the palette data.
719 /* true-colour, use pseudo-palette */
734 val = chan_to_field(red, &win->palette.r);
735 val |= chan_to_field(green, &win->palette.g);
736 val |= chan_to_field(blue, &win->palette.b);
1197 /* setup the r/b/g positions for the window's palette */
1200 win->palette.r.offset = 11;
1201 win->palette.r.length = 5;
1202 win->palette.g.offset = 5;
1203 win->palette.g.length = 6;
1204 win->palette.b.offset = 0;
1205 win->palette.b.length = 5;
1209 win->palette.r.offset = 16;
1210 win->palette.r.length = 8;
1211 win->palette.g.offset = 8;
1212 win->palette.g.length = 8;
1213 win->palette.b.offset = 0;
1214 win->palette.b.length = 8;
1582 .palette = {
1612 .palette = {
1642 .palette = {
1675 .palette = {