STRUCT S3C_FB_PALETTE(9)
β¨ struct s3c_fb_palette(9) β¨
okay so bestie, welcome to the manual page for struct s3c_fb_palette β that's the kernel API manual, section 9, and yes it's as niche as it sounds but we're gonna slay it π
π NAME π
struct s3c_fb_palette β palette information. that's it, that's the whole name. it's the little struct that holds the palette info, and honestly? iconic for it πΈ
π¦ SYNOPSIS π¦
struct s3c_fb_palette {
struct fb_bitfield r;
struct fb_bitfield g;
struct fb_bitfield b;
struct fb_bitfield a;
};
no cap, that's the whole struct. four bitfields, all of them struct fb_bitfield, all lined up and living their best lives. look at that indentation, we love to see it π«Ά
π Members π
bestie it's literally one member per colour channel, let's go:
rβ the red bitfield. red. like the flag. like the vibe π₯gβ the green bitfield. green. very fresh, very demure πΏbβ the blue bitfield. blue. cool, calm, collected πaβ the alpha bitfield. the alpha one, the transparency girlie, main character energy for real π
that's it. four fields. r, g, b, a. red, green, blue, alpha. periodt.
ngl there is genuinely nothing else in this struct β no secret extra fields, no plot twist, just the four bitfields doing their thing π
π SEE ALSO π
okay this is the part where the page goes absolutely feral with cross-references, so buckle up bestie, we're listing every single one because we do not skip entries in this house π
the kernel file is ./drivers/video/fbdev/s3c-fb.c, and from there you've got:
struct s3c_fb_variant(9)struct s3c_fb_win_variant(9)struct s3c_fb_driverdata(9)struct s3c_fb_win(9)struct s3c_fb_vsync(9)struct s3c_fb(9)s3c_fb_validate_win_bpp(9)s3c_fb_check_var(9)s3c_fb_calc_pixclk(9)s3c_fb_align_word(9)vidosd_set_size(9)vidosd_set_alpha(9)shadow_protect_win(9)s3c_fb_enable(9)s3c_fb_set_par(9)s3c_fb_update_palette(9)s3c_fb_setcolreg(9)s3c_fb_blank(9)s3c_fb_pan_display(9)s3c_fb_enable_irq(9)s3c_fb_disable_irq(9)s3c_fb_wait_for_vsync(9)s3c_fb_missing_pixclock(9)s3c_fb_alloc_memory(9)s3c_fb_free_memory(9)s3c_fb_release_win(9)s3c_fb_probe_win(9)s3c_fb_set_rgb_timing(9)s3c_fb_clear_win(9)s3c_fb_remove(9)
like, that's thirty of them. thirty!! the s3c-fb family is huge and we're obsessed with the range π§
and that's the whole page, bestie β no notes, no crumbs, we ate and left nothing behind π
sign-off time: this little beauty lives in ./drivers/video/fbdev, it's dated October 2026, and it's page struct s3c_fb_palette(9) of the Kernel API Manual. go forth and bitfield responsibly πβ¨
π¦ 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