tag | line | file | source code |
red | 697 | arch/m68k/amiga/amifb.c | static struct { u_char red, green, blue, pad; } palette[256]; |
red | 699 | arch/m68k/amiga/amifb.c | static struct { u_char red, green, blue, pad; } palette[32]; |
red | 727 | arch/m68k/amiga/amifb.c | int (*getcolreg)(u_int regno, u_int *red, u_int *green, u_int *blue, |
red | 729 | arch/m68k/amiga/amifb.c | int (*setcolreg)(u_int regno, u_int red, u_int green, u_int blue, |
red | 1070 | arch/m68k/amiga/amifb.c | static int aga_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, |
red | 1072 | arch/m68k/amiga/amifb.c | static int aga_setcolreg(u_int regno, u_int red, u_int green, u_int blue, |
red | 2515 | arch/m68k/amiga/amifb.c | var->red.offset = 0; |
red | 2516 | arch/m68k/amiga/amifb.c | var->red.length = 8; |
red | 2517 | arch/m68k/amiga/amifb.c | var->red.msb_right = 0; |
red | 2518 | arch/m68k/amiga/amifb.c | var->green = var->red; |
red | 2519 | arch/m68k/amiga/amifb.c | var->blue = var->red; |
red | 2521 | arch/m68k/amiga/amifb.c | var->red.offset = 0; |
red | 2522 | arch/m68k/amiga/amifb.c | var->red.length = 4; |
red | 2523 | arch/m68k/amiga/amifb.c | var->red.msb_right = 0; |
red | 2524 | arch/m68k/amiga/amifb.c | var->green = var->red; |
red | 2525 | arch/m68k/amiga/amifb.c | var->blue = var->red; |
red | 2619 | arch/m68k/amiga/amifb.c | unsigned short *red, *green, *blue, *transp; |
red | 2623 | arch/m68k/amiga/amifb.c | red = cmap->red; |
red | 2638 | arch/m68k/amiga/amifb.c | hred = def_cmap->red[i]; |
red | 2648 | arch/m68k/amiga/amifb.c | *red = hred; |
red | 2654 | arch/m68k/amiga/amifb.c | put_fs_word(hred, red); |
red | 2660 | arch/m68k/amiga/amifb.c | red++; |
red | 2992 | arch/m68k/amiga/amifb.c | #define rgb2hw_high(red, green, blue) \ |
red | 2993 | arch/m68k/amiga/amifb.c | (((red)<<4 & 0xf00) | ((green) & 0x0f0) | ((blue)>>4 & 0x00f)) |
red | 2994 | arch/m68k/amiga/amifb.c | #define rgb2hw_low(red, green, blue) \ |
red | 2995 | arch/m68k/amiga/amifb.c | (((red)<<8 & 0xf00) | ((green)<<4 & 0x0f0) | ((blue) & 0x00f)) |
red | 3468 | arch/m68k/amiga/amifb.c | var->red.offset = 0; |
red | 3469 | arch/m68k/amiga/amifb.c | var->red.length = 8; |
red | 3470 | arch/m68k/amiga/amifb.c | var->red.msb_right = 0; |
red | 3471 | arch/m68k/amiga/amifb.c | var->blue = var->green = var->red; |
red | 3561 | arch/m68k/amiga/amifb.c | static int aga_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, |
red | 3567 | arch/m68k/amiga/amifb.c | *red = palette[regno].red; |
red | 3580 | arch/m68k/amiga/amifb.c | static int aga_setcolreg(u_int regno, u_int red, u_int green, u_int blue, |
red | 3599 | arch/m68k/amiga/amifb.c | custom.color[regno&31] = rgb2hw_high(red, green, blue); |
red | 3601 | arch/m68k/amiga/amifb.c | custom.color[regno&31] = rgb2hw_low(red, green, blue); |
red | 3606 | arch/m68k/amiga/amifb.c | palette[regno].red = red; |
red | 3781 | arch/m68k/amiga/amifb.c | u_char red, green, blue; |
red | 3785 | arch/m68k/amiga/amifb.c | red = green = blue = 0; |
red | 3793 | arch/m68k/amiga/amifb.c | red = palette[0].red; |
red | 3802 | arch/m68k/amiga/amifb.c | custom.color[0] = rgb2hw_high(red, green, blue); |
red | 3804 | arch/m68k/amiga/amifb.c | custom.color[0] = rgb2hw_low(red, green, blue); |
red | 4248 | arch/m68k/amiga/amifb.c | u_short *red, *green, *blue, *transp; |
red | 4251 | arch/m68k/amiga/amifb.c | red = cmap->red; |
red | 4261 | arch/m68k/amiga/amifb.c | hred = CNVT_FROMHW(hred, var->red.length); |
red | 4266 | arch/m68k/amiga/amifb.c | *red = hred; |
red | 4272 | arch/m68k/amiga/amifb.c | put_fs_word(hred, red); |
red | 4278 | arch/m68k/amiga/amifb.c | red++; |
red | 4292 | arch/m68k/amiga/amifb.c | u_short *red, *green, *blue, *transp; |
red | 4295 | arch/m68k/amiga/amifb.c | red = cmap->red; |
red | 4305 | arch/m68k/amiga/amifb.c | hred = *red; |
red | 4310 | arch/m68k/amiga/amifb.c | hred = get_fs_word(red); |
red | 4315 | arch/m68k/amiga/amifb.c | hred = CNVT_TOHW(hred, var->red.length); |
red | 4319 | arch/m68k/amiga/amifb.c | red++; |
red | 4374 | arch/m68k/amiga/amifb.c | memcpy_fs(fsfromto, to->red+tooff, from->red+fromoff, size); |
red | 4387 | arch/m68k/amiga/amifb.c | if (cmap->red) |
red | 4388 | arch/m68k/amiga/amifb.c | kfree(cmap->red); |
red | 4395 | arch/m68k/amiga/amifb.c | cmap->red = cmap->green = cmap->blue = cmap->transp = NULL; |
red | 4399 | arch/m68k/amiga/amifb.c | if (!(cmap->red = kmalloc(size, GFP_ATOMIC))) |
red | 216 | arch/m68k/atari/atafb.c | struct { unsigned char red,green,blue,pad; } MV300_color[256]; |
red | 300 | arch/m68k/atari/atafb.c | int (*getcolreg)( unsigned regno, unsigned *red, |
red | 303 | arch/m68k/atari/atafb.c | int (*setcolreg)( unsigned regno, unsigned red, |
red | 599 | arch/m68k/atari/atafb.c | var->red.offset=0; |
red | 600 | arch/m68k/atari/atafb.c | var->red.length=4; |
red | 601 | arch/m68k/atari/atafb.c | var->red.msb_right=0; |
red | 652 | arch/m68k/atari/atafb.c | var->red.length=0; |
red | 659 | arch/m68k/atari/atafb.c | var->blue=var->green=var->red; |
red | 709 | arch/m68k/atari/atafb.c | static int tt_getcolreg( unsigned regno, unsigned *red, |
red | 719 | arch/m68k/atari/atafb.c | *red = (*blue >> 8) & 0xf; |
red | 726 | arch/m68k/atari/atafb.c | static int tt_setcolreg( unsigned regno, unsigned red, |
red | 734 | arch/m68k/atari/atafb.c | tt_palette[regno] = (red << 8) | (green << 4) | blue; |
red | 1343 | arch/m68k/atari/atafb.c | var->red.offset=11; |
red | 1344 | arch/m68k/atari/atafb.c | var->red.length=5; |
red | 1345 | arch/m68k/atari/atafb.c | var->red.msb_right=0; |
red | 1354 | arch/m68k/atari/atafb.c | var->red.offset=0; |
red | 1355 | arch/m68k/atari/atafb.c | var->red.length = hw->ste_mode ? 4 : 6; |
red | 1356 | arch/m68k/atari/atafb.c | var->red.msb_right=0; |
red | 1358 | arch/m68k/atari/atafb.c | var->blue=var->green=var->red; |
red | 1588 | arch/m68k/atari/atafb.c | static int falcon_getcolreg( unsigned regno, unsigned *red, |
red | 1600 | arch/m68k/atari/atafb.c | *red = (col >> 26) & 0x3f; |
red | 1608 | arch/m68k/atari/atafb.c | static int falcon_setcolreg( unsigned regno, unsigned red, |
red | 1614 | arch/m68k/atari/atafb.c | f030_col[regno] = (red << 26) | (green << 18) | (blue << 2); |
red | 1617 | arch/m68k/atari/atafb.c | (((red & 0xe) >> 1) | ((red & 1) << 3) << 8) | |
red | 1620 | arch/m68k/atari/atafb.c | packed16_cmap[regno] = (red << 11) | (green << 5) | blue; |
red | 1778 | arch/m68k/atari/atafb.c | var->red.offset=0; |
red | 1779 | arch/m68k/atari/atafb.c | var->red.length = ATARIHW_PRESENT(EXTD_SHIFTER) ? 4 : 3; |
red | 1780 | arch/m68k/atari/atafb.c | var->red.msb_right=0; |
red | 1816 | arch/m68k/atari/atafb.c | var->blue=var->green=var->red; |
red | 1870 | arch/m68k/atari/atafb.c | static int stste_getcolreg( unsigned regno, unsigned *red, |
red | 1879 | arch/m68k/atari/atafb.c | *red = ((col >> 7) & 0xe) | ((col >> 11) & 1); |
red | 1884 | arch/m68k/atari/atafb.c | *red = (col >> 8) & 0x7; |
red | 1893 | arch/m68k/atari/atafb.c | static int stste_setcolreg( unsigned regno, unsigned red, |
red | 1901 | arch/m68k/atari/atafb.c | (((red & 0xe) >> 1) | ((red & 1) << 3) << 8) | |
red | 1906 | arch/m68k/atari/atafb.c | ((red & 0x7) << 8) | |
red | 2078 | arch/m68k/atari/atafb.c | var->red.offset=0; |
red | 2079 | arch/m68k/atari/atafb.c | var->red.length=(external_pmode == -1) ? external_depth/3 : |
red | 2081 | arch/m68k/atari/atafb.c | var->red.msb_right=0; |
red | 2101 | arch/m68k/atari/atafb.c | var->blue=var->green=var->red; |
red | 2137 | arch/m68k/atari/atafb.c | static int ext_getcolreg( unsigned regno, unsigned *red, |
red | 2150 | arch/m68k/atari/atafb.c | *red=INB(0x3c9) & colmask; |
red | 2159 | arch/m68k/atari/atafb.c | *red = MV300_color[regno].red; |
red | 2170 | arch/m68k/atari/atafb.c | static int ext_setcolreg( unsigned regno, unsigned red, |
red | 2183 | arch/m68k/atari/atafb.c | OUTB(0x3c9, red & colmask); |
red | 2192 | arch/m68k/atari/atafb.c | MV300_color[regno].red = red; |
red | 2195 | arch/m68k/atari/atafb.c | OUTB((MV300_reg[regno] << 2)+1, red); |
red | 2391 | arch/m68k/atari/atafb.c | unsigned short *red,*green,*blue,*transp; |
red | 2394 | arch/m68k/atari/atafb.c | red=cmap->red; |
red | 2404 | arch/m68k/atari/atafb.c | hred=CNVT_FROMHW(hred,var->red.length); |
red | 2409 | arch/m68k/atari/atafb.c | *red=hred; |
red | 2415 | arch/m68k/atari/atafb.c | put_fs_word(hred, red); |
red | 2420 | arch/m68k/atari/atafb.c | red++; |
red | 2432 | arch/m68k/atari/atafb.c | unsigned short *red,*green,*blue,*transp; |
red | 2435 | arch/m68k/atari/atafb.c | red=cmap->red; |
red | 2445 | arch/m68k/atari/atafb.c | hred=*red; |
red | 2451 | arch/m68k/atari/atafb.c | hred=get_fs_word(red); |
red | 2456 | arch/m68k/atari/atafb.c | hred=CNVT_TOHW(hred,var->red.length); |
red | 2460 | arch/m68k/atari/atafb.c | red++; |
red | 2514 | arch/m68k/atari/atafb.c | memcpy_fs(fsfromto, to->red+tooff, from->red+fromoff, size); |
red | 2526 | arch/m68k/atari/atafb.c | if (cmap->red) |
red | 2527 | arch/m68k/atari/atafb.c | kfree(cmap->red); |
red | 2534 | arch/m68k/atari/atafb.c | cmap->red=cmap->green=cmap->blue=cmap->transp=NULL; |
red | 2538 | arch/m68k/atari/atafb.c | if (! (cmap->red=kmalloc(size, GFP_ATOMIC))) |
red | 2785 | arch/m68k/atari/atafb.c | cmap.red=black; |
red | 763 | drivers/block/ide-tape.c | unsigned red :2; /* Report Exception on Decompression */ |
red | 152 | drivers/char/fbmem.c | i = verify_area(VERIFY_READ, (void *) cmap.red, |
red | 172 | drivers/char/fbmem.c | i = verify_area(VERIFY_WRITE, (void *) cmap.red, |
red | 615 | drivers/sbus/char/suncons.c | i = verify_area (VERIFY_READ, rp = cmap->red, cmap->count); |
red | 49 | include/asm-sparc/fbio.h | unsigned char *red; |
red | 91 | include/linux/fb.h | struct fb_bitfield red; /* bitfield in fb mem if true color, */ |
red | 121 | include/linux/fb.h | unsigned short *red; /* Red values */ |