Lines Matching refs:regno
118 static int g364fb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue,
120 static int g364fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
444 static int g364fb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, in g364fb_getcolreg() argument
447 if (regno > 255) in g364fb_getcolreg()
449 *red = (palette[regno].red << 8) | palette[regno].red; in g364fb_getcolreg()
450 *green = (palette[regno].green << 8) | palette[regno].green; in g364fb_getcolreg()
451 *blue = (palette[regno].blue << 8) | palette[regno].blue; in g364fb_getcolreg()
459 static int g364fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in g364fb_setcolreg() argument
464 if (regno > 255) in g364fb_setcolreg()
470 palette[regno].red = red; in g364fb_setcolreg()
471 palette[regno].green = green; in g364fb_setcolreg()
472 palette[regno].blue = blue; in g364fb_setcolreg()
474 ptr[regno << 1] = (red << 16) | (green << 8) | blue; in g364fb_setcolreg()