STRUCT MSTP_CLOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct mstp_clock β€” the MSTP gating clock, bestie. that's it, that's the whole vibe ✨

okay so real talk, this is a page from the Kernel API Manual, and it's giving very niche, very iconic kernel-struct energy 🫢


✨ SYNOPSIS ✨

struct mstp_clock {
    struct clk_hw hw;
    u32 index;
    struct cpg_mssr_priv *priv;
 };

no cap, that's the whole struct. three members, zero drama, main character energy πŸ‘‘


πŸŽ€ Members πŸŽ€

  • hw β€” the handle between the common clock interfaces and the hardware-specific ones πŸ”₯ like, it's the little connector between "generic clock world" and "this specific chip's business", iykyk
  • index β€” the MSTP clock number, an honest-to-god u32. it's literally just which MSTP clock this one is πŸŒ€
  • priv β€” the CPG/MSSR private data, pointer to a struct cpg_mssr_priv πŸ’– your backstage pass to all the driver's private stuff

🌸 SEE ALSO 🌸

  • Kernel file ./drivers/clk/renesas/renesas-cpg-mssr.c
  • struct cpg_mssr_priv(9)

go read those if you want the full lore, fr fr πŸ“š


and that's the page, bestie πŸ’œ this lil writeup lives over in ./drivers/clk/renesas, dated October 2026, and it's literally titled struct mstp_clock(9) β€” slay, periodt πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from