STRUCT CCS_RULE(9)
π 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.hstruct π 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
- 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