STRUCT LGM_PLL_CLK_DATA(9)
π struct lgm_pll_clk_data(9) π
okay bestie, welcome to the struct lgm_pll_clk_data(9) page, straight out of the Kernel API Manual β¨ this is the little descriptor struct for an LGM PLL clock, and honestly? it's giving "small but runs the whole group chat." let's get into it π
πΈ NAME πΈ
struct lgm_pll_clk_data β
no cap, the original page literally leaves the description blank after the dash π so we're not gonna invent one. it's a struct, it has a name, and that name is struct lgm_pll_clk_data. periodt.
β¨ SYNOPSIS β¨
here's the whole shape of her, every field exactly as written, no edits, no vibes-based refactoring π«Ά
struct lgm_pll_clk_data {
unsigned int id;
const char *name;
const struct clk_parent_data *parent_data;
u8 num_parents;
unsigned long flags;
enum pll_type type;
int reg;
};
π Members π
okay so let's meet the cast one by one, each of them a main character in their own right π
idβ the platform specific id of the clock. like her government name, but for whatever platform she's living on πͺͺnameβ the name of this pll clock. what you actually call her when you're being nice πΈparent_dataβ parent clock data. yes she has parents, and yes they're logged in the group chat too π¬num_parentsβ number of parents. keeping count, because someone has to πflagsβ optional flags for basic clock. optional! so you can leave them out and she'll still show up to the function βtypeβ platform type of pll. which flavor of PLL we're dealing with πregβ offset of the register. the address math, the real one, the one that actually matters π₯
π¦ SEE ALSO π¦
go touch grass in the kernel tree, these are the neighbors:
- Kernel file
./drivers/clk/x86/clk-cgu.h struct lgm_clk_provider(9)
real talk: these field names, types, and the reference to ./drivers/clk/x86/clk-cgu.h are the whole point of this page β don't go renaming anything or your build will simply not slay π
and that's the tea, bestie π this cutie came from ./drivers/clk/x86 in the October 2026 drop of the Kernel API Manual β struct lgm_pll_clk_data(9), signed, sealed, and served with a bow π mwah π
π¦ 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