Lines Matching refs:regno
769 static int tt_setcolreg(unsigned int regno, unsigned int red, in tt_setcolreg() argument
774 regno += 254; in tt_setcolreg()
775 if (regno > 255) in tt_setcolreg()
777 tt_palette[regno] = (((red >> 12) << 8) | ((green >> 12) << 4) | in tt_setcolreg()
780 TT_SHIFTER_STHIGH && regno == 254) in tt_setcolreg()
1664 static int falcon_setcolreg(unsigned int regno, unsigned int red, in falcon_setcolreg() argument
1668 if (regno > 255) in falcon_setcolreg()
1670 f030_col[regno] = (((red & 0xfc00) << 16) | in falcon_setcolreg()
1673 if (regno < 16) { in falcon_setcolreg()
1674 shifter_tt.color_reg[regno] = in falcon_setcolreg()
1678 ((u32 *)info->pseudo_palette)[regno] = ((red & 0xf800) | in falcon_setcolreg()
1952 static int stste_setcolreg(unsigned int regno, unsigned int red, in stste_setcolreg() argument
1956 if (regno > 15) in stste_setcolreg()
1962 shifter_tt.color_reg[regno] = in stste_setcolreg()
1967 shifter_tt.color_reg[regno] = in stste_setcolreg()
2190 static int ext_setcolreg(unsigned int regno, unsigned int red, in ext_setcolreg() argument
2199 if (regno > 255) in ext_setcolreg()
2208 OUTB(0x3c8, regno); in ext_setcolreg()
2219 OUTB((MV300_reg[regno] << 2) + 1, red); in ext_setcolreg()
2220 OUTB((MV300_reg[regno] << 2) + 1, green); in ext_setcolreg()
2221 OUTB((MV300_reg[regno] << 2) + 1, blue); in ext_setcolreg()