sdhci_zynqmp...lk_set_phase(9)
π sdhci_zynqmp_sdcardclk_set_phase β a Kernel API Manual moment π
okay so bestie, we're in the Kernel API Manual today and this page is literally about sdhci_zynqmp...lk_set_phase(9) β yes the title's got that truncated group-chat nickname energy, iykyk. let's get into it π¦
β¨ NAME β¨
sdhci_zynqmp_sdcardclk_set_phase β Set the SD Output Clock Tap Delays πΈ
β¨ SYNOPSIS β¨
int sdhci_zynqmp_sdcardclk_set_phase (struct clk_hw *hw , int degrees );
β¨ ARGUMENTS β¨
hwβ a pointer to the hardware clock structure, bestie. that's your entry ticket ποΈdegreesβ the clock phase shift, and it lives between0-359. not 360, not negative, we stay in our lane π
β¨ DESCRIPTION β¨
Set the SD Output Clock Tap Delays for the Output path. that's the whole vibe. it's giving precise timing, it's giving clock-tap-delay realness β°β¨
β¨ RETURN β¨
0 on success, and an error value on error π (yes that's it, that's the return section, we keep it iconic and brief π«Ά)
π SEE ALSO π
go read the Kernel file ./drivers/mmc/host/sdhci-of-arasan.c first, no cap, it's the main character π
then the supporting cast, all iconic, all linked:
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_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, read them all. they all ate π₯
ok that's the whole page, bestie β now go set some tap delays π
and a lil sign-off fr fr: this cutie lives over in ./drivers/mmc/host, dated October 2026, and it's sdhci_zynqmp...lk_set_phase(9) forever and always πππ·
π¦ 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