sdhci_versal...lk_set_phase(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

sdhci_versal_sdcardclk_set_phase β€” okay so this is the one that sets the SD Output Clock Tap Delays, bestie πŸ’…

This page lives in the Kernel API Manual, and honestly? It's giving "small function, big responsibilities" ✨


πŸŽ€ SYNOPSIS πŸŽ€

int sdhci_versal_sdcardclk_set_phase (struct clk_hw *hw , int degrees );

πŸ’– ARGUMENTS πŸ’–

  • hw β€” your pointer to the hardware clock structure πŸ•°οΈ literally just hand it over and it knows what to do.
  • degrees β€” the clock phase shift, and it's gotta be between 0 and 359 πŸŒ€ (yes, degrees, like a circle, she's turning the clock, slay).

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it actually does: it sets the SD Output Clock Tap Delays for the Output path 🫢 that's it, that's the whole vibe. Lowkey iconic that it's one line of a description and a whole lot of responsibility.


✨ RETURN ✨

Returns 0 on success, and an error value on error 😭 (ngl, classic β€” you'll know if it didn't eat).


πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file you're gonna wanna peek at is ./drivers/mmc/host/sdhci-of-arasan.c, and then all of these, fr fr:


bestie that's a whole friend group of functions, go say hi to all of them 🧚

and that's the page!! πŸŽ€ written from the ./drivers/mmc/host corner of the world, dated October 2026, in the Kernel API Manual β€” mwah, go set some phases πŸ’œ

πŸ“¦ where this page comes from