omap3_noncor...e_and_parent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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: 0 means reference, 1 means 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:

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