STRUCT PMC_CLK_DATA(9)
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, typically0..5. So itβs pointing at the clock set, and the usual range is right there:0..5. π₯criticalβ flag to indicate if firmware enabledpmc_plt_clksshould 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
- 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