sg2042_clk_pll_recalc_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sg2042_clk_pll_recalc_rate(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so picture this: it's a kernel API manual page, it's about clocks, and it's literally the recalc_rate callback for pll clks. buckle up ✨


πŸ’– NAME πŸ’–

sg2042_clk_pll_recalc_rate β€” the recalc_rate callback for pll clks. that's it, that's the whole vibe 🫢


🌸 SYNOPSIS 🌸

unsigned long sg2042_clk_pll_recalc_rate (struct clk_hw *hw , unsigned
long parent_rate );

like yes, it returns an unsigned long, and yes, it takes two things. we'll get to those 🧚


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” this is the ccf hook situation, used to get at sg2042_pll_clock. ccf uses it to hook, iykyk πŸ’«
  • parent_rate β€” the parent rate. that's the parent's rate. no notes πŸ’…

✨ DESCRIPTION ✨

so the way this works: this function gets called through clk_get_rate, and it returns the current rate β€” after decoding the reg value. decoding!! the reg value!! it's giving detective energy πŸ”πŸ‘‘


πŸ”₯ RETURN πŸ”₯

the current rate, all recalculated and fresh. slay πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the page, bestie πŸ’œ it lives over at ./drivers/clk/sophgo, stamped October 2026, and it's filed under sg2042_clk_pll_recalc_rate(9) β€” mwah, go forth and read your clocks πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from