sdhci_arasan..._recalc_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

sdhci_arasan_sampleclk_recalc_rate β€” bestie, this one just returns the sampling clock rate ✨

okay so real talk, we're in the Kernel API Manual rn and this function is literally the vibe check for your sampling clock πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

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

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the hardware clock structure 🫢 like, the whole clock's main character energy lives here
  • parent_rate β€” the parent rate, and no cap it should be the rate of clk_xin πŸ’«

🌸 DESCRIPTION 🌸

So it returns the current actual rate of the sampling clock πŸ‘‘ not the theoretical one, not the one you wished for, the actual one, periodt.

And like, why do we care? Because this is what you use to communicate with our PHY πŸ”₯ that's the whole point, iykyk.


✨ RETURN ✨

The sample clock rate πŸ’– that's it, that's the return value, she's simple and she ate 🌈


πŸ’œ SEE ALSO πŸ’œ

Grab a snack bestie, this list is long but we're getting through all of it together πŸ“ the kernel file lives at ./drivers/mmc/host/sdhci-of-arasan.c and it's got so many friends:

like, the whole friend group showed up πŸ˜­πŸ’€


okay that's the page bestie, we're done here πŸ§šπŸ’œ this lil gem lives in ./drivers/mmc/host, dated October 2026, and she's filed under sdhci_arasan..._recalc_rate(9) β€” mwah, go touch some hardware πŸŽ€β­

πŸ“¦ where this page comes from