STRUCT PMC_CLK_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Okay so welcome to the Kernel API Manual, bestie β€” today’s main character is struct pmc_clk_data(9), aka the common PMC clock configuration struct. It’s giving header-file energy, and we’re gonna read it together without losing a single detail. 🫢✨

✨ NAME ✨

struct pmc_clk_data β€” common PMC clock configuration. That’s the whole vibe: it’s the shared config bundle for PMC clocks. Periodt. πŸ’…

🌸 SYNOPSIS 🌸

Here’s the struct in all its glory β€” copy it exactly, no freestyling:

struct pmc_clk_data {
    void __iomem *base;
    const struct pmc_clk *clks;
    bool critical;
};

πŸ¦‹ Members πŸ¦‹

  • base β€” PMC clock register base offset. That’s the register base, bestie. πŸ“
  • clks β€” pointer to set of registered clocks, typically 0..5. So it’s pointing at the clock set, and the usual range is right there: 0..5. πŸ”₯
  • critical β€” flag to indicate if firmware enabled pmc_plt_clks should be marked as critial or not. Yes, the word is critial β€” we keep the details exactly as they are, no cap. 🫑

πŸŽ€ SEE ALSO πŸŽ€

  • Kernel file ./include/linux/platform_data/x86/clk-pmc-atom.h
  • struct pmc_clk(9)

Mwah πŸ’‹ β€” this little icon comes from ./include/linux/platform_data/x86, dated October 2026, and it’s still serving struct pmc_clk_data(9) at the bottom. Go be iconic with your clocks, bestie. πŸ’–πŸŒˆ

πŸ“¦ where this page comes from