STRUCT CCS_RULE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ccs_rule(9) β€” like, the whole kernel API manual, but make it make sense

okay bestie, buckle up πŸŽ€ this is the manual page for struct ccs_rule, and it's literally a CCS static data rule. that's the whole NAME section, no notes, periodt.


✨ NAME ✨

struct ccs_rule β€” a CCS static data rule. that's it. that's the vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

here's the struct in all its glory, copied exactly, do not touch, do not edit, she is perfect:

struct ccs_rule {
    size_t num_if_rules;
    struct ccs_if_rule *if_rules;
    size_t num_read_only_regs;
    struct ccs_reg *read_only_regs;
    size_t num_manufacturer_regs;
    struct ccs_reg *manufacturer_regs;
    struct ccs_frame_format_descs *frame_format;
    struct ccs_pdaf_readout *pdaf_readout;
 };

(yes there's a lil space before that last closing brace in the original, we do not judge, we respect the source ✨)


🫢 Members 🫢

okay so every field, one by one, no skipping, we are NOT leaving anyone out on this fine October day:

  • num_if_rules β€” the number of if rules πŸ’« like, how many of them there are.
  • if_rules β€” the if rules themselves. iconic. no cap.
  • num_read_only_regs β€” the number of read-only registers πŸ”’ those ones you look at but do not touch, respectfully.
  • read_only_regs β€” the read-only registers, in the flesh.
  • num_manufacturer_regs β€” the number of manufacturer-specific registers 🏭 like the brand-exclusive ones.
  • manufacturer_regs β€” the manufacturer-specific registers themselves.
  • frame_format β€” frame format πŸ–ΌοΈ it's giving rectangle energy.
  • pdaf_readout β€” PDAF readout πŸ“Έ yes babe, phase detection autofocus readout, we love a camera moment.

πŸ”₯ SEE ALSO πŸ”₯

go read these next, i'm obsessed, iykyk:

  • Kernel file ./drivers/media/i2c/ccs/ccs-data.h struct πŸ‘‘ like the actual header bestie, go look at it
  • ccs_data_block_version(9)
  • struct ccs_reg(9)
  • struct ccs_if_rule(9)
  • struct ccs_frame_format_desc(9)
  • struct ccs_frame_format_descs(9)
  • struct ccs_pdaf_readout(9)
  • struct ccs_pdaf_pix_loc_block_desc(9)
  • struct ccs_pdaf_pix_loc_block_desc_group(9)
  • struct ccs_pdaf_pix_loc_pixel_desc(9)
  • struct ccs_pdaf_pix_loc_pixel_desc_group(9)
  • struct ccs_pdaf_pix_loc(9)
  • struct ccs_data_container(9)

like, that's a whole friend group right there πŸ’œ and yes you have to read all of them, that's the assignment.


no warnings section in the original, no bugs, no errors, no exit statuses β€” this one's just a struct and her friends. a clean, unbothered queen. 🧚

and that's the page!! 🌈 this cutie lives at ./drivers/media/i2c/ccs, dated October 2026, and the footer says struct ccs_rule(9) again because she contains multitudes πŸ’– byeeee, go read ccs-data.h fr fr πŸ“βœ¨

πŸ“¦ where this page comes from