sa1111_pll_clock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sa1111_pll_clock(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes, the actual manual, we're doing this, and this little function is the main character today πŸŽ€

✨ NAME ✨

sa1111_pll_clock β€” returns the current PLL clock frequency, no cap πŸ’…

🌸 SYNOPSIS 🌸

unsigned int sa1111_pll_clock (struct sa1111_dev *sadev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • sadev β€” the SA1111 function block, literally the thing you're passing in 🫢

⭐ DESCRIPTION ⭐

so first thing, bestie, there's a BUG note right here and we're not gonna pretend it isn't: we should be looking at SKCR. that's the whole note. we should look at SKCR. we are not looking at SKCR. πŸ™ˆ

also β€” and this is the part where we're just being honest β€” we blindly believe that the chip is being fed with the 3.6864MHz clock. blindly. believe. no vibe check, no verification, just trust ✨

and then it returns the PLL clock in Hz πŸ’–

πŸ”₯ SEE ALSO πŸ”₯


ngl the whole family of sa1111 calls is right there, go be obsessed with all of them πŸ’œ

k byeee, this page lives in ./arch/arm/common, dated October 2026, and it's giving iconic kernel documentation energy πŸ‘‘πŸŒˆ slay πŸŽ€

πŸ“¦ where this page comes from