STRUCT CLK_ALPHA_PLL(9)
π NAME π
struct clk_alpha_pll β a phase locked loop (PLL) π and honestly? main character energy. This is the Kernel API Manual, bestie, so we're doing this properly but cute.
β¨ SYNOPSIS β¨
okay so here's the entire struct, copied exactly because we do not play with code, no cap:
struct clk_alpha_pll {
u32 offset;
const u8 *regs;
const struct alpha_pll_config *config;
const struct pll_vco *vco_table;
size_t num_vco;
#define SUPPORTS_OFFLINE_REQ BIT(0);
#define SUPPORTS_FSM_MODE BIT(2);
#define SUPPORTS_DYNAMIC_UPDATE BIT(3);
#define SUPPORTS_FSM_LEGACY_MODE BIT(4);
u8 flags;
struct clk_regmap clkr;
};
π Members π
roll call time, let's meet the whole squad:
offsetβ base address of registers, aka where this PLL's register situation begins. home address vibes π .regsβ the alpha pll register map, and yes it's literally pointing you toclk_alpha_pll_regsfor the full lore π.configβ array of pll settings. the preset menu, if you will π.vco_tableβ array of VCO settings. another table, another vibe πΈ.num_vcoβ number of VCO settings invco_table. literally the count, that's it, that's the whole job π’.flagsβ bitmask to indicate features supported by the hardware. the hardware's way of saying "here's what I can do" π . the bits areSUPPORTS_OFFLINE_REQ=BIT(0),SUPPORTS_FSM_MODE=BIT(2),SUPPORTS_DYNAMIC_UPDATE=BIT(3), andSUPPORTS_FSM_LEGACY_MODE=BIT(4). (noBIT(1)in the roster, don't come for me, that's just what the struct says.)clkrβ regmap clock handle. the actual handle for the regmap clock situation π.
π¦ SEE ALSO π¦
go peek at these if you're obsessed like me:
- Kernel file
./drivers/clk/qcom/clk-alpha-pll.hβ the source file, iykyk. struct clk_alpha_pll_postdiv(9)β the postdiv struct, highly recommend for the full picture π.
and that's the page, bestie. source/version: ./drivers/clk/qcom; date: October 2026; manual: struct clk_alpha_pll(9). periodt π
β¨π«Ά
π¦ 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