Lines Matching defs:regnum
367 int regnum, unsigned char val);
368 static unsigned char RGen(const struct cirrusfb_info *cinfo, int regnum);
373 static void WClut(struct cirrusfb_info *cinfo, unsigned char regnum,
2406 int regnum, unsigned char val)
2412 /* if (regnum == VGA_PEL_IR || regnum == VGA_PEL_D ||
2413 regnum == CL_VSSM2) */
2414 if (regnum == VGA_PEL_IR || regnum == VGA_PEL_D)
2418 vga_w(cinfo->regbase, regofs + regnum, val);
2422 static unsigned char RGen(const struct cirrusfb_info *cinfo, int regnum)
2428 /* if (regnum == VGA_PEL_IR || regnum == VGA_PEL_D ||
2429 regnum == CL_VSSM2) */
2430 if (regnum == VGA_PEL_IR || regnum == VGA_PEL_D)
2434 return vga_r(cinfo->regbase, regofs + regnum);
2526 static void WClut(struct cirrusfb_info *cinfo, unsigned char regnum, unsigned char red,
2532 vga_w(cinfo->regbase, VGA_PEL_IW, regnum);