Lines Matching refs:red

241 static struct { unsigned char red,green,blue,pad; } ext_color[256];  member
324 int (*getcolreg)( unsigned regno, unsigned *red,
327 int (*setcolreg)( unsigned regno, unsigned red,
573 var->red.offset=0; in tt_encode_var()
574 var->red.length=4; in tt_encode_var()
575 var->red.msb_right=0; in tt_encode_var()
626 var->red.length=0; in tt_encode_var()
633 var->blue=var->green=var->red; in tt_encode_var()
685 static int tt_getcolreg(unsigned regno, unsigned *red, in tt_getcolreg() argument
707 *red = col; in tt_getcolreg()
713 static int tt_setcolreg(unsigned regno, unsigned red, in tt_setcolreg() argument
721 tt_palette[regno] = (((red >> 12) << 8) | ((green >> 12) << 4) | in tt_setcolreg()
1374 var->red.offset=11; in falcon_encode_var()
1375 var->red.length=5; in falcon_encode_var()
1376 var->red.msb_right=0; in falcon_encode_var()
1385 var->red.offset=0; in falcon_encode_var()
1386 var->red.length = hw->ste_mode ? 4 : 6; in falcon_encode_var()
1387 var->red.msb_right=0; in falcon_encode_var()
1389 var->blue=var->green=var->red; in falcon_encode_var()
1627 static int falcon_getcolreg( unsigned regno, unsigned *red, in falcon_getcolreg() argument
1639 *red = (col >> 16) & 0xff00; in falcon_getcolreg()
1647 static int falcon_setcolreg( unsigned regno, unsigned red, in falcon_setcolreg() argument
1653 f030_col[regno] = (((red & 0xfc00) << 16) | in falcon_setcolreg()
1658 (((red & 0xe000) >> 13) | ((red & 0x1000) >> 12) << 8) | in falcon_setcolreg()
1662 fbcon_cfb16_cmap[regno] = ((red & 0xf800) | in falcon_setcolreg()
1850 var->red.offset=0; in stste_encode_var()
1851 var->red.length = ATARIHW_PRESENT(EXTD_SHIFTER) ? 4 : 3; in stste_encode_var()
1852 var->red.msb_right=0; in stste_encode_var()
1888 var->blue=var->green=var->red; in stste_encode_var()
1945 static int stste_getcolreg(unsigned regno, unsigned *red, in stste_getcolreg() argument
1957 *red = t | (t << 8); in stste_getcolreg()
1968 *red = t | (t << 8); in stste_getcolreg()
1981 static int stste_setcolreg(unsigned regno, unsigned red, in stste_setcolreg() argument
1987 red >>= 12; in stste_setcolreg()
1992 (((red & 0xe) >> 1) | ((red & 1) << 3) << 8) | in stste_setcolreg()
1997 ((red & 0xe) << 7) | in stste_setcolreg()
2171 var->red.offset=0; in ext_encode_var()
2172 var->red.length=(external_pmode == -1) ? external_depth/3 : in ext_encode_var()
2174 var->red.msb_right=0; in ext_encode_var()
2195 var->blue=var->green=var->red; in ext_encode_var()
2228 static int ext_getcolreg( unsigned regno, unsigned *red, in ext_getcolreg() argument
2235 *red = ext_color[regno].red; in ext_getcolreg()
2242 static int ext_setcolreg( unsigned regno, unsigned red, in ext_setcolreg() argument
2251 ext_color[regno].red = red; in ext_setcolreg()
2259 OUTB(0x3c9, red & colmask); in ext_setcolreg()
2268 OUTB((MV300_reg[regno] << 2)+1, red); in ext_setcolreg()
2721 cmap.red=black; in atafb_blank()