Lines Matching refs:regno
143 static int intelfb_setcolreg(unsigned regno, unsigned red, unsigned green,
1413 static int intelfb_setcolreg(unsigned regno, unsigned red, unsigned green,
1420 DBG_MSG("intelfb_setcolreg: regno %d, depth %d\n", regno, dinfo->depth);
1423 if (regno > 255)
1431 intelfbhw_setcolreg(dinfo, regno, red, green, blue,
1435 if (regno < 16) {
1438 dinfo->pseudo_palette[regno] = ((red & 0xf800) >> 1) |
1443 dinfo->pseudo_palette[regno] = (red & 0xf800) |
1448 dinfo->pseudo_palette[regno] = ((red & 0xff00) << 8) |