omap3_noncore_dpll_set_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… omap3_noncore_dpll_set_rate(9) β€” like, the Kernel API Manual page you actually wanna read πŸŽ€

okay so bestie, welcome to the Kernel API Manual entry for omap3_noncore_dpll_set_rate(9) β€” yes that's a whole mouthful, yes it's iconic, and yes we're gonna get through it together ✨


🌸 NAME 🌸

omap3_noncore_dpll_set_rate β€” set rate for a DPLL clock πŸ’«


πŸ¦‹ SYNOPSIS πŸ¦‹

int omap3_noncore_dpll_set_rate (struct clk_hw *hw , unsigned long rate
, unsigned long parent_rate );

literally the whole signature, character for character, no cap πŸ”₯


πŸ’– ARGUMENTS πŸ’–

  • hw β€” pointer to the clock to set parent for 🫢
  • rate β€” target rate for the clock, like the glow-up goal 🌟
  • parent_rate β€” rate of the parent clock, the vibe it's inheriting from πŸ‘‘

✨ DESCRIPTION ✨

So here's the tea πŸ“ β€” this function sets rate for a DPLL clock.

First thing it does? It checks if the clock parent is the reference clock. And bestie, if it is β€” that's bypass mode β€” and in bypass mode the rate of the clock can't be changed, periodt. πŸ’€ No negotiating, no workarounds, it's just not happening.

If the vibe check passes, it proceeds with the rate change operation πŸ’…

Returns 0 on success, and a negative error value otherwise 😭 (so like, always check your return value, iykyk).


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/clk/ti/dpll3xxx.c β€” and the whole friend group 🫢:


πŸ’€ friendly reminder: in bypass mode the rate can't be changed. That's not a suggestion, that's the whole bit.

and that's the page!! πŸ§šβ€β™€οΈ this lil masterpiece lives in ./drivers/clk/ti and it's dated October 2026, source and all β€” mwah, slay, go set some clock rates responsibly bestie πŸ’œπŸŽ€πŸ’…

πŸ“¦ where this page comes from