Lines Matching refs:regno
138 pxafb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue, in pxafb_setpalettereg() argument
144 if (regno >= fbi->palette_size) in pxafb_setpalettereg()
148 fbi->palette_cpu[regno] = ((blue >> 8) & 0x00ff); in pxafb_setpalettereg()
157 fbi->palette_cpu[regno] = val; in pxafb_setpalettereg()
163 ((u32 *)(fbi->palette_cpu))[regno] = val; in pxafb_setpalettereg()
169 ((u32 *)(fbi->palette_cpu))[regno] = val; in pxafb_setpalettereg()
175 ((u32 *)(fbi->palette_cpu))[regno] = val; in pxafb_setpalettereg()
183 pxafb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in pxafb_setcolreg() argument
216 if (regno < 16) { in pxafb_setcolreg()
223 pal[regno] = val; in pxafb_setcolreg()
230 ret = pxafb_setpalettereg(regno, red, green, blue, trans, info); in pxafb_setcolreg()