STRUCT PMC_CLK(9)
π 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 likepmc_plt_clk_<x>where x ranges over[0..5]. so yeah, six clocks, numbered, cute, done πfreqβ the frequency, in Hz. supported values are19.2MHzand25MHz(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
- 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