STRUCT MSTP_CLOCK(9)
π 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", iykykindexβ the MSTP clock number, an honest-to-godu32. it's literally just which MSTP clock this one is πprivβ the CPG/MSSR private data, pointer to astruct 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
- 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