Lines Matching refs:red
69 static int (*macfb_setpalette) (unsigned int regno, unsigned int red,
71 static int valkyrie_setpalette (unsigned int regno, unsigned int red,
73 static int dafb_setpalette (unsigned int regno, unsigned int red,
75 static int rbv_setpalette (unsigned int regno, unsigned int red,
77 static int mdc_setpalette (unsigned int regno, unsigned int red,
79 static int toby_setpalette (unsigned int regno, unsigned int red,
81 static int civic_setpalette (unsigned int regno, unsigned int red,
83 static int csc_setpalette (unsigned int regno, unsigned int red,
193 static struct { u_short blue, green, red, pad; } palette[256]; member
341 static int valkyrie_setpalette (unsigned int regno, unsigned int red, in valkyrie_setpalette() argument
346 red >>= 8; in valkyrie_setpalette()
358 nubus_writeb(red, &valkyrie_cmap_regs->lut); in valkyrie_setpalette()
373 static int dafb_setpalette (unsigned int regno, unsigned int red, in dafb_setpalette() argument
381 red >>= 8; in dafb_setpalette()
399 nubus_writeb(palette[i].red >> 8, &dafb_cmap_regs->lut); in dafb_setpalette()
408 nubus_writeb(red, &dafb_cmap_regs->lut); in dafb_setpalette()
421 static int v8_brazil_setpalette (unsigned int regno, unsigned int red, in v8_brazil_setpalette() argument
424 unsigned char _red =red>>8; in v8_brazil_setpalette()
456 static int rbv_setpalette (unsigned int regno, unsigned int red, in rbv_setpalette() argument
460 unsigned char _red =red>>8; in rbv_setpalette()
494 static int mdc_setpalette(unsigned int regno, unsigned int red, in mdc_setpalette() argument
500 unsigned char _red =red>>8; in mdc_setpalette()
520 static int toby_setpalette(unsigned int regno, unsigned int red, in toby_setpalette() argument
526 unsigned char _red =~(red>>8); in toby_setpalette()
545 static int jet_setpalette(unsigned int regno, unsigned int red, in jet_setpalette() argument
551 unsigned char _red = (red>>8); in jet_setpalette()
579 static int civic_setpalette (unsigned int regno, unsigned int red, in civic_setpalette() argument
588 red >>= 8; in civic_setpalette()
635 nubus_writeb( red, &civic_cmap_regs->lut); nop(); in civic_setpalette()
655 nubus_writeb( red, &civic_cmap_regs->lut); nop(); in civic_setpalette()
673 static int csc_setpalette (unsigned int regno, unsigned int red, in csc_setpalette() argument
678 csc_cmap_regs->clut_data = red; in csc_setpalette()
686 static int macfb_getcolreg(unsigned regno, unsigned *red, unsigned *green, in macfb_getcolreg() argument
698 *red = palette[regno].red; in macfb_getcolreg()
705 static int macfb_setcolreg(unsigned regno, unsigned red, unsigned green, in macfb_setcolreg() argument
719 palette[regno].red = red; in macfb_setcolreg()
732 macfb_setpalette(regno, red, green, blue); in macfb_setcolreg()
740 macfb_setpalette(regno, red, green, blue); in macfb_setcolreg()
748 macfb_setpalette(regno, red, green, blue); in macfb_setcolreg()
758 ((red & 0xf800) >> 1) | in macfb_setcolreg()
768 red >>= 8; in macfb_setcolreg()
772 (red << macfb_defined.red.offset) | in macfb_setcolreg()
779 red >>= 8; in macfb_setcolreg()
783 (red << macfb_defined.red.offset) | in macfb_setcolreg()
946 macfb_defined.red.length = video_bpp; in macfb_init()
955 macfb_defined.red.offset = 10; in macfb_init()
956 macfb_defined.red.length = 5; in macfb_init()
972 macfb_defined.red.offset = 16; in macfb_init()
973 macfb_defined.red.length = 8; in macfb_init()