Lines Matching refs:regno
2451 static int amifb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in amifb_setcolreg() argument
2457 if (regno > 255) in amifb_setcolreg()
2460 if (regno > 3) in amifb_setcolreg()
2463 if (regno > 31) in amifb_setcolreg()
2469 if (!regno) { in amifb_setcolreg()
2483 if (regno || !is_blanked) { in amifb_setcolreg()
2488 custom.bplcon3 = bplcon3 | (regno << 8 & 0xe000); in amifb_setcolreg()
2489 custom.color[regno & 31] = rgb2hw8_high(red, green, in amifb_setcolreg()
2491 custom.bplcon3 = bplcon3 | (regno << 8 & 0xe000) | in amifb_setcolreg()
2493 custom.color[regno & 31] = rgb2hw8_low(red, green, in amifb_setcolreg()
2507 for (i = regno + 12; i >= (int)regno; i -= 4) in amifb_setcolreg()
2510 regno = down16(regno) + mul4(mod4(regno)); in amifb_setcolreg()
2511 for (i = regno + 3; i >= (int)regno; i--) in amifb_setcolreg()
2516 custom.color[regno] = rgb2hw4(red, green, blue); in amifb_setcolreg()