sdhci_versal...lk_set_phase(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 range 0 - 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 πŸ‘‘


🫢 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