STRUCT PMC_CLK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct pmc_clk πŸŽ€

okay so you're in the Kernel API Manual and the star of the show today is struct pmc_clk β€” it's literally the PMC platform clock configuration and it's giving "small struct, big responsibilities" energy fr fr πŸ’…


✨ SYNOPSIS ✨

struct pmc_clk {
    const char *name;
    unsigned long freq;
    const char *parent_name;
 };

three fields, zero drama, we love a minimal icon 🌸


πŸ‘‘ Members πŸ‘‘

  • name β€” this is the identifier, and typically it's gonna look like pmc_plt_clk_<x> where x ranges over [0..5]. so yeah, six clocks, numbered, cute, done πŸ’–
  • freq β€” the frequency, in Hz. supported values are 19.2MHz and 25MHz (that second one is Baytrail only, so don't come for the other platforms bestie, they can't sit with us) πŸ¦‹
  • parent_name β€” the parent clock's name, and it's one of 'xtal' or 'osc'. that's the whole vibe check, pick one πŸŽ€

πŸ” SEE ALSO πŸ”

  • Kernel file ./include/linux/platform_data/x86/clk-pmc-atom.h
  • struct pmc_clk_data(9) β€” the related one, go read it, iykyk ✨

ngl this page is tiny but it ate. all the details are above, no cap, nothing skipped 🫢

mwah πŸ’œ that's the whole page β€” it came from the source path ./include/linux/platform_data/x86, dated October 2026, and the manual entry is literally called struct pmc_clk(9). catch you in the next one, bestie βœ¨πŸŽ€

πŸ“¦ where this page comes from