omap3_noncor...e_and_parent(9)
β¨ omap3_noncore_dpll_set_rate_and_parent(9) β¨
okay so bestie π«Ά welcome to the Kernel API Manual β this one is a <cyan>Kernel API</cyan> page about <purple>omap3_noncore_dpll_set_rate_and_parent</purple>, and no I will not be shortening that name, it's giving full government name energy and we respect it π
πΈ NAME πΈ
omap3_noncore_dpll_set_rate_and_parent β set rate and parent for a DPLL clock. that's it, that's the whole job, and honestly? iconic.
π SYNOPSIS π
int omap3_noncore_dpll_set_rate_and_parent (struct clk_hw *hw , unsigned
long rate , unsigned long parent_rate , u8 index );
π¦ ARGUMENTS π¦
hwβ pointer to the clock you're setting the rate and parent for. the main character we're operating on πrateβ the target rate for the DPLL. the goal. the dream. π―parent_rateβ the clock rate of the DPLL's parent. yes it's a whole family tree situation π³indexβ the new parent index for the DPLL:0means reference,1means bypass. two options, pick your fighter β¨
π DESCRIPTION π
okay so this function sets the rate and parent for a DPLL clock, both at once, like a multi-tasking queen π
here's the tea π: if the new parent is the bypass clock, it only selects the parent β that's it, no rate drama, we're just switching parents and moving on.
otherwise? it proceeds with a rate change, because that will effectively also change the parent as the DPLL is put into locked mode. so like, the rate change is the parent change in disguise. sneaky but slay π₯
returns 0 with success, and a negative error value otherwise π
π SEE ALSO π
kernel file ./drivers/clk/ti/dpll3xxx.c β and the whole friend group:
_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_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)
ngl bestie, that's a lot of siblings. but every single one of them is in the group chat and we're not leaving anyone on read π
π that's the whole page!! sourced straight from ./drivers/clk/ti, dated October 2026, and delivered to you with love, precision, and zero skipped details π§ββοΈβ¨ mwah π
π¦ 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