Lines Matching defs:regno
77 static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
180 static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
186 if (regno > 255)
193 pinfo->palette[regno].red = red;
194 pinfo->palette[regno].green = green;
195 pinfo->palette[regno].blue = blue;
197 out_8(&cmap_regs->addr, regno); /* tell clut what addr to fill */
202 if (regno < 16) {
207 pal[regno] = (regno << 10) | (regno << 5) | regno;
210 i = (regno << 8) | regno;
211 pal[regno] = (i << 16) | i;