Lines Matching refs:regno
210 static int fm2fb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue,
212 static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
483 static int fm2fb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, in fm2fb_getcolreg() argument
486 if (regno > 15) in fm2fb_getcolreg()
488 *red = (palette[regno].red<<8) | palette[regno].red; in fm2fb_getcolreg()
489 *green = (palette[regno].green<<8) | palette[regno].green; in fm2fb_getcolreg()
490 *blue = (palette[regno].blue<<8) | palette[regno].blue; in fm2fb_getcolreg()
502 static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in fm2fb_setcolreg() argument
505 if (regno > 15) in fm2fb_setcolreg()
510 palette[regno].red = red; in fm2fb_setcolreg()
511 palette[regno].green = green; in fm2fb_setcolreg()
512 palette[regno].blue = blue; in fm2fb_setcolreg()
515 fbcon_cfb32_cmap[regno] = (red << 16) | (green << 8) | blue; in fm2fb_setcolreg()