STRUCT CC_DRVDATA(9)
β¨ struct cc_drvdata(9) β¨
okay so welcome to the Kernel API Manual bestie, today we're looking at struct cc_drvdata and it is literally the driver-private data context π like, the lil backpack this driver carries around with all its stuff in it. it's giving "main character's emotional support struct" fr fr π
πΈ NAME πΈ
struct cc_drvdata β driver private data context π«Ά
π¦ SYNOPSIS π¦
no cap, here's the whole thing, character for character, don't touch a single semicolon:
struct cc_drvdata {
void __iomem *cc_base;
int irq;
struct completion hw_queue_avail;
struct platform_device *plat_dev;
u32 mlli_sram_addr;
struct dma_pool *mlli_buffs_pool;
struct list_head alg_list;
void *hash_handle;
void *aead_handle;
void *request_mgr_handle;
void *fips_handle;
u32 sram_free_offset;
struct dentry *dir;
struct clk *clk;
bool coherent;
char *hw_rev_name;
enum cc_hw_rev hw_rev;
u32 axim_mon_offset;
u32 sig_offset;
u32 ver_offset;
int std_bodies;
bool sec_disabled;
u32 comp_mask;
u32 cache_params;
u32 ace_const;
};
likeβ¦ look at all those fields. iconic. every single one of them is in there and we are NOT skipping any π
π§ Members π§
so the page only spells out two of these bad boys, and here they are, no gatekeeping:
cc_baseβ the virt address of the CC registers β¨ (yes, virt as in virtual, she's not the raw physical one, okay?)irqβ a bitmap indicating the source of the last interrupt π₯ like a little "who woke me up" receipt ngl
the rest of the fields in the struct above are just chillin' there in the synopsis, bestie β the page doesn't define them individually so neither will I, iykyk π
π SEE ALSO π
- Kernel file
./drivers/crypto/ccree/cc_driver.hβ go read the actual header, it's right there, slay π
and that's the vibe check, periodt π
okay so like a proper sign-off: this lil beauty lives in ./drivers/crypto/ccree, the page is dated October 2026, and it's filed under struct cc_drvdata(9) in the Kernel API Manual π¦ mwah, go forth and be coherent π«
π¦ 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