omap3_clkoutx2_recalc(9)
π omap3_clkoutx2_recalc π
okay so welcome to the Kernel API Manual, bestie β this is the page for omap3_clkoutx2_recalc, and it's literally about recalculating the DPLL X2 output virtual clock rate β¨ buckle up π
πΈ NAME πΈ
omap3_clkoutx2_recalc β recalculate DPLL X2 output virtual clock rate π
π¦ SYNOPSIS π¦
unsigned long omap3_clkoutx2_recalc (struct clk_hw *hw , unsigned long
parent_rate );
π ARGUMENTS π
hwβ a pointer tostruct clk_hw, the usual hardware-clock handle, no cap π«Άparent_rateβ the clock rate of the DPLL parent, i.e. the number we're building off of π
β DESCRIPTION β
so here's the vibe π« you take the parent clock's DPLL data and look up the DPLL state. That's step one.
Then the vibe check happens π if the DPLL is locked, we set our rate to dpll_clk * 2 (double it, slay). Otherwise? we just use dpll_clk as-is. simple as that, periodt π
lowkey iconic that the whole function is one if statement and it still gets its own manpage π
π₯ SEE ALSO π₯
all the siblings and cousins ig π§ living in the kernel file ./drivers/clk/ti/dpll3xxx.c:
_omap3_noncore_dpll_lock(9)_omap3_noncore_dpll_bypass(9)_omap3_noncore_dpll_stop(9)_lookup_dco(9)_lookup_sddiv(9)omap3_noncore_dpll_ssc_program(9)omap3_noncore_dpll_program(9)omap3_dpll_recalc(9)omap3_noncore_dpll_enable(9)omap3_noncore_dpll_disable(9)omap3_noncore_dpll_determine_rate(9)omap3_noncore_dpll_set_parent(9)omap3_noncore_dpll_set_rate(9)omap3_noncore_dpll_set_rate_and_parent(9)omap3_dpll_autoidle_read(9)omap3_dpll_allow_idle(9)omap3_dpll_deny_idle(9)omap3_core_dpll_save_context(9)omap3_core_dpll_restore_context(9)omap3_noncore_dpll_save_context(9)omap3_noncore_dpll_restore_context(9)omap3_dpll4_set_rate(9)omap3_dpll4_set_rate_and_parent(9)omap3_dpll5_set_rate(9)
okay that's the whole page, you ate it up fr fr π
this came out of the kernel file ./drivers/clk/ti, dated October 2026, and it's filed under omap3_clkoutx2_recalc(9) β mwah, go read the source bestie πβ¨π
π¦ 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