Lines Matching defs:regno
77 static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
182 static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
188 if (regno > 255)
195 pinfo->palette[regno].red = red;
196 pinfo->palette[regno].green = green;
197 pinfo->palette[regno].blue = blue;
199 out_8(&cmap_regs->addr, regno); /* tell clut what addr to fill */
204 if (regno < 16) {
209 pal[regno] = (regno << 10) | (regno << 5) | regno;
212 i = (regno << 8) | regno;
213 pal[regno] = (i << 16) | i;