cg6_setcolreg(9)
π cg6_setcolreg(9) β Kernel API Manual π
okay so bestie, welcome to cg6_setcolreg(9) in the Kernel API Manual. We're literally here for the color-register function, and the vibe is very "small kernel helper, main character energy." β¨ No cap.
β¨ NAME β¨
cg6_setcolreg β sets a color register. π¨ That's the whole assignment, and it ate. Periodt.
π«Ά SYNOPSIS π«Ά
int cg6_setcolreg (unsigned regno , unsigned red , unsigned green ,
unsigned blue , unsigned transp , struct fb_info *info );
πΈ ARGUMENTS πΈ
regnoβ boolean,0copy local,1get_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/cg6.c β and lowkey go say hi to cg6_fillrect(9), cg6_copyarea(9), cg6_imageblit(9), and cg6_blank(9). π
Obsessed with this little crew, fr fr.
π cute sign-off: source/version ./drivers/video/fbdev, date October 2026, title cg6_setcolreg(9) β mwah, bestie π
π¦ 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