Lines Matching refs:regno
2449 static int amifb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in amifb_setcolreg() argument
2455 if (regno > 255) in amifb_setcolreg()
2458 if (regno > 3) in amifb_setcolreg()
2461 if (regno > 31) in amifb_setcolreg()
2467 if (!regno) { in amifb_setcolreg()
2481 if (regno || !is_blanked) { in amifb_setcolreg()
2486 custom.bplcon3 = bplcon3 | (regno << 8 & 0xe000); in amifb_setcolreg()
2487 custom.color[regno & 31] = rgb2hw8_high(red, green, in amifb_setcolreg()
2489 custom.bplcon3 = bplcon3 | (regno << 8 & 0xe000) | in amifb_setcolreg()
2491 custom.color[regno & 31] = rgb2hw8_low(red, green, in amifb_setcolreg()
2505 for (i = regno + 12; i >= (int)regno; i -= 4) in amifb_setcolreg()
2508 regno = down16(regno) + mul4(mod4(regno)); in amifb_setcolreg()
2509 for (i = regno + 3; i >= (int)regno; i--) in amifb_setcolreg()
2514 custom.color[regno] = rgb2hw4(red, green, blue); in amifb_setcolreg()