STRUCT CCS_DATA_CONTAINER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ccs_data_container(9) πŸ’–

okay bestie, welcome to the Kernel API Manual entry for struct ccs_data_container β€” literally the in-memory home for CCS static data, and we're gonna go through every single field together 🫢✨


✨ NAME ✨

struct ccs_data_container β€” In-memory CCS static data πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole struct, exactly as it is, no cap:

struct ccs_data_container {
    struct ccs_data_block_version *version;
    size_t num_sensor_read_only_regs;
    struct ccs_reg *sensor_read_only_regs;
    size_t num_sensor_manufacturer_regs;
    struct ccs_reg *sensor_manufacturer_regs;
    size_t num_sensor_rules;
    struct ccs_rule *sensor_rules;
    size_t num_module_read_only_regs;
    struct ccs_reg *module_read_only_regs;
    size_t num_module_manufacturer_regs;
    struct ccs_reg *module_manufacturer_regs;
    size_t num_module_rules;
    struct ccs_rule *module_rules;
    struct ccs_pdaf_pix_loc *sensor_pdaf;
    struct ccs_pdaf_pix_loc *module_pdaf;
    size_t license_length;
    char *license;
    bool end;
    void *backing;
};

πŸ’… Members πŸ’…

  • version β€” the CCS static data version 🌸
  • num_sensor_read_only_regs β€” how many read-only registers the sensor has πŸ”₯
  • sensor_read_only_regs β€” the read-only registers for the sensor ✨
  • num_sensor_manufacturer_regs β€” how many manufacturer-specific registers the sensor has πŸŽ€
  • sensor_manufacturer_regs β€” the manufacturer-specific registers for the sensor πŸ’–
  • num_sensor_rules β€” the number of rules for the sensor πŸ‘‘
  • sensor_rules β€” the rules for the sensor 🌈
  • num_module_read_only_regs β€” how many read-only registers the module has πŸ¦‹
  • module_read_only_regs β€” the read-only registers for the module ⭐
  • num_module_manufacturer_regs β€” how many manufacturer-specific registers the module has πŸ’œ
  • module_manufacturer_regs β€” the manufacturer-specific registers for the module 🌸
  • num_module_rules β€” the number of rules for the module πŸ”₯
  • module_rules β€” the rules for the module ✨
  • sensor_pdaf β€” PDAF data for the sensor πŸŽ€
  • module_pdaf β€” PDAF data for the module πŸ’–
  • license_length β€” the Lenght of the license data (keeping that exact spelling, bestie 🫢)
  • license β€” license data πŸ‘‘
  • end β€” whether or not there's an end block πŸ’€
  • backing β€” raw data that's pointed to from elsewhere, so keep it around fr fr πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file ./drivers/media/i2c/ccs/ccs-data.h struct, plus these besties:

  • 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_rule(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)

source/version: ./drivers/media/i2c/ccs Β· date: October 2026 Β· title: struct ccs_data_container(9) β€” mwah, bye bestie πŸ’‹πŸ’–

πŸ“¦ where this page comes from