tag | line | file | source code |
green | 697 | arch/m68k/amiga/amifb.c | static struct { u_char red, green, blue, pad; } palette[256]; |
green | 699 | arch/m68k/amiga/amifb.c | static struct { u_char red, green, blue, pad; } palette[32]; |
green | 727 | arch/m68k/amiga/amifb.c | int (*getcolreg)(u_int regno, u_int *red, u_int *green, u_int *blue, |
green | 729 | arch/m68k/amiga/amifb.c | int (*setcolreg)(u_int regno, u_int red, u_int green, u_int blue, |
green | 1070 | arch/m68k/amiga/amifb.c | static int aga_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, |
green | 1072 | arch/m68k/amiga/amifb.c | static int aga_setcolreg(u_int regno, u_int red, u_int green, u_int blue, |
green | 2518 | arch/m68k/amiga/amifb.c | var->green = var->red; |
green | 2524 | arch/m68k/amiga/amifb.c | var->green = var->red; |
green | 2619 | arch/m68k/amiga/amifb.c | unsigned short *red, *green, *blue, *transp; |
green | 2624 | arch/m68k/amiga/amifb.c | green = cmap->green; |
green | 2639 | arch/m68k/amiga/amifb.c | hgreen = def_cmap->green[i]; |
green | 2649 | arch/m68k/amiga/amifb.c | *green = hgreen; |
green | 2655 | arch/m68k/amiga/amifb.c | put_fs_word(hgreen, green); |
green | 2661 | arch/m68k/amiga/amifb.c | green++; |
green | 2992 | arch/m68k/amiga/amifb.c | #define rgb2hw_high(red, green, blue) \ |
green | 2993 | arch/m68k/amiga/amifb.c | (((red)<<4 & 0xf00) | ((green) & 0x0f0) | ((blue)>>4 & 0x00f)) |
green | 2994 | arch/m68k/amiga/amifb.c | #define rgb2hw_low(red, green, blue) \ |
green | 2995 | arch/m68k/amiga/amifb.c | (((red)<<8 & 0xf00) | ((green)<<4 & 0x0f0) | ((blue) & 0x00f)) |
green | 3471 | arch/m68k/amiga/amifb.c | var->blue = var->green = var->red; |
green | 3561 | arch/m68k/amiga/amifb.c | static int aga_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, |
green | 3568 | arch/m68k/amiga/amifb.c | *green = palette[regno].green; |
green | 3580 | arch/m68k/amiga/amifb.c | static int aga_setcolreg(u_int regno, u_int red, u_int green, u_int blue, |
green | 3599 | arch/m68k/amiga/amifb.c | custom.color[regno&31] = rgb2hw_high(red, green, blue); |
green | 3601 | arch/m68k/amiga/amifb.c | custom.color[regno&31] = rgb2hw_low(red, green, blue); |
green | 3607 | arch/m68k/amiga/amifb.c | palette[regno].green = green; |
green | 3781 | arch/m68k/amiga/amifb.c | u_char red, green, blue; |
green | 3785 | arch/m68k/amiga/amifb.c | red = green = blue = 0; |
green | 3794 | arch/m68k/amiga/amifb.c | green = palette[0].green; |
green | 3802 | arch/m68k/amiga/amifb.c | custom.color[0] = rgb2hw_high(red, green, blue); |
green | 3804 | arch/m68k/amiga/amifb.c | custom.color[0] = rgb2hw_low(red, green, blue); |
green | 4248 | arch/m68k/amiga/amifb.c | u_short *red, *green, *blue, *transp; |
green | 4252 | arch/m68k/amiga/amifb.c | green = cmap->green; |
green | 4262 | arch/m68k/amiga/amifb.c | hgreen = CNVT_FROMHW(hgreen, var->green.length); |
green | 4267 | arch/m68k/amiga/amifb.c | *green = hgreen; |
green | 4273 | arch/m68k/amiga/amifb.c | put_fs_word(hgreen, green); |
green | 4279 | arch/m68k/amiga/amifb.c | green++; |
green | 4292 | arch/m68k/amiga/amifb.c | u_short *red, *green, *blue, *transp; |
green | 4296 | arch/m68k/amiga/amifb.c | green = cmap->green; |
green | 4306 | arch/m68k/amiga/amifb.c | hgreen = *green; |
green | 4311 | arch/m68k/amiga/amifb.c | hgreen = get_fs_word(green); |
green | 4316 | arch/m68k/amiga/amifb.c | hgreen = CNVT_TOHW(hgreen, var->green.length); |
green | 4320 | arch/m68k/amiga/amifb.c | green++; |
green | 4375 | arch/m68k/amiga/amifb.c | memcpy_fs(fsfromto, to->green+tooff, from->green+fromoff, size); |
green | 4389 | arch/m68k/amiga/amifb.c | if (cmap->green) |
green | 4390 | arch/m68k/amiga/amifb.c | kfree(cmap->green); |
green | 4395 | arch/m68k/amiga/amifb.c | cmap->red = cmap->green = cmap->blue = cmap->transp = NULL; |
green | 4401 | arch/m68k/amiga/amifb.c | if (!(cmap->green = kmalloc(size, GFP_ATOMIC))) |
green | 216 | arch/m68k/atari/atafb.c | struct { unsigned char red,green,blue,pad; } MV300_color[256]; |
green | 301 | arch/m68k/atari/atafb.c | unsigned *green, unsigned *blue, |
green | 304 | arch/m68k/atari/atafb.c | unsigned green, unsigned blue, |
green | 659 | arch/m68k/atari/atafb.c | var->blue=var->green=var->red; |
green | 710 | arch/m68k/atari/atafb.c | unsigned *green, unsigned *blue, |
green | 718 | arch/m68k/atari/atafb.c | *green = (*blue >> 4) & 0xf; |
green | 727 | arch/m68k/atari/atafb.c | unsigned green, unsigned blue, |
green | 734 | arch/m68k/atari/atafb.c | tt_palette[regno] = (red << 8) | (green << 4) | blue; |
green | 1346 | arch/m68k/atari/atafb.c | var->green.offset=5; |
green | 1347 | arch/m68k/atari/atafb.c | var->green.length=6; |
green | 1348 | arch/m68k/atari/atafb.c | var->green.msb_right=0; |
green | 1358 | arch/m68k/atari/atafb.c | var->blue=var->green=var->red; |
green | 1589 | arch/m68k/atari/atafb.c | unsigned *green, unsigned *blue, |
green | 1601 | arch/m68k/atari/atafb.c | *green = (col >> 18) & 0x3f; |
green | 1609 | arch/m68k/atari/atafb.c | unsigned green, unsigned blue, |
green | 1614 | arch/m68k/atari/atafb.c | f030_col[regno] = (red << 26) | (green << 18) | (blue << 2); |
green | 1618 | arch/m68k/atari/atafb.c | (((green & 0xe) >> 1) | ((green & 1) << 3) << 4) | |
green | 1620 | arch/m68k/atari/atafb.c | packed16_cmap[regno] = (red << 11) | (green << 5) | blue; |
green | 1816 | arch/m68k/atari/atafb.c | var->blue=var->green=var->red; |
green | 1871 | arch/m68k/atari/atafb.c | unsigned *green, unsigned *blue, |
green | 1880 | arch/m68k/atari/atafb.c | *green = ((col >> 3) & 0xe) | ((col >> 7) & 1); |
green | 1885 | arch/m68k/atari/atafb.c | *green = (col >> 4) & 0x7; |
green | 1894 | arch/m68k/atari/atafb.c | unsigned green, unsigned blue, |
green | 1902 | arch/m68k/atari/atafb.c | (((green & 0xe) >> 1) | ((green & 1) << 3) << 4) | |
green | 1907 | arch/m68k/atari/atafb.c | ((green & 0x7) << 4) | |
green | 2101 | arch/m68k/atari/atafb.c | var->blue=var->green=var->red; |
green | 2138 | arch/m68k/atari/atafb.c | unsigned *green, unsigned *blue, |
green | 2152 | arch/m68k/atari/atafb.c | *green=INB(0x3c9) & colmask; |
green | 2160 | arch/m68k/atari/atafb.c | *green = MV300_color[regno].green; |
green | 2171 | arch/m68k/atari/atafb.c | unsigned green, unsigned blue, |
green | 2185 | arch/m68k/atari/atafb.c | OUTB(0x3c9, green & colmask); |
green | 2193 | arch/m68k/atari/atafb.c | MV300_color[regno].green = green; |
green | 2196 | arch/m68k/atari/atafb.c | OUTB((MV300_reg[regno] << 2)+1, green); |
green | 2391 | arch/m68k/atari/atafb.c | unsigned short *red,*green,*blue,*transp; |
green | 2395 | arch/m68k/atari/atafb.c | green=cmap->green; |
green | 2405 | arch/m68k/atari/atafb.c | hgreen=CNVT_FROMHW(hgreen,var->green.length); |
green | 2410 | arch/m68k/atari/atafb.c | *green=hgreen; |
green | 2416 | arch/m68k/atari/atafb.c | put_fs_word(hgreen, green); |
green | 2421 | arch/m68k/atari/atafb.c | green++; |
green | 2432 | arch/m68k/atari/atafb.c | unsigned short *red,*green,*blue,*transp; |
green | 2436 | arch/m68k/atari/atafb.c | green=cmap->green; |
green | 2446 | arch/m68k/atari/atafb.c | hgreen=*green; |
green | 2452 | arch/m68k/atari/atafb.c | hgreen=get_fs_word(green); |
green | 2457 | arch/m68k/atari/atafb.c | hgreen=CNVT_TOHW(hgreen,var->green.length); |
green | 2461 | arch/m68k/atari/atafb.c | green++; |
green | 2515 | arch/m68k/atari/atafb.c | memcpy_fs(fsfromto, to->green+tooff, from->green+fromoff, size); |
green | 2528 | arch/m68k/atari/atafb.c | if (cmap->green) |
green | 2529 | arch/m68k/atari/atafb.c | kfree(cmap->green); |
green | 2534 | arch/m68k/atari/atafb.c | cmap->red=cmap->green=cmap->blue=cmap->transp=NULL; |
green | 2540 | arch/m68k/atari/atafb.c | if (! (cmap->green=kmalloc(size, GFP_ATOMIC))) |
green | 2786 | arch/m68k/atari/atafb.c | cmap.green=black; |
green | 155 | drivers/char/fbmem.c | i = verify_area(VERIFY_READ, (void *) cmap.green, |
green | 175 | drivers/char/fbmem.c | i = verify_area(VERIFY_WRITE, (void *) cmap.green, |
green | 617 | drivers/sbus/char/suncons.c | i = verify_area (VERIFY_READ, gp = cmap->green, cmap->count); |
green | 50 | include/asm-sparc/fbio.h | unsigned char *green; |
green | 92 | include/linux/fb.h | struct fb_bitfield green; /* else only length is significant */ |
green | 122 | include/linux/fb.h | unsigned short *green; |