STRUCT CPG_MSSR_PUB(9)
π struct cpg_mssr_pub(9) β the Kernel API Manual, but make it bestie-friendly
okay so quick vibe check first: this is a page straight out of the Kernel API Manual (section 9, iykyk) and it's all about struct cpg_mssr_pub β the little data bundle that gets shared with device-specific clk registration code. that's it, that's the whole personality. let's get into it π
β¨ NAME β¨
struct cpg_mssr_pub β the data that gets shared with device-specific clk registration code π«Ά
like, it's literally the handoff struct. it holds the stuff the device-specific clk registration code needs, and it's public so everyone can see it. no cap.
π¦ SYNOPSIS π¦
struct cpg_mssr_pub {
void __iomem *base0;
void __iomem *base1;
struct raw_notifier_head notifiers;
spinlock_t rmw_lock;
struct clk **clks;
};
look at her. five fields. flawless. β¨ (yes, there's a space before that closing brace in the original and i'm keeping it, character for character, because we do not edit the source. periodt.)
πΈ Members πΈ
okay so here's the cast of characters, field by field:
base0β the CPG/MSSR register blockbase0address πbase1β the CPG/MSSR register blockbase1address π (yes, there's a second one, she's got range)notifiersβ a notifier chain whose whole job is to save/restore clock state for system resume π΄β‘οΈπ₯rmw_lockβ protects RMW register accesses π (read-modify-write is not a group project, one at a time pls)clksβ pointer to clocks β°π
π SEE ALSO π
- Kernel file
./drivers/clk/renesas/renesas-cpg-mssr.hβ go read the header bestie, it's right there
ngl, this one's short but she ate. every field matters, no filler, main character energy only π
and that's the page!! π sign-off time: this little beauty lives in ./drivers/clk/renesas, dated October 2026, and it's filed under struct cpg_mssr_pub(9). go forth and register those clocks, bestie π§ββοΈπ
π¦ 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