omap3_clkoutx2_recalc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to struct 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:


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