__wrpll_update_parent_rate(9)
β¨ __wrpll_update_parent_rate β¨
okay bestie, so this is a kernel API manual page β __wrpll_update_parent_rate(9), from the Kernel API Manual β and it's literally about updating PLL data when the parent rate changes. yes, that's a whole thing. let's get into it π«Ά
πΈ NAME πΈ
__wrpll_update_parent_rate β update PLL data when parent rate changes π
π SYNOPSIS π
int __wrpll_update_parent_rate (struct wrpll_cfg *c , unsigned long
parent_rate );
π¦ ARGUMENTS π¦
cβ ptr to astruct wrpll_cfgrecord to write PLL data to β¨parent_rateβ PLL input refclk rate (pre-R-divider) π«
π DESCRIPTION π
So what this does is pre-compute some data used by the PLL configuration algorithm, and it does that when the PLL's reference clock rate changes. the whole intention here is to avoid computation when the parent rate stays constant β which is expected to be the common case. iykyk, no cap, that's the vibe check. π₯
like, it's giving "why do the math again if nothing moved?" and honestly? iconic. π
β RETURN β
Returns 0 upon success, or -ERANGE if the reference clock rate is out of range. π
π SEE ALSO π
- Kernel file
./drivers/clk/analogbits/wrpll-cln28hpc.c __wrpll_calc_filter_range(9)__wrpll_calc_fbdiv(9)__wrpll_calc_divq(9)wrpll_configure_for_rate(9)wrpll_calc_output_rate(9)wrpll_calc_max_lock_us(9)
fr fr go read those too, bestie, they're the whole squad π§
that's the whole page, hope it ate π
β this one came from ./drivers/clk/analogbits and the date on it is October 2026, so like, future vibes only πβ¨ mwah, ily, go configure some PLLs π
π¦ 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