omap2_get_dpll_rate(9)
β¨ NAME β¨
omap2_get_dpll_rate β returns the current DPLL CLKOUT rate π and yes bestie, this is from the Kernel API Manual, page omap2_get_dpll_rate(9).
π οΈ SYNOPSIS π οΈ
hereβs the exact signature, no cap:
unsigned long omap2_get_dpll_rate (struct clk_hw_omap *clk );
πΈ ARGUMENTS πΈ
clkβ thestruct clk *of a DPLL. thatβs the whole vibe π«Ά
π¦ DESCRIPTION π¦
okay so DPLLs can be locked or bypassed β basically enabled or disabled, periodt. when a DPLL is locked, its output depends on the M and N values. when itβs bypassed, on OMAP2xxx, the output rate is either the 32KiHz clock or sys_clk. β¨
bypass rates on OMAP3 depend on the DPLL: DPLLs 1 and 2 are bypassed with dpll1_fclk and dpll2_fclk respectively (generated by DPLL3), while DPLL 3, 4, and 5 bypass rates are sys_clk. fr fr, thatβs the breakdown π
it returns the current DPLL CLKOUT rate (not CLKOUTX2) if the DPLL is locked, or the appropriate bypass rate if the DPLL is bypassed, or 0 if the clock clk is not a DPLL. lowkey important, highkey iconic π
π₯ SEE ALSO π₯
- Kernel file
./drivers/clk/ti/clkt_dpll.c _omap2_dpll_is_in_bypass(9)omap2_dpll_determine_rate(9)
thatβs the whole page, bestie! sourced from ./drivers/clk/ti, dated October 2026, and filed under omap2_get_dpll_rate(9) β go off, kernel queen ππ
π¦ 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