ffb_setcolreg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ffb_setcolreg(9) πŸ’…

✨ NAME ✨

okay so ffb_setcolreg β€” sets a color register. periodt. this one lives in the Kernel API Manual, and that's the whole name moment bestie πŸ’–

🌈 SYNOPSIS 🌈

here's the exact signature, no cap:

       int ffb_setcolreg (unsigned regno , unsigned red , unsigned green ,
       unsigned blue , unsigned transp , struct fb_info *info );

πŸŽ€ ARGUMENTS πŸŽ€

these are the args, every single one, no skips:

  • regno β€” boolean, 0 copy local, 1 get_user function. iykyk.
  • red β€” frame buffer colormap structure.
  • green β€” the green value which can be up to 16 bits wide.
  • blue β€” the blue value which can be up to 16 bits wide.
  • transp β€” if supported the alpha value which can be up to 16 bits wide.
  • info β€” frame buffer info structure.

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./drivers/video/fbdev/ffb.c β€” go peek at the related besties:


source/version: ./drivers/video/fbdev Β· date: October 2026 β€” mwah, mwah πŸ’–πŸŽ€

πŸ“¦ where this page comes from