tcx_setcolreg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tcx_setcolreg(9) β€” the Kernel API Manual, bestie edition πŸŽ€

Okay so this one's from the Kernel API Manual, and it's literally the glow-up guide for tcx_setcolreg β€” an optional function that sets a color register. Obsessed. Let's get into it ✨


🌸 NAME 🌸

tcx_setcolreg β€” optional function, sets a color register. That's it, that's the whole vibe. No cap πŸ’…


✨ SYNOPSIS ✨

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

Six args, one int return, main character energy all around 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • regno β€” boolean, 0 copy local, 1 get_user function. Yep, that's what it says, we're just relaying the message πŸ“‹
  • 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 πŸ—‚οΈ
Heads up bestie: every single one of those descriptions is verbatim from the manpage β€” I'm not out here guessing at behaviour, okay? 😭

πŸ”₯ SEE ALSO πŸ”₯

Go read them, iykyk πŸ“šβœ¨


And that's the whole page, bestie β€” no crumbs left πŸ§šπŸ’œ This lil dispatch came from ./drivers/video/fbdev and it's dated October 2026, which is giving time-travel slay 🌈⏰ Signed, sealed, delivered, periodt πŸ’…πŸ‘‘

πŸ“¦ where this page comes from