_lookup_sddiv(9)
π
_lookup_sddiv (from the Kernel API Manual) π
okay bestie, buckle up, because this one is literally a tiny little helper that does one very specific job: it calculates the sigma-delta divider for a j-type DPLL. that's it. that's the whole vibe. no cap. β¨
πΈ NAME πΈ
_lookup_sddiv β calculate the sigma delta divider for a j-type DPLL π«
π¦ SYNOPSIS π¦
void _lookup_sddiv (struct clk_hw_omap *clk , u8 *sd_div , u16 m , u8 n
);
like yes, the formatting is a little cursed, it wraps onto a second line, we don't judge. π«Ά
β¨ ARGUMENTS β¨
clkβ a pointer to a DPLLstruct clk. this is the main character of the whole operation ngl πsd_divβ the target sigma-delta divider. it's au8 *, so it's a pointer, she writes back into you πmβ the DPLL multiplier you want to set, au16π’nβ the DPLL divider you want to set, au8β
π DESCRIPTION π
so the actual spec tea: see 36xx TRM section 3.5.3.3.3.2 "Type B DPLL (Low-Jitter)" π that's where the real lore lives, iykyk.
XXX β this code is not needed for 3430/AM35xx. the manpage literally asks the question: can it be optimized out in non-multi-OMAP builds for those chips? π€ so yeah, that's an open question, not a settled answer. don't come for me, I'm just the messenger π
π SEE ALSO π
kernel file ./drivers/clk/ti/dpll3xxx.c β and oooooh the friend group is large, look at all these related functions, absolutely iconic roster fr fr:
_omap3_noncore_dpll_lock(9)_omap3_noncore_dpll_bypass(9)_omap3_noncore_dpll_stop(9)_lookup_dco(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_clkoutx2_recalc(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)
like that's the whole clique, no gatekeeping here π«Άβ¨
and that's the page, bestie! π one last cute little sign-off: this one comes from ./drivers/clk/ti and it's dated October 2026 β mark your calendars, she's a time traveler π¦β°π
π¦ 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