zynqmp_clk_d..._recalc_rate(9)
π zynqmp_clk_d..._recalc_rate(9) β¨
okay so bestie, welcome to the Kernel API Manual β this is the page for zynqmp_clk_d..._recalc_rate(9), and yes the title is literally abbreviated with dots like that, no I didn't do it, that's just how it's printed, iykyk π
πΈ NAME πΈ
zynqmp_clk_divider_recalc_rate β the glow-up where we recalc the rate of a divider clock π₯ (iconic behavior honestly)
π¦ SYNOPSIS π¦
unsigned long zynqmp_clk_divider_recalc_rate (struct clk_hw *hw ,
unsigned long parent_rate );
that's the whole signature, copy it exactly, don't get creative with it fr fr π
π ARGUMENTS π
hwβ the handle that sits between the common interfaces and the hardware-specific ones π«Ά (she's the middleman, she's the bridge, she's main character energy)parent_rateβ the rate of the parent clock β (yes, the parent one, not this one, keep up bestie)
π RETURN π
0 on success else error+reason π
ngl that's the whole return spec β success gives you a 0, anything else comes back as an error plus the reason, so don't just check for nonzero and walk away, the reason is right there π
π SEE ALSO π
- Kernel file
./drivers/clk/zynqmp/divider.cπ struct zynqmp_clk_divider(9)zynqmp_clk_divider_determine_rate(9)zynqmp_clk_divider_set_rate(9)zynqmp_clk_get_max_divisor(9)zynqmp_clk_register_divider(9)
like, read the whole little divider.c family, they're all friends, they all live in the same file, it's giving found family π§β¨
and that's the page!! mwah π β this one's from ./drivers/clk/zynqmp, dated October 2026, and it's page zynqmp_clk_d..._recalc_rate(9) of the Kernel API Manual, ok bye ily, go recalc some rates π
ππ¦
π¦ 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