sdhci_versal...lk_set_phase(9)
β¨ sdhci_versal_sampleclk_set_phase(9) β¨
okay bestie, so we're deep in the Kernel API Manual today β like, we left userspace entirely and we're hanging out in driver land, and honestly? it's giving main character energy π this one's all about the SD Input Clock Tap Delays, no cap.
πΈ NAME πΈ
sdhci_versal_sampleclk_set_phase β literally just sets the SD Input Clock Tap Delays π
that's it, that's the whole vibe.
π¦ SYNOPSIS π¦
int sdhci_versal_sampleclk_set_phase (struct clk_hw *hw , int degrees );
π ARGUMENTS π
hwβ pointer to the hardware clock structure. like, the clock thing itself, the actual object, she's the main character here π°οΈdegreesβ the clock phase shift, and it lives in the range0-359. yes, degrees, like a circle, because that's how phase shifts roll β¨
π₯ DESCRIPTION π₯
so what does she actually do?? she sets the SD Input Clock Tap Delays β specifically for the Input path π« that's the entire description. short, sweet, iconic. no notes.
β RETURN β
0 on success, and an error value on error π (iykyk β kernel functions are so real for this).
ngl bestie, always check the return value. 0 = slay, anything else = vibe check failed π
π SEE ALSO π
- the kernel file
./drivers/mmc/host/sdhci-of-arasan.cπ 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_arasan_sampleclk_recalc_rate(9)sdhci_zynqmp_sdcardclk_set_phase(9)sdhci_zynqmp_sampleclk_set_phase(9)sdhci_versal_sdcardclk_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)
π«Ά friendly reminder that sdhci_versal_sdcardclk_set_phase(9) is a different function β she's the output-path sister, don't get them twisted bestie π
aaaand that's the whole page!! π it lives under ./drivers/mmc/host, dated October 2026, and the page itself goes by sdhci_versal...lk_set_phase(9) β go off, kernel docs πβ¨π
π¦ 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