sdhci_arasan..._recalc_rate(9)
π 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 hereparent_rateβ the parent rate, and no cap it should be the rate ofclk_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:
struct sdhci_arasan_soc_ctl_field(9)struct sdhci_arasan_soc_ctl_map(9)struct sdhci_arasan_clk_ops(9)struct sdhci_arasan_clk_data(9)struct sdhci_arasan_data(9)sdhci_arasan_syscon_write(9)sdhci_arasan_suspend(9)sdhci_arasan_resume(9)sdhci_arasan_sdcardclk_recalc_rate(9)sdhci_zynqmp_sdcardclk_set_phase(9)sdhci_zynqmp_sampleclk_set_phase(9)sdhci_versal_sdcardclk_set_phase(9)sdhci_versal_sampleclk_set_phase(9)sdhci_arasan_update_clockmultiplier(9)sdhci_arasan_update_baseclkfreq(9)arasan_dt_parse_clk_phases(9)sdhci_arasan_register_sdcardclk(9)sdhci_arasan_register_sampleclk(9)sdhci_arasan_unregister_sdclk(9)sdhci_arasan_update_support64b(9)sdhci_arasan_register_sdclk(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms