lmk04832_check_vco_ranges(9)
β¨ lmk04832_check_vco_ranges π
okay so bestie, welcome to the Kernel API Manual β this one's a little function with main character energy, and it lives in lmk04832_check_vco_ranges(9) π
π NAME
lmk04832_check_vco_ranges β literally checks whether the VCO frequency you're asking for actually fits inside the VCO ranges πΈ
π¦ SYNOPSIS
int lmk04832_check_vco_ranges (struct lmk04832 *lmk , unsigned long rate );
π ARGUMENTS
lmkβ your reference to the lmk device, like your plus-one at the function call π«Άrateβ the desired output rate for the VCO, i.e. the vibe you're going for β¨
π DESCRIPTION
okay so the LMK04832 has 2 internal VCO, and each one has its own independent operating ranges β no cap, they don't share π
so what you do is: use the device_info structure to figure out which VCO to use based on rate. that's the whole assignment. iconic, honestly π
π₯ RETURN
returns the VCO_MUX value β or a negative errno if things did not, in fact, slay π
π§ SEE ALSO
- Kernel file
./drivers/clk/clk-lmk04832.c struct lmk04832_device_info(9)struct lmk04832(9)lmk04832_calc_pll2_params(9)
and that's the page, bestie π it's giving ./drivers/clk, version October 2026, straight from the Kernel API Manual β go forth and check those ranges, 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