Lines Matching defs:regno
271 * int (*fb_setcolreg)(unsigned int regno, unsigned int red, unsigned int green,
781 static int tt_setcolreg(unsigned int regno, unsigned int red,
786 regno += 254;
787 if (regno > 255)
789 tt_palette[regno] = (((red >> 12) << 8) | ((green >> 12) << 4) |
792 TT_SHIFTER_STHIGH && regno == 254)
1683 static int falcon_setcolreg(unsigned int regno, unsigned int red,
1687 if (regno > 255)
1689 f030_col[regno] = (((red & 0xfc00) << 16) |
1692 if (regno < 16) {
1693 shifter_tt.color_reg[regno] =
1697 ((u32 *)info->pseudo_palette)[regno] = ((red & 0xf800) |
1971 static int stste_setcolreg(unsigned int regno, unsigned int red,
1975 if (regno > 15)
1981 shifter_tt.color_reg[regno] =
1986 shifter_tt.color_reg[regno] =
2209 static int ext_setcolreg(unsigned int regno, unsigned int red,
2218 if (regno > 255)
2223 OUTB(0x3c8, regno);
2234 OUTB((MV300_reg[regno] << 2) + 1, red);
2235 OUTB((MV300_reg[regno] << 2) + 1, green);
2236 OUTB((MV300_reg[regno] << 2) + 1, blue);
2417 static int atafb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
2424 return info->fbops->fb_setcolreg(regno, red, green, blue, transp, info);