Lines Matching refs:regno
79 static int tx3912fb_getcolreg(u_int regno, u_int *red, u_int *green,
81 static int tx3912fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
478 static int tx3912fb_getcolreg(u_int regno, u_int *red, u_int *green, in tx3912fb_getcolreg() argument
481 if (regno > 255) in tx3912fb_getcolreg()
488 grey = regno * 255 / 15; in tx3912fb_getcolreg()
499 *red = (palette[regno].red<<8) | palette[regno].red; in tx3912fb_getcolreg()
500 *green = (palette[regno].green<<8) | palette[regno].green; in tx3912fb_getcolreg()
501 *blue = (palette[regno].blue<<8) | palette[regno].blue; in tx3912fb_getcolreg()
511 static int tx3912fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in tx3912fb_setcolreg() argument
514 if (regno > 255) in tx3912fb_setcolreg()
518 if( regno < 16 ) in tx3912fb_setcolreg()
519 fbcon_cmap.cfb8[regno] = ((red & 0xe000) >> 8) in tx3912fb_setcolreg()
527 palette[regno].red = red; in tx3912fb_setcolreg()
528 palette[regno].green = green; in tx3912fb_setcolreg()
529 palette[regno].blue = blue; in tx3912fb_setcolreg()