Lines Matching refs:regno

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,
341 static int valkyrie_setpalette (unsigned int regno, unsigned int red, in valkyrie_setpalette() argument
354 nubus_writeb(regno, &valkyrie_cmap_regs->addr); in valkyrie_setpalette()
373 static int dafb_setpalette (unsigned int regno, unsigned int red, in dafb_setpalette() argument
390 if (regno != lastreg+1) { in dafb_setpalette()
398 for (i = 0; i < regno; i++) { in dafb_setpalette()
416 lastreg = regno; in dafb_setpalette()
421 static int v8_brazil_setpalette (unsigned int regno, unsigned int red, in v8_brazil_setpalette() argument
443 _regno = (regno<<(8-video_bpp)) | (0xFF>>video_bpp); in v8_brazil_setpalette()
456 static int rbv_setpalette (unsigned int regno, unsigned int red, in rbv_setpalette() argument
475 _regno = regno + (256-(1<<video_bpp)); in rbv_setpalette()
494 static int mdc_setpalette(unsigned int regno, unsigned int red, in mdc_setpalette() argument
503 unsigned char _regno=regno; in mdc_setpalette()
520 static int toby_setpalette(unsigned int regno, unsigned int red, in toby_setpalette() argument
529 unsigned char _regno = (regno<<(8-video_bpp)) | (0xFF>>video_bpp); in toby_setpalette()
545 static int jet_setpalette(unsigned int regno, unsigned int red, in jet_setpalette() argument
559 nubus_writeb(regno, &cmap_regs->addr); nop(); in jet_setpalette()
579 static int civic_setpalette (unsigned int regno, unsigned int red, in civic_setpalette() argument
598 nubus_writeb(regno, &civic_cmap_regs->addr); nop(); in civic_setpalette()
663 lastreg = regno; in civic_setpalette()
673 static int csc_setpalette (unsigned int regno, unsigned int red, in csc_setpalette() argument
677 csc_cmap_regs->clut_waddr = regno; in csc_setpalette()
686 static int macfb_getcolreg(unsigned regno, unsigned *red, unsigned *green, in macfb_getcolreg() argument
695 if (regno >= video_cmap_len) in macfb_getcolreg()
698 *red = palette[regno].red; in macfb_getcolreg()
699 *green = palette[regno].green; in macfb_getcolreg()
700 *blue = palette[regno].blue; in macfb_getcolreg()
705 static int macfb_setcolreg(unsigned regno, unsigned red, unsigned green, in macfb_setcolreg() argument
716 if (regno >= video_cmap_len) in macfb_setcolreg()
719 palette[regno].red = red; in macfb_setcolreg()
720 palette[regno].green = green; in macfb_setcolreg()
721 palette[regno].blue = blue; 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()
757 fbcon_cmap.cfb16[regno] = in macfb_setcolreg()
771 fbcon_cmap.cfb24[regno] = in macfb_setcolreg()
782 fbcon_cmap.cfb32[regno] = in macfb_setcolreg()