cg14_setcolreg(9)
okay so bestie π«Ά this is cg14_setcolreg(9) from the Kernel API Manual β yes, the actual manual, and yes, we're making it cute. stay with me, it's literally just one little function and its little argument family. π
β¨ NAME β¨
cg14_setcolreg β Optional function. Sets a color register. π¨
πΈ SYNOPSIS πΈ
int cg14_setcolreg (unsigned regno , unsigned red , unsigned green ,
unsigned blue , unsigned transp , struct fb_info *info );
π ARGUMENTS π
regnoβ a boolean situation, fr:0means copy local,1means get_user function. π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 π¦
- Kernel file
./drivers/video/fbdev/cg14.cβ go peek, bestie, iykyk π
and that's the whole page, bestie π this one ships from ./drivers/video/fbdev, dated October 2026 β cg14_setcolreg(9) signing off. mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms